[petsc-users] a simple question

paul zhang paulhuaizhang at gmail.com
Tue Dec 9 11:03:41 CST 2014


That is it.

Thanks,
Paul



On Tue, Dec 9, 2014 at 12:02 PM, Abhyankar, Shrirang G. <abhyshr at mcs.anl.gov
> wrote:

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


More information about the petsc-users mailing list