On Tue, Feb 15, 2011 at 2:53 PM, Waad Subber <span dir="ltr"><<a href="mailto:w_subber@yahoo.com">w_subber@yahoo.com</a>></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;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Hello,<br>Can I create a matrix from a set of vectors without using VecGetValues and MatSetValues such as<br><br>Vec v1, v2<br>
Mat A<br><br>A=[v1 v2]<br></td></tr></tbody></table></blockquote><div><br></div><div>This is a dense matrix. You can create a MatDense and pull out arrays to shared.</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;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Thanks<br>Waad<br></td></tr></tbody></table><br></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>