CVectorMultiplySubtract Method

Optimized vector scaling and subtraction.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
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