Low-level method to linearly combine two vectors with weights.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+e1037fa8802b3ff162e26559d763b73334940b70
Syntaxpublic 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
DVectorReturns the linear combination
w1 * v1 + w2 * v2.
Remarks
See Also