how to sum two matrices?

Yujie recrusader at gmail.com
Wed Dec 17 15:02:17 CST 2008


Hi,

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.

Regards,

Yujie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20081217/6bad888b/attachment.htm>


More information about the petsc-users mailing list