Hi,

To compute the sparse matrix inverse M^{-1} you would have to use a direct 
solver such as SparseDirectUMFPACK 
<https://dealii.org/9.0.0/doxygen/deal.II/classSparseDirectUMFPACK.html>. If 
this operation (M^{-1})N appears in the context of matrix-vector products, i.e. 
you’re actually computing something like y = (M^{-1})Nx then you could use an 
iterative solver 
<https://dealii.org/9.0.0/doxygen/deal.II/classSolverSelector.html> to invert 
the system My = (Nx) = b. Here you could be computing the solution y = M^{-1}b 
using an iterative method.

I hope that this helps.
Best,
Jean-Paul

> On 14 Nov 2018, at 03:01, FU <fudanyang1...@gmail.com> wrote:
> 
> (M^-1)N,
> M and N are sparse matrix,
> so how to get the inverse of a sparse matrix?
> 
> -- 
> The deal.II project is located at http://www.dealii.org/ 
> <http://www.dealii.org/>
> For mailing list/forum options, see 
> https://groups.google.com/d/forum/dealii?hl=en 
> <https://groups.google.com/d/forum/dealii?hl=en>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dealii+unsubscr...@googlegroups.com 
> <mailto:dealii+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to