[petsc-users] A^TA

Kuhlemann, Verena vkuhlem at emory.edu
Fri Feb 3 16:58:21 CST 2012


Thanks, I'll try that.

________________________________
From: petsc-users-bounces at mcs.anl.gov [petsc-users-bounces at mcs.anl.gov] on behalf of Jed Brown [jedbrown at mcs.anl.gov]
Sent: Friday, February 03, 2012 5:54 PM
To: PETSc users list
Subject: Re: [petsc-users] A^TA

On Sat, Feb 4, 2012 at 01:47, Kuhlemann, Verena <vkuhlem at emory.edu<mailto:vkuhlem at emory.edu>> wrote:
Hi,

one quick question: I have a matrix P and need to compute P^t*P.
Is there a function available for this? I couldn't find anything.
Right now I am computing P^t*P by using MatPtAP with A=identity,
but I was hoping there is another way where I don't need to set up
the identity matrix.

Use petsc-dev and MatTransposeMatMult(P,P,...,&PtP)

________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120203/ef086aa8/attachment.htm>


More information about the petsc-users mailing list