On Tue, Apr 9, 2013 at 7:04 PM, Dag Sverre Seljebotn
<
d.s.se...@astro.uio.no> wrote:
Sadly, no -- the CHOLMOD and UMFPACK APIs are totally unlike each
other. (I think Tim Davies wrote UMFPACK first, and then figured out
how to do these things better, and wrote CHOLMOD. Later codes like
SPQR do re-use all the CHOLMOD data structures, but UMFPACK is weird
and ugly.)
I did start writing a proper UMFPACK wrapper some years ago, but never
finished it. I just tracked down the file and committed it, in case
anyone else would like to have a go:
https://github.com/njsmith/scikits-sparse/blob/umfpack/scikits/sparse/umfpack.pyx
A quick skim suggests that a lot of the basic stuff should actually be
working... but who knows, because I didn't get around to writing tests
:-). It'd be great to add a proper UMFPACK wrapper to scikits.sparse,
esp. if we can write the high-level API to match the general style of
the existing CHOLMOD wrapper which I (not so humbly) think is quite
nice:
http://pythonhosted.org/scikits.sparse/cholmod.html
-n