  | NMathFunctionsIf(Double, FuncDouble, Boolean) Method | 
            Creates an array of boolean values determined by applying a logical function
            to the elements of an array.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic static bool[] If(
	double[] data,
	Func<double, bool> function
)
Public Shared Function If ( 
	data As Double(),
	function As Func(Of Double, Boolean)
) As Boolean()
public:
static array<bool>^ If(
	array<double>^ data, 
	Func<double, bool>^ function
)
static member If : 
        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