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>