Click or drag to resize

DoubleComplexSVDLeastSqSolve Method

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

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

Parameters

b
Type: CenterSpace.NMath.CoreDoubleComplexVector
The right-hand side of the equation.

Return Value

Type: DoubleComplexVector
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