MathGroup Archive 2002

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

Search the Archive

Re: real variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32277] Re: real variable
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Wed, 9 Jan 2002 23:37:55 -0500 (EST)
  • References: <a1gu9k$mu8$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Nikolay,

    <<Algebra`ReIm`

    x/:Im[x]=0; (*note: this rule is tagged by x, not by m -- see TagSet*)

    Conjugate[x]

        x

    Re[x+I*x]

        x

--
Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565


"Nikolay Andreev" <andreev at mccme.ru> wrote in message
news:a1gu9k$mu8$1 at smc.vnet.net...
> Dear Mathgroup!
>
> How could one explain to Mathematica that variable x will be real during
> all the session, so if somewhere appear Conjugate[x] then this must be x,
> and Re[x+I*x] is x?
>
> Thank you,
> Nikolay
> ------------------------------------------------
> Nikolay N. Andreev
> Russia, 117966, GSP-1, Moscow, Gubkina 8.
> Steklov Institute of Mathematics
> Dep. of Function Theory
> E-mail: andreev at mccme.ru
> Home page: http://www.mi.ras.ru/~andreev
> ------------------------------------------------
>
>
>




  • Prev by Date: Re: Tick marks at frame edges
  • Next by Date: Re: Plot2D: How to attach names to plotted functions
  • Previous by thread: RE: real variable
  • Next by thread: Closing a dialogue box with Mathematica