<div dir="ltr">Thanks a lot, Hong.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 4:05 PM, Hong <span dir="ltr"><<a href="mailto:hzhang@mcs.anl.gov" target="_blank">hzhang@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Bikash:<span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><br></div>I have sparse matrix of MATMPIAIJ format that needs to be multiplied with a series of vectors and the resultant set of vectors are to be stored into a matrix. I can do that in two ways:<br><br></div>1. Perform series of MatMult operations and store the resultant vectors in a MATMPIDENSE matrix; or<br></div>2. Store the vectors in a MATMPIDENSE matrix and perform a MatMatMult operation.<br></div></div></blockquote><div><br></div></span><div>2 would be more efficient.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>HongĀ </div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div><div><font color="#666666">Bikash S. Kanungo<br></font></div><font color="#666666">PhD Student<br></font></div><font color="#666666">Computational Materials Physics Group<br></font></div><font color="#666666">Mechanical Engineering <br></font></div><font color="#666666">University of Michigan<br><br></font></div></div>
</div>