Matrix transpose

Barry Smith bsmith at
Fri Jul 10 20:42:47 CDT 2009

    They have not been written or tested to work for general  
rectangular matrices. They may work for some formats and not for  
others. You may need to debug and modify them yourself to provide the  
support you need. Or perhaps another PETSc user can generalize them.


We haven't had the time to provide all functionality that would be  
nice to have.

On Jul 10, 2009, at 8:18 PM, Waad Subber wrote:

> Hi all
> In the function MatMatMultTranspose(Mat A,Mat B,MatReuse  
> scall,PetscReal fill,Mat *C)
> is A has to be a square matrix ?
> And what about the function MatTranspose(Mat mat,MatReuse reuse,Mat  
> *B) is mat has to be a square matrix too ?
> I am trying to use these functions with a rectangular matrix. but it  
> doesn't work for me !
> Thanks
> Waad

More information about the petsc-users mailing list