[petsc-users] MatElemDiv

John-Michael Fischer fischej at umich.edu
Thu Feb 11 10:01:00 CST 2010

This seems like a silly question, but is there a reason I cannot find a function for MatrixElementWiseDivide that would accept two matricies, M1 and M2 and perform element wise division?

I can go through the process of getting local rows on each proc, doing the element by element division, etc... but it just seems like a perfect candidate for a built-in.

John-Michael Fischer
University of Michigan
Nuclear Engineering and Radiological Sciences

More information about the petsc-users mailing list