<div class="gmail_quote">On Thu, Jul 14, 2011 at 13:30, Xuefei (Rebecca) Yuan <span dir="ltr"><<a href="mailto:xyuan@lbl.gov">xyuan@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>I need to have this form for the simple input for PDSLin.</div><div><br></div><div>What do you mean by "COO"?</div></blockquote><div><br></div><div><a href="http://en.wikipedia.org/wiki/Sparse_matrix#Coordinate_list_.28COO.29">http://en.wikipedia.org/wiki/Sparse_matrix#Coordinate_list_.28COO.29</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div></div>Any examples to show how to pull that new array for reading from the AIJ structure?<div></div></blockquote>
</div><br><div>Get the indices using MatGetRowIJ() and the values using MatGetArray().</div>