| MATLAB® | ![]() |
#include "matrix.h" double mxGetInf(void);
real*8 mxGetInf
The value of infinity on your system.
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
Division by 0. For example, 5/0 returns infinity.
Operations resulting in overflow. For example, exp(10000) returns infinity because the result is too large to be represented on your machine.
See mxgetinf.c in the mx subdirectory of the examples directory.
![]() | mxGetImagData (C and Fortran) | mxGetIr (C and Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |