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

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void Transform(
	NMathFunctions..::.DoubleUnaryFunction function
)
Visual Basic (Declaration)
Public Sub Transform ( _
	function As NMathFunctions..::.DoubleUnaryFunction _
)
Visual C++
public:
void Transform(
	NMathFunctions..::.DoubleUnaryFunction^ function
)

Parameters

function
Type: CenterSpace.NMath.Core..::.NMathFunctions..::.DoubleUnaryFunction
A delegate object representing a function that takes a single float parameter and returns a float.

Remarks

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

See Also