Click or drag to resize

NMathFunctionsNaNCountIf(IDFColumn, FuncDouble, Boolean) Method

Calculates how many elements in a column return true when a logical function is applied to the elements that are not missing.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static int NaNCountIf(
	IDFColumn data,
	Func<double, bool> function
)

Parameters

data  IDFColumn
A column.
function  FuncDouble, Boolean
A function that takes a double and returns a boolean.

Return Value

Int32
A count.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data does not contain numeric data.
See Also