Low-level method to linearly combine vectors with weights.
Namespace: Austra.LibraryAssembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+892c66cd78254e5a7ad663c063da400b3042cf5b
Syntaxpublic static DVector Combine(
DVector weights,
params DVector[] vectors
)
Parameters
- weights DVector
- The weights for each vector.
- vectors DVector
- Vectors to be linearly combined.
Return Value
DVectorThe linear combination of vectors.
Remarks
When weights has one more item than vectors,
that first item is used as the constant term.
See Also