| NMathFunctionsNaNIf(Double, FuncDouble, Boolean) Method |
Creates an array of boolean values determined by applying a logical function
to the elements of an array that are not NaN.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static bool[] NaNIf(
double[] data,
Func<double, bool> function
)
Public Shared Function NaNIf (
data As Double(),
function As Func(Of Double, Boolean)
) As Boolean()
public:
static array<bool>^ NaNIf(
array<double>^ data,
Func<double, bool>^ function
)
static member NaNIf :
data : float[] *
function : Func<float, bool> -> bool[]
Parameters
- data Double
- An array of doubles.
- function FuncDouble, Boolean
- A function that takes a double and returns a boolean.
Return Value
BooleanA boolean array.
See Also