I have converted my MATMPIAIJ to MATSEQAIJ using MatGetSubMatrices. I need to dump it to a hdf5 file in form of three vectors: si, sj (int) and sa (double), with their sizes equal to the number of nonzeros. I looked through the help index page for AIJ, matlab and similar keywords, but can not find a suitable function.
How can I get the 3 needed arrays out or my (sequential) matrix? Many thanks for any hints, Dominik
