
A2.5 Ox exported mathematics functions 69
vU[cU] out: random values
mX[cX][cX] out: random values
SetFastMath
void SetFastMath(bool fYes);
fYes in: TRUE: switches Fastmath mode on, else switches it off
Description
When FastMath is active, memory is used to optimize some matrix operations.
FastMath mode uses memory to achieve the speed improvements. The following
function are FastMath enhanced: MatBtB, MatBtBVec
SetInvertEps
void SetInvertEps(double dEps);
dEps in: sets inversion epsilon
inv
to dEps if dEps ≥ 0,elsetothe
default.
Description
The following functions return singular status if the pivoting element is less
than or equal to
inv
: ILDLdec, ILUPdec, ILDLbandDec, IOrthMGS.Lessthan
10
inv
is used by IOlsQR.
A singular value is considered zero when less than ||A||
∞
10
inv
in
MatGenInvert.
The default value for
inv
is 1000 × DBL EPSILON.
SetInf, SetNaN
void SetInf(double *pd);
void SetNaN(double *pd);
*pd out: set value
Description
Sets the argument to infinity (.Inf) or not-a-number (.NaN).
SortVec, SortMatCol, SortmXtByVec, SortmXByCol
int SortVec(VECTOR vX, int cT);
int SortMatCol(MATRIX mX, int iCol, int cT);
int SortmXtByVec(int cT, VECTOR vBy, MATRIX mXt, int cX);
int SortmXByCol(int iCol, MATRIX mX, int cT, int cX);
Commentaires sur ces manuels