[petsc-users] Matrix Create

吕超 luchao at mail.iggcas.ac.cn
Fri Nov 7 03:03:13 CST 2014


Dear all,  

      Now, I need create  a big matrix, but only some rows  have values, other rows are all 0. The spy of the matrix looks like the figure below.

      Can you tell me how to create this kind of matrix?

Thank you for your help

LV Chao

2014/11/7







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141107/bec25f12/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kk.png
Type: image/png
Size: 7382 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141107/bec25f12/attachment-0001.png>


More information about the petsc-users mailing list