matrix addition

Manav Bhatia manav at u.washington.edu
Thu Feb 15 02:56:53 CST 2007


Hi,
   I need to add two matrices, but I did not find a direct function  
to do so. Is there a specific reason not having a matrix addition  
function?
   In the absence of such a function, I am thinking of extracting  
each row of the two matrices and adding them. Would there be a more  
efficient way to do the same?

   Kindly help me with your advice.

Thanks,
Manav




More information about the petsc-users mailing list