[petsc-users] a simple question

paul zhang paulhuaizhang at gmail.com
Tue Dec 9 10:47:09 CST 2014


Hello,

I attempted to compute  D x= b, where D is the diagonal vector of a matrix
A, and b is the right hand side. so x=D^{-1} b.  I was wondering if there
is a function of vector that can directly compute b/D, or I have to do
something else?


Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141209/4de544ad/attachment.html>


More information about the petsc-users mailing list