DVectorMultiplySubtract(Double, DVector) Method

Optimized vector scaling and subtraction.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public DVector MultiplySubtract(
	double multiplier,
	DVector subtrahend
)

Parameters

multiplier  Double
The multiplier scalar.
subtrahend  DVector
The vector to be subtracted from the multiplication.

Return Value

DVector
C#
this * multiplier - subtrahend

Remarks

The current vector is the multiplicand.

This operation is hardware-accelerated when possible.

See Also