[petsc-users] Does PETSc have some functions like A.*B, A./B in Matlab?

Yujie recrusader at gmail.com
Sun Feb 21 15:09:50 CST 2010

Thank you very much for your explanation, Jed and Barry.


On Sun, Feb 21, 2010 at 3:07 PM, Jed Brown <jed at 59a2.org> wrote:

> On Sun, 21 Feb 2010 14:58:39 -0600, Yujie <recrusader at gmail.com> wrote:
> > At the beginning, I was just thinking whether PETSc has some similar
> > operations with Matlab like A./B or A.*B. To my understanding, PETSc
> > realizes a parallel operation version of Matlab regarding matrix
> > computations.
> Some operations are best avoided when working with sparse matrices in
> parallel.  There is almost always a way to formulate the problem so that
> it can be solved in a scalable way, and PETSc prefers this approach to
> literally translating all Matlab-style operations regardless of
> efficiency.
> Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100221/646ea37f/attachment.htm>

More information about the petsc-users mailing list