Infinity (MathObject 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
sqrt(). Infinity can be created in any Context, though
Numeric context is commonly used.
In Perl code, you can use
Infinity to obtain this value, or
-(Infinity) to obtain its negation. E.g.,
Context("Numeric"); $Inf = Infinity; $MInf = -(Infinity); Context("Interval"); $I = Interval("(",0,Infinity,"]"); # but easier as Interval("(0,infinity]");
As with all MathObjects, you obtain an answer checker for an Infinity object via the
The Infinity class supports the common answer-checker options. There are no additional options.
The Infinity class supports the Common MathObject Methods. There are no additional methods for this class.
The Infinity class supports the Common MathObject Properties, and the following additional ones:
||True when the object represents |