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