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

Nicolas Pozin nicolas.pozin at inria.fr
Wed Aug 26 15:06:32 CDT 2015


Thank you for this answer.

What I want to do is to get the lines of this matrix and store them in vectors.


----- Mail original -----
> De: "Jed Brown" <jed at jedbrown.org>
> À: "Nicolas Pozin" <nicolas.pozin at inria.fr>, petsc-users at mcs.anl.gov
> Envoyé: Mercredi 26 Août 2015 20:38:37
> Objet: Re: [petsc-users]  forming a matrix from a set of vectors
> 
> Nicolas Pozin <nicolas.pozin at inria.fr> writes:
> > Given a set of vectors V1, V2,...,Vn, is there an efficient way to form the
> > dense matrix [V1 V2 ... Vn]?
> 
> What do you want to do with that matrix?  The vector representation is
> pretty flexible and the memory semantics are similar unless you store
> the dense matrix row-aligned (not the default).
> 


More information about the petsc-users mailing list