<div dir="ltr">Just call the appropriate preallocation routine. It can't very well be done in-place because the data structure gets repacked in Assembly.<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 22, 2013 at 6:54 PM, John Fettig <span dir="ltr"><<a href="mailto:john.fettig@gmail.com" target="_blank">john.fettig@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is it possible to reset a matrix to the state it was in before any values were set?  I.e. removing all nonzero structure as well as values and returning it to just a pre-allocated state?<br>
<br>Regards,<br>John<br><br>
</blockquote></div><br></div></div>