Re: how to set a global assumption setting Every Varaible I use is Real?
- To: mathgroup at smc.vnet.net
- Subject: [mg55098] Re: [mg55056] how to set a global assumption setting Every Varaible I use is Real?
- From: Chris Chiasson <chris.chiasson at gmail.com>
- Date: Sat, 12 Mar 2005 02:36:46 -0500 (EST)
- References: <200503110920.EAA02123@smc.vnet.net>
- Reply-to: Chris Chiasson <chris.chiasson at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
I forgot, you should look at the real only package, under miscellaneous. Needs["Miscellaneous`RealOnly`"] On Fri, 11 Mar 2005 09:13:31 -0500, Chris Chiasson <chris.chiasson at gmail.com> wrote: > you could set up a pattern that fits every symbol in the global > context and say that all variables fitting the pattern are elements of > the real numbers > > you could assign that statement to a variable in another context and > redefine whatever functions you want to take the assumption into > account (probably simplify and full simplify) > > > On Fri, 11 Mar 2005 04:20:31 -0500 (EST), foice > <foice@n0nspammar&tiscali.it> wrote: > > i'm dealing with simple trig funcions, Sin[], Cos[] and so on ... > > 'm also using Conjugate and my expressions are full of > > Cos[a]* > > Now if a is real there's no risk to have Complex number. > > I have may variables, and I would like to avoid a redefinition of > > $Assuming where I have to list every varaible I use. I prefer, if > > exists, somethig like: > > "Dear Mathematica 5.1, > > every variable I use is Real, wathever its name is ... > > If I'll need complex number I'll use :ii: to enter the imaginary unit. > > See you at next calculation. > > Regards > > Your faithfull User." > > > > Is it possible? > > > > > > -- > Chris Chiasson > Kettering University > Mechanical Engineering > Graduate Student > 1 810 265 3161 > -- Chris Chiasson Kettering University Mechanical Engineering Graduate Student 1 810 265 3161
- References:
- how to set a global assumption setting Every Varaible I use is Real?
- From: foice <foice@N0NSPAMMAR&tiscali.it>
- how to set a global assumption setting Every Varaible I use is Real?