| FloatComplexMatrixTransform(FuncFloatComplex) 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 FloatComplexMatrix Transform(
Func<FloatComplex> function
)
Public Function Transform (
function As Func(Of FloatComplex)
) As FloatComplexMatrix
public:
FloatComplexMatrix^ Transform(
Func<FloatComplex>^ function
)
member Transform :
function : Func<FloatComplex> -> FloatComplexMatrix
Parameters
- function FuncFloatComplex
- A delegate object representing a function that
takes no parameters and returns a FloatComplex.
Return Value
FloatComplexMatrixA reference to self.
Remarks For example:
RandGenMTwist rand = new RandGenMTwist();
FloatComplexMatrix randMatrix = new FloatComplexMatrix( 20, 30, rand );
...
randMatrix.Transform( new NMathFunctions.FloatComplexFunction( rand.NextFloatComplex );
...
See Also