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

Jed Brown jed at jedbrown.org
Wed Aug 26 16:45:05 CDT 2015


Nicolas Pozin <nicolas.pozin at inria.fr> writes:

> Actually I want to get the diagonal of the matrix : transpose(d)*A*d where
> -d is a sparse matrix of size (n1,m1)
> -A is a dense symetric matrix of size size (n1,n1)
> with m1 very big compared to n1 (1 million against a few dozens).

The result will be m1 × m1, but at most rank n1.  Why would you want
that monster as a matrix?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150826/10d881ce/attachment.pgp>


More information about the petsc-users mailing list