Modifies the elements of this matrix by applying the given unary function to
each element.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public FloatMatrix Transform( NMathFunctions..::.FloatUnaryFunction function ) |
| Visual Basic (Declaration) |
|---|
Public Function Transform ( _ function As NMathFunctions..::.FloatUnaryFunction _ ) As FloatMatrix |
| Visual C++ |
|---|
public: FloatMatrix^ Transform( NMathFunctions..::.FloatUnaryFunction^ function ) |
Parameters
- function
- Type: CenterSpace.NMath.Core..::.NMathFunctions..::.FloatUnaryFunction
A delegate object representing a function that takes a single float parameter and returns a float.
Return Value
A reference to self.
Remarks
Upon exit, this[i,j]=function(this[i,j]).