[petsc-users] how to compute a projection space

Alp Kalpalp alpkalpalp at gmail.com
Thu Apr 23 15:19:10 CDT 2015


Hi,

I need to compute the following in petsc;

P = I -(Z * inv(Z'*A*Z) * Z'

What is the best way to compute this?

I am planing to use MatPtAP in order to compute the expression inside of
the inverse. And then use
MatMatSolve instead of inv and comtinue with MatMatMult and use MatShift
finally.

Any suggestions or comments are welcome..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150423/c569ae1d/attachment-0001.html>


More information about the petsc-users mailing list