MathGroup Archive 2006

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

Search the Archive

Re: Define new constant as Pi is

In article <e1vf0p$9do$1 at>, suchaneck <greenux at> 

> I'm programming a package for Max-Plus Algebra, where the constant
> \[Epsilon} is the same as -\[Infinity]. I want Mathematica to operate with
> it, like it does with Pi. While calculating a function it knows that the
> Symbol Pi is 3.14..., but within the Output Pi is kept as Symbol. I want
> the same for \[Epsilon}. Does anybody knows a solution for that? Thanks.

If you define

  N[\[Epsilon]] := -Infinity

then if you enter

  (\[Epsilon] + 3)^2 - \[Epsilon]

the output is not evaluated. Then apply N.



Paul Abbott                                      Phone:  61 8 6488 2734
School of Physics, M013                            Fax: +61 8 6488 1014
The University of Western Australia         (CRICOS Provider No 00126G)    

  • Prev by Date: Re: Problem with limiits
  • Next by Date: Re: Problem with limiits
  • Previous by thread: Define new constant as Pi is
  • Next by thread: Initial conditions for DAE