| FloatComplexVectorTransform(FuncFloatComplex) Method |
Modifies the elements of this vector by applying the given no-argument function to
each element.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public FloatComplexVector Transform(
Func<FloatComplex> function
)
Public Function Transform (
function As Func(Of FloatComplex)
) As FloatComplexVector
public:
FloatComplexVector^ Transform(
Func<FloatComplex>^ function
)
member Transform :
function : Func<FloatComplex> -> FloatComplexVector
Parameters
- function FuncFloatComplex
- A delegate object representing a function that
takes no parameters and returns a FloatComplex.
Return Value
FloatComplexVectorA reference to self.
Remarks For example:
RandGenMTwist rand = new RandGenMTwist();
FloatComplexVector randVec = new FloatComplexVector( 20, rand );
...
randVec.Transform( new NMathFunctions.FloatComplexFunction( rand.NextFloatComplex );
...
See Also