On 7/19/07, Alejandro Garzon <gtg100n at mail.gatech.edu> wrote:
> Hi, is there a function in petsc for adding two matrices? or one for 
> multiplying

http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mat/MatAXPY.html

> a matrix by a scalar? I looked several times in the manual pages and couldn't

http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mat/MatScale.html

  Thanks,

    Matt

> find any. If they don't exist, why is it so? Thanks.
> --
> Alejandro
>
>
>
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener


Reply via email to