| FloatComplexMatrixApply(FuncFloatComplex, FloatComplex, FloatComplex, FloatComplex) Method |
Returns a new matrix with the same size as this matrix, whose values are
the result of applying the given binary function to each element of this matrix.
The first parameter to the binary function is the matrix element; the second
parameter is the passed FloatComplex value.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatComplexMatrix Apply(
Func<FloatComplex, FloatComplex, FloatComplex> function,
FloatComplex x
)
Public Function Apply (
function As Func(Of FloatComplex, FloatComplex, FloatComplex),
x As FloatComplex
) As FloatComplexMatrix
public:
FloatComplexMatrix^ Apply(
Func<FloatComplex, FloatComplex, FloatComplex>^ function,
FloatComplex x
)
member Apply :
function : Func<FloatComplex, FloatComplex, FloatComplex> *
x : FloatComplex -> FloatComplexMatrix
Parameters
- function FuncFloatComplex, FloatComplex, FloatComplex
-
A delegate object representing a function that
takes two FloatComplex parameters and returns a FloatComplex.
- x FloatComplex
- The second parameter to the function.
Return Value
FloatComplexMatrixA matrix
B with the same size as self and with
B[i,j]=function(this[i,j],x).
See Also