On Sun, Apr 24, 2011 at 18:22, Xiangdong Liang <xdliang at gmail.com> wrote:

> I am wondering what function in petsc computes the pointwise product of two
> vectors. For example, vin1=[1,2], vin2=[3,4]; I need a function to output
> vout= vin1.*vin2 = [3,8].


http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/Vec/VecPointwiseMult.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110424/74014659/attachment.htm>

Reply via email to