[petsc-users] copy vector into a matrix

Michael Povolotskyi mpovolot at purdue.edu
Wed Apr 3 11:55:01 CDT 2013

Dear PETSc developers,
I have a following question:

I have a dense serial matrix of M x N size
I have a N vectors of size M.
I need to copy content of those vectors to the columns of the matrix.
What is the fastest way of doing this?
Thank you,

Michael Povolotskyi, PhD
Research Assistant Professor
Network for Computational Nanotechnology
207 S Martin Jischke Drive
Purdue University, DLR, room 441-10
West Lafayette, Indiana 47907

phone: +1-765-494-9396
fax: +1-765-496-6026

More information about the petsc-users mailing list