Infinity (MathObject Class)
Revision as of 15:29, 2 August 2012 by Dpvc (talk | contribs) (moved Infinity (MathObjets Class) to Infinity (MathObjects Class): Fix misspelling in name)
The Infinity Class
- The Infinity class handles the positive infinity of the extended reals. This value can be negated and used in intervals, but can be added to Reals (or other MathObjects) and can't be used as an argument to functions like
sin()
orsqrt()
. In Perl code, you can useInfinity
to obtain this value, or-(Infinity)
to obtain its negation. E.g.,
Context("Numeric"); $Inf = Infinity; $MInf = -(Infinity); $I = Interval("(",0,Infinity,"]"); # easier as Interval("(0,infinity]");