Click or drag to resize

DVectorCombine Method

Low-level method to linearly combine vectors with weights.

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.7.0+6baf2f2fa1d256420275372aea03344dd79bdd55
Syntax
C#
public 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

DVector
The linear combination of vectors.
Remarks
When weights has one more item than vectors, that first item is used as the constant term.
See Also