TMtx::ReplaceNAN Method

Overload List

#SignatureDescription
1TMtxVec *ReplaceNAN(const double Value);Replaces all NAN values with Value.
2TMtxVec *ReplaceNAN(const double Value, int Index, int Len);Replaces all NAN values with Value within calling object elements [Index]..[Index+Len-1].

Overload 1: TMtxVec *ReplaceNAN(const double Value);

Replaces all NAN values with Value.

#NameTypeDescription
1Valueconst double
Remarks:

The function will replace all occurences of NAN. If the vector is complex, it will replace any real/imag parts, which are NAN.

Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *ReplaceNAN(const double Value, int Index, int Len);

Replaces all NAN values with Value within calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Valueconst double
2Indexint
3Lenint
Remarks:

The function will replace all occurences of NAN. If the vector is complex, it will replace any real/imag parts, which are NAN. An exception is raised, if array borders are overrun.

Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler