Real positive infinity
This functionality does not run in MATLAB.
infinity represents the infinite point on the positive real semi-axis.
infinity is an element of the domain stdlib::Infinity. It may be used in arithmetical operations. Some system functions accept infinity as a parameter or return it as a result.
infinity can be used in arithmetical operations with real numbers:
7*infinity + 3, -3.0*infinity, 1/infinity, infinity*infinity, infinity^2, sqrt(infinity)
Arithmetic with complex numbers or symbolic objects yields symbolic expressions:
I*infinity + b
The arithmetic responds to properties:
assume(a > 0): a*infinity
assume(a < 0): a*infinity
Cancellation of infinities yields undefined:
infinity - infinity, infinity/infinity
Some system functions accept infinity as a parameter or return it as result:
exp(infinity), sum(1/n, n = 1..infinity), int(exp(-x^2), x = -infinity..infinity), limit(x, x = infinity)