On Thu, Apr 5, 2012 at 04:43, Gao Bin <bin.gao at uit.no> wrote: > I would like to use PETSc perform matrix-matrix multiplication C=A*B^T. I > notice that MatMatMultTranspose could calculate C=A^T*B, but which is not I > want. > > Does anyone know how to perform C=A*B^T using PETSc (I know I could first > calculate B^T and call MatMatMult with A and B^T, but it might not be > efficient, is it?)? Thank you in advance. >
Use petsc-dev. That routine is renamed ( http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatTransposeMatMult.html) and the one you want is http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Mat/MatMatTransposeMult.html -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120405/297d05f9/attachment-0001.htm>
