[petsc-dev] concatenate matrices
Matthew Knepley
knepley at gmail.com
Mon Nov 11 17:55:33 CST 2013
On Mon, Nov 11, 2013 at 5:43 PM, Jose David Bermeol <jbermeol at purdue.edu>wrote:
> Hi, is it possible to concatenate matrices like in matlab, for instance if
> I have a matrix A of size 2x5 and B of size 2x10, I could create C = [A B]
> of size 2x15.
>
You almost never want to do this. However, its possible with MatNest. Why
do you want to do this?
Matt
> Thanks
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131111/c20c5cd4/attachment.html>
More information about the petsc-dev
mailing list