[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to inverse a sparse matrix in Petsc?
For sequential AIJ matrices you can fill the B matrix with the
identity and then use
MatMatSolve().
Note since the inverse of a sparse matrix is dense the B matrix is
a SeqDense matrix.
Barry
On Feb 4, 2008, at 12:37 AM, Yujie wrote:
Hi,
Now, I want to inverse a sparse matrix. I have browsed the manual,
however, I can't find some information. could you give me some advice?
thanks a lot.
Regards,
Yujie