| NMathFunctionsNaNCountIf(Double, FuncDouble, Boolean) Method |
Calculates how many elements in an array return true when a logical function is applied
to the elements that are not NaN.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static int NaNCountIf(
double[] data,
Func<double, bool> function
)
Public Shared Function NaNCountIf (
data As Double(),
function As Func(Of Double, Boolean)
) As Integer
public:
static int NaNCountIf(
array<double>^ data,
Func<double, bool>^ function
)
static member NaNCountIf :
data : float[] *
function : Func<float, bool> -> int
Parameters
- data Double
- An array of doubles.
- function FuncDouble, Boolean
- A function that takes a double and returns a boolean.
Return Value
Int32A count.
See Also