MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

force variable to be real

How do you force variables to be real?

I have
                w:=x + I 2 x z,

and want the derivative of y wrt x,    x and z are Real
                D[y, x]
                Re'[x] - 2 z Im'[x z]

where I'd expect  just 1.  Or I need to evaluate Re[w] forcing x and z
to be real, then take the derivative.

Thank you for any help

  • Prev by Date: Re: Mapping and AppendTo
  • Next by Date: ListDensityPlot with Axes, Ticks, TicksStyle
  • Previous by thread: Re: Re: genetic algorithms
  • Next by thread: Re: force variable to be real