Click or drag to resize

DoubleCOWeightedLeastSq(DoubleMatrix, DoubleVector) Constructor

Constructs a DoubleCOWeightedLeastSq instance from the given matrix and weights.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleCOWeightedLeastSq(
	DoubleMatrix A,
	DoubleVector weights
)

Parameters

A  DoubleMatrix
A matrix.
weights  DoubleVector
The weights. The solution will minimmize ||(D^-1/2)*(Ax - b)|| where D is a diagonal matrix whose diagonal consists of the weights.
See Also