how to sum two matrices?

Yujie recrusader at
Wed Dec 17 15:02:17 CST 2008


I have matrices A1 and A2. It is distributed in the cluster. Their
distribution is same

I want to do A=a1A1+a2A2. How to do it? I can't find the suitble function.
thanks a lot.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list