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.7.post3-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618851319b826e8c9a0fe55f78e8ec395619f6d09233f90a01b17ca0ed3b334f |
|
MD5 | 4104ca8288f94486bd4106ec60c8e646 |
|
BLAKE2b-256 | ce3c0f053136a93699a45ef44aa792dce120c463bf7a428e12fef3885bdde589 |
Hashes for qdldl-0.1.7.post3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57edf791410da7fbb5dee181a5f5f28c6408e0ebc76aa733babf0864c4f8e6a0 |
|
MD5 | aa4e68f2ddfc29acd7f7c6067f86b525 |
|
BLAKE2b-256 | 9fd1703c4d2c53ca6aff2a26df5a464e43b6ce8972ed16574a10271bacd19f5e |
Hashes for qdldl-0.1.7.post3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d632f352d13b1d03d83cbf260e1f1c0a9c572722a431bc91be71cf1b27a31e53 |
|
MD5 | 5a6d7119f0916c53ee3aed77b2d40b12 |
|
BLAKE2b-256 | b9fe43faf6d813fb4f73868454b620745df9fb5c24d5fb2a476edfe2b2993926 |
Hashes for qdldl-0.1.7.post3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b846c3d6d03035f2254db69ea36091f14c5036119efd0d92e65aa3f5111e4bb6 |
|
MD5 | b319448e27af572324a4a83d355ac2ec |
|
BLAKE2b-256 | 3d96d2ed5d3a3fd55a779f1a858cdc13c7bee6ab17de3a62e89c8f82c264ae89 |
Hashes for qdldl-0.1.7.post3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49b613167a4e7a9d14927898241074cf902d6e3a0010c0f3bc74975b061c8bc |
|
MD5 | 7577fbddf34234702fc9e00832972f8a |
|
BLAKE2b-256 | 47f4a2c25e0bf269cceb646f42d8688cfb06ac2b4a38808e26b674ab6e471c7e |
Hashes for qdldl-0.1.7.post3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24772bf44ae9a395d7dc36afbde0175f35d6ebea082b893a0a86c4bc962d1a12 |
|
MD5 | 858a586cb43ff2fb3ad2970ba4305ef0 |
|
BLAKE2b-256 | 9d63e042b2de4a7ffd238fb8d3fe52e8b727689ba063670cfaa6f75ff409c884 |
Hashes for qdldl-0.1.7.post3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b29d3b84e9e8decd6a47d5400bee3937376ec85bd65761eea3fe1ebcdc556cc |
|
MD5 | 0cc56974e15ff7c243cb5508719f47aa |
|
BLAKE2b-256 | 5363c660ee14a0ebbdbd1bb3c4471e75e460ea772e608a80d5a013b00caf12f4 |
Hashes for qdldl-0.1.7.post3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d106c35ff938e1091f84bed8a4031aabfe359e55de0be290f172b41cc4266486 |
|
MD5 | faf86041b23df1469033aba56dc8d8d5 |
|
BLAKE2b-256 | 45f6b82582711829ab327f1b6929ddcf8ee13ae26dec8f2c581d8e798392bb8e |
Hashes for qdldl-0.1.7.post3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df6fbb38f650153a8263921b6e7fcfde5638b949a8921aacac8612c093fc0c0 |
|
MD5 | d21d9b822622234e345aa75e83aa585b |
|
BLAKE2b-256 | 33aac1c0041e0201d3b994e9144e68e36ee675cd02745ee4f4264178f26920c9 |
Hashes for qdldl-0.1.7.post3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c76f56111f087926d9885677e69ab5ba8dedc0b8095d760d44f6a54d14faa201 |
|
MD5 | ac844906f03e9a122da84d6127744094 |
|
BLAKE2b-256 | d9b35969fa026ca1635e965ffc7d8b26949c4903a93d56813490d2f499ece803 |
Hashes for qdldl-0.1.7.post3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abafa494d9a809c07b00273204836e34eb0e24bc4462ac7c31645dd42b99cb9e |
|
MD5 | 24f3ba619d704f80f28ad01de36af7ac |
|
BLAKE2b-256 | e90b637c4ef58375f25eac4dc01d23b6f4820b24224436028ef51172b6fd7ccd |
Hashes for qdldl-0.1.7.post3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3de7fca44577ac3cb83d62deb5dcbfd7e84b440b6e41124349598ec2dc7fd832 |
|
MD5 | e03d5f3638c244c13a61f2f628226ebe |
|
BLAKE2b-256 | 8d273d49424f19518d2f44bd86d6995ab7df1c1eaa5a05317ab711090c975cbf |
Hashes for qdldl-0.1.7.post3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9103fbaeb925a90caf89a5ddfefcd3e12e46996d2628546cba94a000dd8dd464 |
|
MD5 | d8ac76988ea57d23ddb64345a1727bdf |
|
BLAKE2b-256 | 61a8453d6028836a9ec7e19a5597a270bcb7466721f985595c666b4ff4c1b54c |
Hashes for qdldl-0.1.7.post3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f2a4baf805d7012931040773e42a85b8655191339f32088678a73fbdd189c87 |
|
MD5 | 6bdae76aaef940fc49ac95075de67899 |
|
BLAKE2b-256 | c019b010be4a245ff9f4d742249d1d501a0abe7c40c544a313140687518136e2 |
Hashes for qdldl-0.1.7.post3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd9ce9509af992c5e01157e8ed63c1ef98b95caf98cfffcabc39c8b431342b48 |
|
MD5 | 4c597696f1b100ebe251bd9fbc12222a |
|
BLAKE2b-256 | d662284456cfce1811f7513f3eef3ea34607e675bb98a5486d7ebb15868d9e40 |
Hashes for qdldl-0.1.7.post3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bac0c94dfa829624fb46052921f6f7e9d30c4122b0f0cb041f1a16ab680a9f1c |
|
MD5 | 0f5ca2fd5cc7d10f78bbae989516db5c |
|
BLAKE2b-256 | 4c40c3444c4920ff853cda3dc99b3e0fd98f28b8a8e3e8fbbb9557666456d709 |
Hashes for qdldl-0.1.7.post3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d6592a5289a160c1e8ba2b7cd6e08e06d2402e59dfdea077ef4e68e2b79cee6 |
|
MD5 | aa1125ee240a5fd7582bba6dea989bad |
|
BLAKE2b-256 | a2f7007db4532302881651a5f7f5043121f9fabee3d14072cb64a7e52362e0c0 |
Hashes for qdldl-0.1.7.post3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f615bb9d62931d3724038253f4dca0d5d891f59955c00163c4031ffbd0f3bfe9 |
|
MD5 | 9ca691d46b0cf26f1afe98f93047b751 |
|
BLAKE2b-256 | 596347719592126ca1d4f2bcd98fc79d941ee5cacb5b66f0a9d8409bed43cac8 |
Hashes for qdldl-0.1.7.post3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 272907b44b2dd7e4f2d6a255a7e9e458bdc898446ca5e664548fed97d131decc |
|
MD5 | eb6c718d27dfeccc1d81942b49bac031 |
|
BLAKE2b-256 | 0e961e86f2ee1a8353dbc22267916b42f084fbf1aef03da78d9058e91f68262f |
Hashes for qdldl-0.1.7.post3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93f93d130697319577b05cb06338d52a2d6f805756efe813770721bfdda58bd7 |
|
MD5 | 123fd7b4f4fdba8998df75cb745ee185 |
|
BLAKE2b-256 | 4b5154564287d6f01e0b2684545ecfdf49268f735661e9d85657565c76c7e2cd |
Hashes for qdldl-0.1.7.post3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 387628a3ccca482e5660b6d8c8e552dde43a5251b3f45d37bd0df9408f123d15 |
|
MD5 | 3dca536e4617f0ae56f84845333be904 |
|
BLAKE2b-256 | b0c007a02315a135d13e2aa38f4b00adfeca9a164173f36af439d530407b4d89 |
Hashes for qdldl-0.1.7.post3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13fb635eb0fda17e1acbb4eecf54a8b35b7341d0d695de4b852260ca10f37c96 |
|
MD5 | d72f7d3912ac108abcdca888f1e39d38 |
|
BLAKE2b-256 | 4bd8fbc3503a37d444a25a1c11c5645fb1a614c99ebdc7cba13924fde42ae6a9 |
Hashes for qdldl-0.1.7.post3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3aa84a52891b3b15dd506562fe542e5c229ffacf8e5cfc53ff20d1f98fa01ca |
|
MD5 | ca7d2c47cf5bebfc228c1a407257a3e3 |
|
BLAKE2b-256 | f0a0b1b6e7709510f38fbc9c5f77017947e2888a5b87b6800cc3ccd355814b78 |
Hashes for qdldl-0.1.7.post3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b492e1ce3794bb80a40a4ef2e28682b4a18614739411c895c516b8bb7116472a |
|
MD5 | f2ff6da350e05e64028b703e3a6eb1a0 |
|
BLAKE2b-256 | da335a7856aa8d91cbc84af2c4a6e0ccaad84c4c7846f8f5694b51e73a0f88be |
Hashes for qdldl-0.1.7.post3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab3814a6ed95aa50bb75603581d0c10227aa98214ebd9182eb224f408efb2a54 |
|
MD5 | 0f00653a77f3ad0759f7a0efbaa0a817 |
|
BLAKE2b-256 | febe34791ef8e5377696db6c050d4d5b2cf5b9a7cd72ca6ada255eef898e3599 |
Hashes for qdldl-0.1.7.post3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7dcdd9b1e971d911d41f97178a59b68298c8e5eb59870c7c6b265583d3b2c67 |
|
MD5 | f25338c626124373a31b00180a2ed2bf |
|
BLAKE2b-256 | d1f3c02c2b73ffdd7ba728d119281d02354d0551cf94d94a736d43d6ad9d043d |