Subtracts a vector from a vector.

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

Syntax

C#
public static FloatVector Subtract(
	FloatVector v,
	FloatVector w
)
Visual Basic (Declaration)
Public Shared Function Subtract ( _
	v As FloatVector, _
	w As FloatVector _
) As FloatVector
Visual C++
public:
static FloatVector^ Subtract(
	FloatVector^ v, 
	FloatVector^ w
)

Return Value

A new vector containing the difference.

Remarks

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

See Also