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