[petsc-users] a simple question

Abhyankar, Shrirang G. abhyshr at mcs.anl.gov
Tue Dec 9 11:02:16 CST 2014


http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecPointwiseDivide.html

From: paul zhang <paulhuaizhang at gmail.com<mailto:paulhuaizhang at gmail.com>>
Date: Tue, 9 Dec 2014 11:47:09 -0500
To: PETSc users list <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>>
Subject: [petsc-users] a simple question

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/4b8829fc/attachment.html>


More information about the petsc-users mailing list