Click or drag to resize

NMathFunctionsIf(Int32, FuncInt32, Boolean) Method

Creates an array of boolean values determined by applying a logical function to the elements of an array.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static bool[] If(
	int[] data,
	Func<int, bool> function
)

Parameters

data  Int32
An array of integers.
function  FuncInt32, Boolean
A function that takes an integer and returns a boolean.

Return Value

Boolean
A boolean array.
See Also