On Tue, Jun 29, 2010 at 8:12 AM, Luke Bloy <span dir="ltr">&lt;<a href="mailto:luke.bloy@gmail.com">luke.bloy@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
In one of my projects I use the ublas compressed row major format for storing sparse matricies. One of the reasons i chose this format was interoperability with other packages. I&#39;d like to use some petsc and slepc functionality in my project but I haven&#39;t found any bindings between the 2 formats.<br>

<br>
It seems like MatCreateSeqAIJWithArrays is the optimal way to link the two types of objects but i thought I would see if anyone has done this and could point me in the most optimal direction.<br></blockquote><div><br></div>
<div>I think that sounds right. As long as you can get the offsets, cols, and values arrays, it is easy.</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,<br><font color="#888888">
Luke<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>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<br>