Calculates the number of a given vector's elements that are not equal to NaN.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static float NaNCount(
	FloatVector v
)
Visual Basic (Declaration)
Public Shared Function NaNCount ( _
	v As FloatVector _
) As Single
Visual C++
public:
static float NaNCount(
	FloatVector^ v
)

Parameters

v
Type: CenterSpace.NMath.Core..::.FloatVector
A vector.

Return Value

The number of elements in v that are not NaN.

See Also