ILNumerics Ultimate VS

ILMathisnan Method (BaseArraySingle)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Checks for elements which are not a number (NaN).

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetLogical isnan(
	BaseArray<float> A
)

Parameters

A
Type: ILNumericsBaseArraySingle
Input array.

Return Value

Type: RetLogical
Logical array of the same size as A with 'true' element where elements in A are NaN.
Remarks

The operation is efficiently performed on all elements of the input array A.

The storage order of the array returned depends on the order of A. If A.IsContinuous is true the array returned will have the same StorageOrder as A. Otherwise, the elements of the returned array will be reordered in the order defined by DefaultStorageOrder (default: ColumnMajor).

The operation is performed in multiple threads, according to the current settings of MaxNumberThreads.

The input array A is not altered.

Handling NaN elements The functions isfinite(BaseArraySingle), isinf(BaseArraySingle), isposinf(BaseArraySingle) and isneginf(BaseArraySingle) return false for NaN (not a number) special floating point value elements.

[ILNumerics Computing Engine]

See Also

Reference