[petsc-users] Create a matrix from a set of vectors

Waad Subber w_subber at yahoo.com
Tue Feb 15 14:53:03 CST 2011


Hello,
Can I create a matrix from a set of vectors without using VecGetValues and MatSetValues such as

Vec  v1, v2
Mat  A

A=[v1 v2]

Thanks
Waad


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110215/f9152086/attachment.htm>


More information about the petsc-users mailing list