Hi all,<br><br> How should I use Petsc to solve a sparse under-determined system? Basically, I need a quick solution to solve<br>Ax=b, where is A is a sparse (possibly nonsymmetric) matrix of size m x n, where m<n. The solution I need to find is to minimize |x|^2.<br>
<br> I know SPQR(<a href="http://www.cise.ufl.edu/research/sparse/SPQR/">http://www.cise.ufl.edu/research/sparse/SPQR/</a>) can do this. But if Petsc has some functions or<br>wrappers, it will be great to stick with Petsc.<br>
<br>Thanks,<br>Mengda<br>