Subtracts a vector from a second vector and puts the result into a third vector.

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

Syntax

C#
public static void Subtract(
	DoubleComplexVector u,
	DoubleComplexVector v,
	DoubleComplexVector w
)
Visual Basic (Declaration)
Public Shared Sub Subtract ( _
	u As DoubleComplexVector, _
	v As DoubleComplexVector, _
	w As DoubleComplexVector _
)
Visual C++
public:
static void Subtract(
	DoubleComplexVector^ u, 
	DoubleComplexVector^ v, 
	DoubleComplexVector^ w
)

Remarks

w[i] = u[i] - v[i]

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if the three vectors are not all of the same length.

See Also