On Dec 12, 2010, at 2:41 PM, Jakub Pola wrote: > Thanks, > > Is there also so easy way to extract those arrays from already created > matrix?
Not particularly because we do not like the idea of directly manipulating the storage details of a particular sparse matrix type. But you can use MatGetRowIJ()/MatRestoreRowIJ() and MatGetArray() if you really want to. > I created matrix A with function: > MatCreateSeqAIJWithArrays(PETSC_COMM_SELF, n_rows, n_rows, r_idx, c_idx, > vals, A); > > Now I would like to extract all tables from matrix A; What is a "table" of a matrix A? Barry > > > Dnia 2010-12-12, nie o godzinie 14:30 -0600, Barry Smith pisze: >> MatCreateSeqAIJWithArrays >
