Click or drag to resize

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.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static bool[] If(
	IDFColumn data,
	Func<int, bool> function
)

Parameters

data  IDFColumn
A column.
function  FuncInt32, Boolean
A function that takes an integer and returns a boolean.

Return Value

Boolean
A boolean array.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data is not a DFIntColumn or cannot be converted to integers.
See Also