Thank you very much for your reply.

I probably understand the methods you mentioned, but there is no 
multiplication vector behind the sparse matrix of the solution I asked for.

A=M- (N^T) (M^-1) N,

This is the construction equation of the original sparse matrix.

A is the sparse matrix that I want to get in the end, where N and M are 
sparse matrices.

What else can you do to solve this problem?

Thank you

FU在 2018年11月14日星期三 UTC+8下午2:32:03,Jean-Paul Pelteret写道:
>
> 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 <fudany...@gmail.com <javascript:>> 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/
> 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+un...@googlegroups.com <javascript:>.
> For more options, visit 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