| DoubleMatrixTransform(FuncDouble, Double) Method |
Modifies the elements of this matrix by applying the given unary function to
each element.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleMatrix Transform(
Func<double, double> function
)
Public Function Transform (
function As Func(Of Double, Double)
) As DoubleMatrix
public:
DoubleMatrix^ Transform(
Func<double, double>^ function
)
member Transform :
function : Func<float, float> -> DoubleMatrix
Parameters
- function FuncDouble, Double
- A delegate object representing a function that
takes a single double parameter and returns a double.
Return Value
DoubleMatrixA reference to self.
Remarks Upon exit, this[i,j]=function(this[i,j]).
See Also