Click or drag to resize

DoubleSVDLeastSqSolve Method

Computes the solution to the least squares problem Ax = b.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleVector Solve(
	DoubleVector b
)

Parameters

b  DoubleVector
The right-hand side of the equation.

Return Value

DoubleVector
The solution x that minimizes the 2-norm of the residual vector Ax - b.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the length of the vector b is not equal to the number of rows.
SingularMatrixExceptionThrown if the matrix does not have full rank.
See Also