matrix inverse and multiplication

Manav Bhatia bhatiamanav at
Sat Oct 4 17:58:37 CDT 2008


    I have a problem with two sparse matrices: A and B where I need to  
calculate the following:

C = A^{-1} B

    What is the best way to do this? Is there a better way to do it  
than to calculate the columns of C by a linear solution with  
individual columns of B as rhs vectors?

    Also, is it possible to have a-priori knowledge of sparsity  
pattern of C for two sparse matrices A and B?


More information about the petsc-users mailing list