| DFIntColumnApply(String, FuncInt32, Boolean) Method |
Returns a new 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DFIntColumn Apply(
string name,
Func<int, bool> function
)
Public Function Apply (
name As String,
function As Func(Of Integer, Boolean)
) As DFIntColumn
public:
DFIntColumn^ Apply(
String^ name,
Func<int, bool>^ function
)
member Apply :
name : string *
function : Func<int, bool> -> DFIntColumn
Parameters
- name String
-
Name for the new column.
- function FuncInt32, Boolean
-
A delegate object representing a function that takes a single int
parameter and returns a bool.
Return Value
DFIntColumn
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