MATLAB Compiler Previous page   Next Page

static double GetEps()

Get value of eps.

C++ syntax

Arguments

None

Return value

The value of the MATLAB eps variable.

Description

Call mwArray::GetEps to return the value of the MATLAB eps variable. This variable is the distance from 1.0 to the next largest floating-point number. Consequently, it is a measure of floating-point accuracy. The MATLAB pinv and rank functions use eps as a default tolerance.


Previous page  static double GetNaN() static double GetInf() Next page

© 1994-2005 The MathWorks, Inc.