Click or drag to resize
DigitalRuneVectorFSubtract 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 VectorF Subtract(
	VectorF minuend,
	VectorF subtrahend
)

Parameters

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

Return Value

Type: VectorF
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