CVectorMultiplySubtract Method

Optimized vector scaling and subtraction.

Definition

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

Parameters

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

Return Value

CVector
C#
this * multiplier - subtrahend

Remarks

The current vector is the multiplicand.

This operation is hardware-accelerated when possible.

See Also