Re: defining variables as Real
- To: mathgroup at smc.vnet.net
- Subject: [mg52873] Re: defining variables as Real
- From: "Drago Ganic" <drago.ganic at in2.hr>
- Date: Wed, 15 Dec 2004 04:27:04 -0500 (EST)
- References: <cpjom6$nf1$1@smc.vnet.net> <cpmik0$ofv$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Isn't that package now depreciated (because we now have the assumption mechanism)? It's interesting that it's still shipped with the production release. drago "Scout" <user at domain.com> wrote in message news:cpmik0$ofv$1 at smc.vnet.net... > "symbio" <symbio at has.com> ha scritto nel messaggio > news:cpjom6$nf1$1 at smc.vnet.net... >> Is there anyway in Mathematica to define a variable as say Real or >> Imaginary >> or greater than zero, etc.. in the very beginning of all calculations and >> keep it that way throughout, instead of having to use simplify with >> assumptions each time? >> > > Loading the package <<Algebra`ReIm` > you can declare any symbol to have an imaginary or a real part of zero > for a real or imaginary number rispectively. > i.e. x /: Im[x] = 0 declares the symbol x that is now treated as a real > number. > Is that ? > > ~Scout~ >
- Follow-Ups:
- Re: Re: defining variables as Real
- From: "Pratik Desai" <pdesai1@umbc.edu>
- Re: Re: defining variables as Real