Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

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


  • Prev by Date: Re: how to set a global assumption setting Every Varaible I use is Real?
  • Next by Date: Re: ContourPlot3D and mapping
  • Previous by thread: Re: how to set a global assumption setting Every Varaible I use is Real?
  • Next by thread: MemoryInUse[] differs from System report