# Converting matrices L and U output by dgssv() of SuperLU to triples format

How can I convert matrices L and U output by dgssvx() of SuperLU to triples format (to matrix market format)? Also how can I convert input matrix A in triples format (in matrix market format) to the format required by SuperLU? What is the easiest way to perform these format conversions?

• The answer to this question can be found by reading the SuperLU user guide.
– pv.
May 24 '13 at 20:12
• Dear @py, is there a solution using pysparse or scipy? May 25 '13 at 3:29

I would assume that the interfaces had changed and developed within the last 5 years. As of right now, the result can be achieved using the standard functionality of scipy (as requested in the comments).