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+892c66cd78254e5a7ad663c063da400b3042cf5b
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