<div class="gmail_quote">On Thu, Dec 29, 2011 at 13:32, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">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>We do nto recommend it, but you can useĀ <a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatGetColumnIJ.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatGetColumnIJ.html</a></div>
<div></div></blockquote></div><div><br></div><div>Or, more likely,</div><div><br></div><div><a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatGetRowIJ.html">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatGetRowIJ.html</a></div>
<div><br></div><div><br></div><div>But the matrices are not actually stored this way, so calling this function involves a copy.</div>