User`s guide

static dou b le GetInf()
Purpose Get value of Inf (infinity )
C++
Syntax
#include "mclcppclass. h"
double x = mwArray::GetInf();
Arguments None
Return
Value
The value of Inf (in f in ity) on y ou r system.
Description Call mwArray::G etInf to return the value of the MATLAB internal Inf
variable. Inf is a permanent variable representing IEEE arithmetic
positive infinity. The value of
Inf is built into the system; you cannot
modify it.
Operations that return
Inf include
Division by 0. For example, 5/0 returns
Inf.
Operations resulting in overfl ow. For example,
exp(10000) returns
Inf because the result is too large to be represented on your machine.
C-91