Returns a new matrix with the same size as this matrix, whose values are
the result of applying the given unary function to each element of this matrix.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleMatrix Apply( NMathFunctions..::.DoubleUnaryFunction function ) |
| Visual Basic (Declaration) |
|---|
Public Function Apply ( _ function As NMathFunctions..::.DoubleUnaryFunction _ ) As DoubleMatrix |
| Visual C++ |
|---|
public: DoubleMatrix^ Apply( NMathFunctions..::.DoubleUnaryFunction^ function ) |
Parameters
- function
- Type: CenterSpace.NMath.Core..::.NMathFunctions..::.DoubleUnaryFunction
A delegate object representing a function that takes a single double parameter and returns a double.