QDLDL, a free LDL factorization routine.
Project description
qdldl-python
Python interface to the 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.
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.5.post0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cb57ff37de25e4209f5134b84cbd5b3b80a4ee68840cd044b4ceecea1e70090 |
|
MD5 | 5efba49d72c2dcdca706c0b1abcec49d |
|
BLAKE2b-256 | a33dd06942d3febc53b18e6ce127d5881a43281cd180ee75126e3a9f72a29c25 |
Hashes for qdldl-0.1.5.post0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f64d91edcc0240fff4954fd5d7f01a8be6b0913d544d50843ee47fb165069c9 |
|
MD5 | 5ad044ae97597146c45438e1784c16e8 |
|
BLAKE2b-256 | b0ac5aa5016d0d871b400650ebe548d5a365fa9b59ab8c235e53c44881044a95 |
Hashes for qdldl-0.1.5.post0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fe33d99c44cf828bd8fc7350b154194a28810f963fdf31c5aade80fba60bb7b |
|
MD5 | e750a75221325aa742338e05863d04ec |
|
BLAKE2b-256 | ceece083af90870849f4e0dd7b14d1f876a804bedb66a629125e991756950207 |
Hashes for qdldl-0.1.5.post0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640cab781f87c2f1c04ada65615b3d1d136d319c4595176f37e2e3c99149108f |
|
MD5 | 39f687f1dee997d5b8ef06295d814d62 |
|
BLAKE2b-256 | 30a0ecffb1884fdb249f556776a629a46e12e438d02780eaf8eaf1cdee933a6b |
Hashes for qdldl-0.1.5.post0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15fed80cb8f66d5472798b39742dacba75b789e1da5f91b3600af482ec870b69 |
|
MD5 | 253ca2a3bb1be2c472565e805ca652c0 |
|
BLAKE2b-256 | 5cccba56890ee6dbf9525b2a68dd703b39ddf8a43d63b2980d6bee5e6fe7a2a7 |
Hashes for qdldl-0.1.5.post0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c09f4b1a1c6f3a0579af004443417e084491e7c844ff9fb73170bb5d43f70b5 |
|
MD5 | 32b835ad4f1b675c1f5bf6162aee7658 |
|
BLAKE2b-256 | 9e26ccb4f065b40c1e9ff35ee66970d4fa97dd2fe221b846da2110eb8cd6c3f4 |
Hashes for qdldl-0.1.5.post0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7c086ae21a2b2e43b31ac6a5024c79dadf16e7c3152eda9e3263cefe1675e26 |
|
MD5 | 4170774a50697195666074b1a4969753 |
|
BLAKE2b-256 | 8f38cd4a9a2403b81b9b5a5795c2f87774084942a534e41c5049642cc52d14ba |
Hashes for qdldl-0.1.5.post0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7ec584aaddff7036d22013c911132572f3d59c65ec6bf7e32beb01765accc4 |
|
MD5 | 0e66ca88a788a85c16243969dd6dee93 |
|
BLAKE2b-256 | e8894e9b3f7b1436d2d68dec6373e5696eb0f6e48a7d1b1e658305a50cdb1a6d |
Hashes for qdldl-0.1.5.post0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dbdd873ed3db853aac9a8fd45ec86fb60f9db34811b333af33de14d1a4127d4 |
|
MD5 | 5d361ced637747651f506f114de0833f |
|
BLAKE2b-256 | 138ba5e41e9b3b11557145d9d2867d88f720067d35f051d4ce7cd894b6e08a81 |
Hashes for qdldl-0.1.5.post0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff34b89258a3c9b1b398f1c8eeb480a9c4ae2ba14c4ffc8c78cdb123dab11c6 |
|
MD5 | b29e281ae1099632745682538cac0aec |
|
BLAKE2b-256 | aa6329f8f741a85cf0b63c806fb2b64f8e54532b5ddcd5b583640bc5de9509c2 |
Hashes for qdldl-0.1.5.post0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64f531ef2a12cc77be85045cdffdb2fe339244c73fc07aebe49977541bfc7e79 |
|
MD5 | 128fa8bc9234bf66cc0848ceddcb3f58 |
|
BLAKE2b-256 | f829038abfcbe6971968fc7a6d922200663eb0d7a467357b9e3abcabb4612b1b |
Hashes for qdldl-0.1.5.post0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e70c57ea65d0bb09708bc9ecafd4fb4b797e64af4da475404e6bcf5a2cc92596 |
|
MD5 | dea03b409fed55869cdcd81d9626b84e |
|
BLAKE2b-256 | 98296c65faa07f4dc2aaf3fb320108f711161796dce60ab49c229e4017a8ab51 |
Hashes for qdldl-0.1.5.post0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5396f5b3c27fe6bc13dca8318104fad60a334607dbd9aebc7eade3d76632c473 |
|
MD5 | 607afbdd177c647d37815b5ab07fa471 |
|
BLAKE2b-256 | 5746edcbcaaa1e8f90f5a7a07612ccd368a3b28e5faab768b79adef666f00eca |
Hashes for qdldl-0.1.5.post0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c10f91dda6a422a6d879668fd293132c8939431fffe64abd9700dce170a3aec4 |
|
MD5 | 14df0aeed910b5a9fa56f6375f6c346c |
|
BLAKE2b-256 | d16aaadc71170f9c072d4fb6ae5b301820b5caea758a288dd0c6e1ba569def08 |
Hashes for qdldl-0.1.5.post0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 817a226b2450e56c50f61a92b727c69f50a4d043876e5f1bcdff096c5a82bc37 |
|
MD5 | 4359612675112c094cea6e63f6350b96 |
|
BLAKE2b-256 | a51fa6734c35ec65f76e8e9cdf70373c7478e73a6657444ab414a4c6efa013a1 |
Hashes for qdldl-0.1.5.post0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac7a2891628554de6260132fa090c5b00cf32ae083ece4991a43b887ec6f2114 |
|
MD5 | 499c46830b2dbf2dab84fddc29fa7e74 |
|
BLAKE2b-256 | d59ef7b57ff533ee3a474c6afd6457b7154b514a9651c9ea4b804820dbeba1b8 |
Hashes for qdldl-0.1.5.post0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a3167f7bdb21e672eba537d622c87d06ba743c927aeb93e71b4ea2f0da98a2c |
|
MD5 | e39fdd65a2850bb7a545ec471162d61a |
|
BLAKE2b-256 | 47b67308609167b20491cb580bc60b9a3b0e1bb101aa1855c0da1061a688931b |
Hashes for qdldl-0.1.5.post0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2ab0d4618d5516101fc0ce99c873df61a085c3d7cb4d8347d5eca818795e48f |
|
MD5 | b967f70fff634ae6168cf77f7fd2c4d5 |
|
BLAKE2b-256 | 7afe72258b0bb2132fd9a289e1288f612d9d38740447fe6cb6de0fe8258b18dd |
Hashes for qdldl-0.1.5.post0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e5e2ee6b45dd655120ca8d6645331c800c494ce765bc0674714ba86e1ebec7d |
|
MD5 | 76810d14c295dcb6f7c5db9de665bcda |
|
BLAKE2b-256 | e5e3f1740c49254e674fb8c5bc41bd3051490616057bd2bd466d0f1f93cbf45e |
Hashes for qdldl-0.1.5.post0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd0090d5512a8e386534a755f9ebd8be82087d401746cebbfb9f9faa21073c39 |
|
MD5 | 0573b44473310af72d399ae0e703399d |
|
BLAKE2b-256 | 9fe26d415d24496d4c9816a9f7f88eb09deaa5a39d8e111298559792f19001e1 |
Hashes for qdldl-0.1.5.post0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 223dd49f4aa625c727c3053e9f62814fab2f929e0575b34dd1f38e66b536a849 |
|
MD5 | d26f3c20021f392b126e67bc6e46161d |
|
BLAKE2b-256 | 912045be08d1eb87b0e7f06117ce1b9e271e11c782fa20b690d695b970e060eb |
Hashes for qdldl-0.1.5.post0-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787d59b4301608e96bdf32ab3a572d9f41b3ea08581774826720986e18da261e |
|
MD5 | 814583e0465dba05338a25e84a2fc613 |
|
BLAKE2b-256 | 6a0791a7b2656f252c35ea2ac677450f20cc9eebea76dc9bf1324626a36c1c2b |