Click or drag to resize

DFIntColumnTransform(FuncInt32, Int32) Method

Modifies the elements of this column by applying the given unary function to each element.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DFIntColumn Transform(
	Func<int, int> function
)

Parameters

function  FuncInt32, Int32
A delegate object representing a function that takes a single int parameter and returns an int.

Return Value

DFIntColumn
A reference to self.
Remarks
Upon exit, this[i] = function(this[i]).
See Also