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 the vector element; the second parameter is the passed FloatComplex value.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public FloatComplexVector Apply(
	NMathFunctions..::.FloatComplexBinaryFunction function,
	FloatComplex x
)
Visual Basic (Declaration)
Public Function Apply ( _
	function As NMathFunctions..::.FloatComplexBinaryFunction, _
	x As FloatComplex _
) As FloatComplexVector
Visual C++
public:
FloatComplexVector^ Apply(
	NMathFunctions..::.FloatComplexBinaryFunction^ function, 
	FloatComplex x
)

Parameters

function
Type: CenterSpace.NMath.Core..::.NMathFunctions..::.FloatComplexBinaryFunction
A delegate object representing a function that takes two FloatComplex parameters and returns a FloatComplex.
x
Type: CenterSpace.NMath.Core..::.FloatComplex
The second parameter to the function.

Return Value

A vector with the same size as self and with u[i] = function( this[i], x )

See Also