QDLDL, a free LDL factorization routine.
Project description
# qdldl-python
Python interface to the [QDLDL](https://github.com/oxfordcontrol/qdldl/) free LDL factorization routine for quasi-definite linear systems: Ax = b.
## Installation
This package can be directly installed via pip,
` pip install qdldl `
## Usage
Initialize the factorization with
` import qdldl F = qdldl.Solver(A) `
where A must be a square quasi-definite matrix in [scipy sparse CSC format](https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csc_matrix.html).
The algorithm internally converts the matrix into upper triangular format. If A is already upper-triangular, you can specify it with the argument upper=True to the qdldl.Solver constructor.
To solve the linear system for a right-hand side b, just write
` x = F.solve(b) `
To update the factorization without changing the sparsity pattern of A you can run
` F.update(A_new) `
where A_new is a sparse matrix in CSR format with the same sparsity pattern as A.
The algorithm internally converts A_new into upper triangular format. If A_new is already upper-triangular, you can specify it with the argument upper=True to the F.update function.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for qdldl-0.1.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2af448119b3360d4c8d805ddfbef032aba80441bb1dafd962820e0447888215 |
|
MD5 | a1534c83fef25645ec9fe1b82b37a832 |
|
BLAKE2b-256 | 28cad543372827c1e727bf29abf9c8ea9c64ff482a23f386e8a80211c5ce7ff8 |
Hashes for qdldl-0.1.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3975212f208ed5c1fe72a6de241bba6bdae0a23b7b72f96f56df624aa3e4b225 |
|
MD5 | 97c05254623b918c16c863ee4b683742 |
|
BLAKE2b-256 | c9b87ac4d7fd428dbb9cb3632621cc17a041404daa6025667cc6cd87b1e19114 |
Hashes for qdldl-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99f4ba9f97fd4689aea184d3917c4218c2dd20bc919e073d0ac0f05a6e59fcd |
|
MD5 | 8ab7f66b5059382128c3714da4ccf83f |
|
BLAKE2b-256 | 9d7fe25f616c11bd92ab58cba6fe5770b10472123d5149514d96174c58464458 |
Hashes for qdldl-0.1.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99d783a4754b2699c8a31a3e81a3da290eef59d09d4ca5e81d5081ee06a5d02d |
|
MD5 | fcad3dfabe2a82e349ac57ad3cc796c5 |
|
BLAKE2b-256 | a4ee0518a7a96d379311f19015f54b1484f7ee9bfd9f89663b5cc25d9a9a39b8 |
Hashes for qdldl-0.1.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62395216a6a5ce3ea4e31ad2f25e4e8411d1c15c2f8ce36d6691d80bab710f8 |
|
MD5 | d354d48507d1326267dc31a3b3246536 |
|
BLAKE2b-256 | 14abeb0a4251b9eb6f93cade946c95e8a000e574661b2de1cfd83d6f01c33b6e |
Hashes for qdldl-0.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f51173a34f22bb0d683468f37e159b2b25237ba42340cb7cec74abc8b3569daf |
|
MD5 | 470673ec1e281c51a6ef357321956dae |
|
BLAKE2b-256 | f64314e1383d332e20dda81f18fe7c14ce6ed1080e5e67b0824dcaeb7ac33910 |
Hashes for qdldl-0.1.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d331fb02b45790a9e02046d38787baf137cbdb8715f28e8208d69d6bb23e33 |
|
MD5 | 91e189fccc93b6c5cd16b8db810e2303 |
|
BLAKE2b-256 | cfa98bc76180680a89239af4c6d2e0823ccdb38d6d5795672ce9689906f24d0b |
Hashes for qdldl-0.1.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f97aac36faf3224d322adce0dce82825e8bbe4fa4fa9667cbd7d24eb1fa258cf |
|
MD5 | 79c973d84594422284e00dc87af30515 |
|
BLAKE2b-256 | bfdfdfb86205afbb1ea9b2f8cb09e1efa32f9b96135d58df83e71770f5c27227 |
Hashes for qdldl-0.1.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 761e72e3f6ee1b033e83c806375272218d2fb24016824a14e2b550ac99b0df95 |
|
MD5 | ced61ca8451842c4d2d7d53572d7fc45 |
|
BLAKE2b-256 | 35a2d98aef942af62aa4e16c70086ed258236c7c3c8d7b1cfa81426395e26bd4 |
Hashes for qdldl-0.1.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bef8a20d7e0b78c6d8177c42dbd7542a8378bce5905a9d593bddb6277604c99b |
|
MD5 | 0ea851aea9b708ba737cf5d6d1fa8467 |
|
BLAKE2b-256 | eb08c75611871b7ec2dc5b940cfa318f29e13fb1f3a6c5954621512f3c204cfc |
Hashes for qdldl-0.1.1-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 535793fc8ae90054421de39c52cff532324bc84eff9c8815e6093463a37088a0 |
|
MD5 | fb336533fec60d69092894de013993d7 |
|
BLAKE2b-256 | dc7c36397d7881e502d793323bdab288ac4c82eb49ec10231888c51096c8e619 |
Hashes for qdldl-0.1.1-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1543225a9e4212dc66ca20ef2ae4d37ded42b07515cb614b6df3fb28c46178ce |
|
MD5 | 28e24bfaecd9488dbed4e80e6a911296 |
|
BLAKE2b-256 | 9e867a31d856f1baabaa23f8cdf946f69494ae71c7008d59d677d6fa08be469f |