DVectorCombine2 Method
Low-level method to linearly combine two vectors with weights.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
public static DVector Combine2(
double w1,
double w2,
DVector v1,
DVector v2
)
- 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.
DVectorReturns the linear combination
w1 * v1 + w2 * v2.