<div class="gmail_quote">On Mon, Sep 24, 2012 at 8:36 AM, Klaij, Christiaan <span dir="ltr"><<a href="mailto:C.Klaij@marin.nl" target="_blank">C.Klaij@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I can't do that, it's a matshell.</blockquote></div><br><div>You can use MatComputeExplicitOperator or MatFDColoring to get the entries. Also, make sure the MATSHELL is really, truly a linear operator. You'll get very confusing results if you accidentally leave some nonlinearity inside that function.</div>