[petsc-users] MatMatMult vs series of MatMult
Hong
hzhang at mcs.anl.gov
Wed Sep 16 15:05:27 CDT 2015
Bikash:
>
>
> I have sparse matrix of MATMPIAIJ format that needs to be multiplied with
> a series of vectors and the resultant set of vectors are to be stored into
> a matrix. I can do that in two ways:
>
> 1. Perform series of MatMult operations and store the resultant vectors in
> a MATMPIDENSE matrix; or
> 2. Store the vectors in a MATMPIDENSE matrix and perform a MatMatMult
> operation.
>
2 would be more efficient.
Hong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150916/bfde3774/attachment.html>
More information about the petsc-users
mailing list