Click or drag to resize

DoubleLeastSquares(DoubleMatrix, DoubleVector) Constructor

Constructs a least squares solution for the given linear system Ax = y.

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

Parameters

A  DoubleMatrix
The matrix.
y  DoubleVector
The right hand side of the linear system.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the number of rows in A is not equal to the length of y.
InvalidArgumentExceptionIf any entries in the matrix are NaN.
See Also