http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecPointwiseDivide.html
From: paul zhang <[email protected]<mailto:[email protected]>> Date: Tue, 9 Dec 2014 11:47:09 -0500 To: PETSc users list <[email protected]<mailto:[email protected]>> 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
