On Thu, Feb 11, 2010 at 10:01 AM, John-Michael Fischer <span dir="ltr"><<a href="mailto:fischej@umich.edu">fischej@umich.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This seems like a silly question, but is there a reason I cannot find a function for MatrixElementWiseDivide that would accept two matricies, M1 and M2 and perform element wise division?<br>
<br>
I can go through the process of getting local rows on each proc, doing the element by element division, etc... but it just seems like a perfect candidate for a built-in.<br></blockquote><div><br></div><div>We do not have any Mat element-wise functions, since with sparse matrices this might</div>
<div>be ill-defined with different non-zero patterns, as well as slow since the result might have</div><div>a third nonzero pattern.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks<br>
<font color="#888888">John-Michael Fischer<br>
University of Michigan<br>
Nuclear Engineering and Radiological Sciences</font></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>