Click or drag to resize

DFIntColumnApply(String, FuncDouble, Boolean) Method

Returns a new numeric column with the given name and size containing the items in this column that evaluate to true using the given logical function.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DFNumericColumn Apply(
	string name,
	Func<double, bool> function
)

Parameters

name  String
Name for the new column.
function  FuncDouble, Boolean
A delegate object representing a function that takes a single double parameter and returns a bool.

Return Value

DFNumericColumn
A new column with the given name containing the items in this column that evaluate to true using the given logical function.
Remarks
For example, if you apply a function that returns true if a number is greater than two to a column containing 1, 3, 4, 5, 3, 2, 4, a new column containing 3, 4, 5, 3, 4 is returned.
See Also