That is it.

Thanks,
Paul



On Tue, Dec 9, 2014 at 12:02 PM, Abhyankar, Shrirang G. <[email protected]
> wrote:

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

Reply via email to