matrix addition

Manav Bhatia manav at
Thu Feb 15 02:56:53 CST 2007

   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  
   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.


More information about the petsc-users mailing list