[petsc-users] How to get the matrix diagonal value A(i,i)
Jed Brown
jedbrown at mcs.anl.gov
Tue Jun 11 01:32:20 CDT 2013
MatGetDiagonal or MatGetValue, depending on how you want it.
On Jun 11, 2013 7:41 AM, "丁老师" <ztdepyahoo at 163.com> wrote:
> which function return the value at the diagonal of matrix A(i,i).
>
> Regards.
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130611/cafbe4e8/attachment.html>
More information about the petsc-users
mailing list