Cython/Python inferface to qr_mumps (A multithreaded multifrontal QR solver).
It supports all four types (single real, double real, single complex and double complex).
For the Python version:
For the Cython version, include everything needed for the Python version and add:
If you intend to generate the documentation:
- Sphinx
- sphinx_bootstrap_theme.
To run the tests:
- pytest.
All previous dependencies may be installed using pip
.
qr_mumps.py
provides facilities for sparse matrices coming from the CySparse
library.
If you want to use these facilities, set the location of the CySparse
library in your site.cfg
file.
-
You need to install qr_mumps. Follow instructions on their website. If you are under OS X, a Homebrew formula is available. Follow the instructions to install
Homebrew
. Then, qr_mumps and its dependencies can be installed automatically in/usr/local
by typingbrew tap homebrew/science
brew install qr_mumps
-
Clone this repo
-
Copy
site.template.cfg
tosite.cfg
and modifysite.cfg
to match your configuration -
Install
qr_mumps.py
-
Python version
python setup.py install
-
Cython version
python generate_code.py python setup.py build python setup.py install
-
py.test tests
- Add refine method
- Add a Q-less derived class
- Update examples
- Update doc-strings
- ensure all code is PEP8 and PEP257 compliant