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.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public static int NaNCountIf( double[] data, StatsFunctions..::.LogicalDoubleFunction function ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function NaNCountIf ( _ data As Double(), _ function As StatsFunctions..::.LogicalDoubleFunction _ ) As Integer |
| Visual C++ |
|---|
public: static int NaNCountIf( array<double>^ data, StatsFunctions..::.LogicalDoubleFunction^ function ) |
Parameters
- data
- Type: array<
System..::.Double
>[]()[]
An array of doubles.
- function
- Type: CenterSpace.NMath.Stats..::.StatsFunctions..::.LogicalDoubleFunction
A function that takes a double and returns a boolean.