Click or drag to resize

FloatMatrixTransform(FuncSingle, Single) Method

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

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

Parameters

function  FuncSingle, Single
A delegate object representing a function that takes a single float parameter and returns a float.

Return Value

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