[petsc-users] Functionality in Petsc
Patrick Sanan
patrick.sanan at gmail.com
Mon Jun 6 12:59:35 CDT 2016
Assuming that you don't want to store this dense rank-1 matrix explicitly, one way to go is to define your own MATSHELL which holds your two vectors and can apply the outer product to a vector.
> Am 06.06.2016 um 19:49 schrieb Sophie Léger <sophie.leger at umoncton.ca>:
>
> Hello,
>
> I’m trying to multiply a column vector with a line vector (which would result in a matrix) and am wondering if this is possible with Petsc? I have looked, but have not found anything yet. Would it be possible to let me know if such a functionality exists and if so guide me in the right direction?
>
> Thank you very much for your help!
> Sophie Leger
> Mathematics professor – Université de Moncton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160606/698f4ca0/attachment.html>
More information about the petsc-users
mailing list