On Sun, Mar 18, 2012 at 6:52 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</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">
<div class="gmail_quote">On Sun, Mar 18, 2012 at 18:45, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>No, I don't want the nonzeros removed, I want the values set to zero, exactly like I said. This is for robustly checking</div><div>that a matrix created in parallel is the same as one made on a different number of processors. Something I do for ex62,</div>


<div>but we obviously do not give a shit about doing.</div></blockquote></div><br><div>What? Why not do a MatGetRedundantMatrix() on the parallel thing and compute a norm of the difference to the serial thing?</div></blockquote>
<div><br></div><div>That has nothing to do with anything we are talking about.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>And if you really want to stay parallel and print all the non-small values, MatDuplicate and fill up the new matrix with the thresholded values.</div>
</blockquote><div><br></div><div>Neither does this.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Note, there was a request a while back to be able to make an ASCII viewer use a user-defined floating-point format string.</div>

</blockquote></div><div><br></div><div>That would not help. For a small number, you do not want ANY significant digits.</div><br>    Matt<br clear="all"><div><br></div>-- <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>