Function lupnt::SolveLinearEqSVD(const MatXd&, const MatXd&)

Function Documentation

MatXd lupnt::SolveLinearEqSVD(const MatXd &A, const MatXd &B)

Matrix-right-hand-side overload of SolveLinearEqSVD: solves A*X = B column-by-column via the SVD of A.

Parameters:
  • A – Coefficient matrix

  • B – Right-hand-side matrix

Returns:

Least-squares (minimum-norm) solution X