Re: Re: defining variables as Real
- To: mathgroup at smc.vnet.net
- Subject: [mg52897] Re: [mg52873] Re: defining variables as Real
- From: "Pratik Desai" <pdesai1 at umbc.edu>
- Date: Thu, 16 Dec 2004 03:40:32 -0500 (EST)
- References: <cpjom6$nf1$1@smc.vnet.net> <cpmik0$ofv$1@smc.vnet.net> <200412150927.EAA10685@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
I have been using this to define complex variables, although the forum does not quite like the syntax. TagSet[a, Im[a], 0]; TagSet[b, Im[b], 0]; TagSet[a, Re[a], a]; TagSet[b, Re[b], b]; lamda = a + I*b; ----- Original Message ----- From: "Drago Ganic" <drago.ganic at in2.hr> To: mathgroup at smc.vnet.net Subject: [mg52897] [mg52873] Re: defining variables as Real > 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~ >> > >
- References:
- Re: defining variables as Real
- From: "Drago Ganic" <drago.ganic@in2.hr>
- Re: defining variables as Real