| DoubleComplexMatrixTransform(FuncDoubleComplex) Method |
Modifies the elements of this matrix by applying the given no-argument function to
each element.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleComplexMatrix Transform(
Func<DoubleComplex> function
)
Public Function Transform (
function As Func(Of DoubleComplex)
) As DoubleComplexMatrix
public:
DoubleComplexMatrix^ Transform(
Func<DoubleComplex>^ function
)
member Transform :
function : Func<DoubleComplex> -> DoubleComplexMatrix
Parameters
- function FuncDoubleComplex
- A delegate object representing a function that
takes no parameters and returns a DoubleComplex.
Return Value
DoubleComplexMatrixA reference to self.
Remarks For example:
RandGenMTwist rand = new RandGenMTwist();
DoubleComplexMatrix randMatrix = new DoubleComplexMatrix( 20, 30, rand );
...
randMatrix.Transform( new NMathFunctions.DoubleComplexFunction( rand.NextDoubleComplex );
...
See Also