- HasNan
- Transpose
- TriL
- TriU
- Diag
- Row
- Col
- Copy
- Compare
- CompareByDigits
- Flat
- Clip
- Reshape
- Resize
- Set
- SwapRows
- SwapCols
- Split
- Hsplit
- Vsplit
- ArgSort
- Sort
HasNan
Return the number of NaN values in a matrix/vector.
ulong vector::HasNan();
|
Return Value
The number of matrix/vector elements that contain a NaN value.
Note
When comparing the appropriate pair of elements having NaN values, the Compare and CompareByDigits methods consider these elements equal, while in case of a usual comparison of floating-point numbers NaN != NaN.
Example:
void OnStart(void)
|
See also
MathClassify, Compare, CompareByDigits