Click or drag to resize

DVectorCombine2 Method

Low-level method to linearly combine two vectors with weights.

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+e1037fa8802b3ff162e26559d763b73334940b70
Syntax
C#
public static DVector Combine2(
	double w1,
	double w2,
	DVector v1,
	DVector v2
)

Parameters

w1  Double
Weight for the first vector.
w2  Double
Weight for the second vector.
v1  DVector
First vector in the linear combination.
v2  DVector
Second vector in the linear combination.

Return Value

DVector
Returns the linear combination w1 * v1 + w2 * v2.
Remarks
This method is a frequent special case of the more general Combine(DVector, DVector).
See Also