Modifies the contents of this column by applying the given binary function to each element. The first parameter to the binary function is an element of self; the second parameter is the corresponding element of the passed vector.

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

Syntax

C#
public DFNumericColumn Transform(
	NMathFunctions..::.DoubleBinaryFunction function,
	DoubleVector v
)
Visual Basic (Declaration)
Public Function Transform ( _
	function As NMathFunctions..::.DoubleBinaryFunction, _
	v As DoubleVector _
) As DFNumericColumn
Visual C++
public:
DFNumericColumn^ Transform(
	NMathFunctions..::.DoubleBinaryFunction^ function, 
	DoubleVector^ v
)

Parameters

function
Type: CenterSpace.NMath.Core..::.NMathFunctions..::.DoubleBinaryFunction
A delegate object representing a function that takes two double parameters and returns a double.
v
Type: CenterSpace.NMath.Core..::.DoubleVector
A vector of parameters to function.

Return Value

A reference to self.

Remarks

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

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if the passed vector is not the same length as this column.

See Also