Click or drag to resize
DigitalRuneVectorDSubtract Method
Subtracts a vector from a vector.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static VectorD Subtract(
	VectorD minuend,
	VectorD subtrahend
)

Parameters

minuend
Type: DigitalRune.Mathematics.AlgebraVectorD
The first vector (minuend).
subtrahend
Type: DigitalRune.Mathematics.AlgebraVectorD
The second vector (subtrahend).

Return Value

Type: VectorD
The difference of the two vectors.
Exceptions
ExceptionCondition
ArgumentNullExceptionminuend or subtrahend is .
ArgumentException The numbers of elements of the two vectors do not match.
See Also