<div class="gmail_quote">On Wed, Apr 20, 2011 at 05:08, Vijay S. Mahadevan <span dir="ltr"><<a href="mailto:vijay.m@gmail.com">vijay.m@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 id=":1t4">Barry, just to confirm, are you saying that MatZeroEntries would<br>
nullify the preallocation completely if called before<br>
AssmeblyBegin/End ?</div></blockquote></div><br><div>I can't think of a way that would happen. It may zero more entries than necessary, but it shouldn't forget the preallocation. Note that the preallocation in DMGetMatrix() and many other libraries actually insert explicit zeros in the locations it has preallocated.</div>