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

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public DFIntColumn Transform(
	NMathFunctions..::.IntUnaryFunction function
)
Visual Basic (Declaration)
Public Function Transform ( _
	function As NMathFunctions..::.IntUnaryFunction _
) As DFIntColumn
Visual C++
public:
DFIntColumn^ Transform(
	NMathFunctions..::.IntUnaryFunction^ function
)

Parameters

function
Type: CenterSpace.NMath.Core..::.NMathFunctions..::.IntUnaryFunction
A delegate object representing a function that takes a single int parameter and returns an int.

Return Value

A reference to self.

Remarks

Upon exit, this[i] = function(this[i]).

See Also