MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
mxGetInf    Examples   See Also

Get the value of infinity

C Syntax

Returns

The value of infinity on your system.

Description

Call mxGetInf 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 infinity include

Example

See mxgetinf.c in the mx subdirectory of the examples directory.

See Also

mxGetEps, mxGetNaN



[ Previous | Help Desk | Next ]