How do I add two matrices together?

Matthew Knepley knepley at gmail.com
Mon Aug 21 16:46:52 CDT 2006


MatAXPY

   Matt

On 8/21/06, Alex <alabute at stanford.edu> wrote:
>
> I can't seem to find a function that will allow me to add or subtract
> matrices. I would like to do this with matrices that have already been
> assembled.
>
> thanks,
> --
> Alexander Ten Eyck
> Laboratory for Virtual Experiments in Mechanics
> Stanford University
>
>


-- 
"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec
Guiness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060821/c84b472c/attachment.htm>


More information about the petsc-users mailing list