<pre>PetscErrorCode  VecPointwiseMult(Vec w, Vec x,Vec y)</pre><br><br><div class="gmail_quote">On Jan 7, 2008 9:21 PM, li pan &lt;<a href="mailto:li76pan@yahoo.com">li76pan@yahoo.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br>I want to calculate component product of two vectors.<br>If I have two vectors u and v, I want to have result<br>as w(i) = u(i)*v(i). Is there a function in petsc to<br>finish this job?<br><br>thanx<br><font color="#888888">
<br>pan<br></font><div class="WgoR0d"><br><br> &nbsp; &nbsp; &nbsp;____________________________________________________________________________________<br>Looking for last minute shopping deals?<br>Find them fast with Yahoo! Search. &nbsp;<a href="http://tools.search.yahoo.com/newsearch/category.php?category=shopping" target="_blank">
http://tools.search.yahoo.com/newsearch/category.php?category=shopping</a><br><br></div></blockquote></div><br>