Calculates the sum of the elements in the given data set that are not NaN.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public static double NaNSum(
	double[] data
)
Visual Basic (Declaration)
Public Shared Function NaNSum ( _
	data As Double() _
) As Double
Visual C++
public:
static double NaNSum(
	array<double>^ data
)

Parameters

data
Type: array< System..::.Double >[]()[]
An array of doubles.

Return Value

Sum.

See Also