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