MathGroup Archive 2002

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

Search the Archive

RE: real variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32267] RE: [mg32227] real variable
  • From: "Florian Jaccard" <jaccardf at eicn.ch>
  • Date: Wed, 9 Jan 2002 23:37:24 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello !

You can for example do this :

In[1]:=
<<Algebra`ReIm`

In[2]:=
x/:Im[x]=0;

In[3]:=
Conjugate[x]

Out[3]=
x

In[4]:=
Re[x+I x]

Out[4]=
x

Meilleures salutations

Florian Jaccard
EICN-HES
e-mail : jaccardf at eicn.ch


-----Message d'origine-----
De : Nikolay Andreev [mailto:andreev at mccme.ru]
Envoyé : mer., 9. janvier 2002 09:17
À : mathgroup at smc.vnet.net
Objet : [mg32227] real variable


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: Update for MathSource/Stein's mathematica toolbox for Matlab?
  • Previous by thread: Re: real variable
  • Next by thread: Re: real variable