<div dir="ltr"><div class="gmail_extra">Joon :<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Also, Is there any way to calculate C = A^T x B (A: MPIAIJ, B: MPIDENSE, c:MPIAIJ)?<br>
I just use the official version of PETSC.<br></blockquote><div>Yes, see MatTransposeMatMult_MPIAIJ_MPIDense() in file</div><div>petsc/src/mat/impls/aij/mpi/mpimattransposematmult.c</div><div><br></div><div>Hong</div><div>
</div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<div class=""><div class="h5"><br>
----- Original Message -----<br>
From: "Joon Hee Choi" <<a href="mailto:choi240@purdue.edu">choi240@purdue.edu</a>><br>
To: <a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a><br>
Sent: Saturday, September 14, 2013 1:47:50 AM<br>
Subject: [petsc-users] The product of two MPIDENSE matrices<br>
<br>
Hello,<br>
<br>
I want to calculate M = C x C^T. C is a MPIDENSE matrix.<br>
I tried the calculation with MatTransposeMatMult (C, C, MAT_INITIAL_MATRIX, PETSC_DEFAULT, &M), but it did not support MPIDENSE.<br>
Is there any method to calculate the product of two MPIDENSE matrices?<br>
<br>
Thanks,<br>
Joon<br>
</div></div></blockquote></div><br></div></div>