[petsc-users] point-wise vector product
Jed Brown
jed at 59A2.org
Sun Apr 24 11:24:06 CDT 2011
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>
More information about the petsc-users
mailing list