<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Aug 6, 2015 at 4:16 PM, Juris Vencels <span dir="ltr"><<a href="mailto:juris.vencels@gmail.com" target="_blank">juris.vencels@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Users,<br>
<br>
<br>
When I construct analytical Jacobian matrix it has many small values of order 1E-16.<br>
<br>
How can I remove these values that are less than a given tolerance, let's say 1E-10?<br>
<br>
I tried to use MatChop together with MatCopy and MatDuplicate, but none of these functions ignores zeros.<br></blockquote><div><br></div><div>Do you mean that you want to change the sparsity pattern? We do not have a function which does this. It would</div><div>require a copy to regain the lost memory, and its not normally worth the trouble.</div><div><br></div><div>Do you have some data or a model that tells you its worth it in your case? This is a question I</div><div>always ask myself before programming.</div><div><br></div><div>  Thanks,</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!</blockquote></div>-- <br><div class="gmail_signature">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</div>
</div></div>