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.post4-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 684306b37a2f06f72c18edd2d6fa45a832e99071ebd87b875d172719e09a322d |
|
MD5 | 1ba38fe3d17684db900fbfacf499ec71 |
|
BLAKE2b-256 | 7155f9a26749a4019eb5a149b4304d8dfcac6a27450f2e605c298c8363ead9bc |
Hashes for qdldl-0.1.7.post4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b85beb51096100dcdea575acedbafb5bac2b7f44485a1d7090bb68a47c8f9928 |
|
MD5 | 3aa8000c6df8533270823242ea81ab8f |
|
BLAKE2b-256 | 1ef5dc4c2a07d2e281df982533733ec6eeda507c605443ac351f5357259cdbbb |
Hashes for qdldl-0.1.7.post4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a40429f5c0d0edb28d22c4e52c2459fd9a64892ba7d8a39ba51a1a37b3581927 |
|
MD5 | 5b2773cf590b68474c1cf758d68c80b0 |
|
BLAKE2b-256 | 309e1ddf8b3903d2fd8bcb9f3d9d3b9e4390285608223790279ca8ca3f82e7ad |
Hashes for qdldl-0.1.7.post4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6710b0c1013292697262803ddd549a81cdfdbdbbbcfa5b56aad04ac9cebbb4a |
|
MD5 | 19d03a5a0667d472baaf22f4814961a5 |
|
BLAKE2b-256 | 3cc3e153b6181d0e275b5d370ae509ff288a9b46b35a2d8af73eb5e9bce82ce4 |
Hashes for qdldl-0.1.7.post4-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2b9e92bb52d3bc49cfc9fd9a761adb692f049c46e68c0535ed07df2de8292f5 |
|
MD5 | 712eca57be2473bcc1267856785c6bc9 |
|
BLAKE2b-256 | 41379ae52198cfd9070f72f4421656fbcc13bdb3391acd1741b00cb7fa1a59ff |
Hashes for qdldl-0.1.7.post4-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6f8d59c01fa5c9dc3b6463fc7e1de7601dcb1aa16b6e14a6d5d283169dc629f |
|
MD5 | b45c9e5d805843cfe0e890290ea547e8 |
|
BLAKE2b-256 | 1c05c7bb1fd9d3ce9fe41c832a6196250758b81021014cdb080dc4055e8b0867 |
Hashes for qdldl-0.1.7.post4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1496a820ffb0c1a5bb18392b44052b83b5442745b15f62bbf2d22eec1f506afe |
|
MD5 | 704553259246351d4c337962963732cd |
|
BLAKE2b-256 | a987756ee0c33ed3fb3c6f1dd1ec0e406b89f44d7da4836059314e0ca40a7f7e |
Hashes for qdldl-0.1.7.post4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47c1b27712444d7b1030c562ed79af18320b4a910454716c9d88114e181eddec |
|
MD5 | 0a19603164e42b816a7de1c38644dbd3 |
|
BLAKE2b-256 | 1b1a6cd98c4dc01d3580b211d77761fbab0e56d84861783ee8efa2fe5387083d |
Hashes for qdldl-0.1.7.post4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87f31e7f2a2708def201b6dc507a48ada7e0c37efd0afda7ef6ef94ae3487c2c |
|
MD5 | d93e596695979b9307a2dfb9594f1c76 |
|
BLAKE2b-256 | b68003426746bbf1151cef417f1cbd525375e358199620fea50af6f2d994b8d3 |
Hashes for qdldl-0.1.7.post4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6639d63c3bf9abbfdffafd3c99b7c603359ca748ab62117ec7fc0948a1c5e77 |
|
MD5 | a0ef3d546b9637c5bc05d1d82b5b2cb2 |
|
BLAKE2b-256 | a5194a3c84f97d63f76490f1da8e8a2278b19876d2e4ffb52a35663b790d333f |
Hashes for qdldl-0.1.7.post4-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5227ace6741618aa9aa2b0162740e806040f3a69e88204911e74b5d220d5bfce |
|
MD5 | bcd75b01e3d10981afb3fcff9713df8d |
|
BLAKE2b-256 | 10ed90e7a4addecb74251b0e1ff63137c1a4642a0be7c362db9d2e5cc9ae58c5 |
Hashes for qdldl-0.1.7.post4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebf39433b467d2b33872e96fd05ed4a74d701eb94cd14cb010d5980fbdc02954 |
|
MD5 | 52e9fa7395b6c6f3e2b2591108f00eba |
|
BLAKE2b-256 | c8305528ed1558d6a3c95ae3e419631a6e4406cd2ea48651444da8ab68dace02 |
Hashes for qdldl-0.1.7.post4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 490b52049c4cd794cb9bb2a8b26d69e74bbb71e55b5f0cac1480de971970d79c |
|
MD5 | 617ff30ff76934dc5523a7c68f9453f2 |
|
BLAKE2b-256 | 04f2a4615536c27a494c8b2739f087236e7f53034d8cf332b76cce6191ca3410 |
Hashes for qdldl-0.1.7.post4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53ad4ecd90c8031e0094fbab0b0bf09520b382177db63ec9568f06b4f16c219 |
|
MD5 | 249b81116805221ac7b55342b038f5d3 |
|
BLAKE2b-256 | c0436ac6a201bd38149aaa89f1429559c97ffd7e8cfeb651b5cfdceb06394e5c |
Hashes for qdldl-0.1.7.post4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4a9c5f7fa96e222c767aaaabea9d5df1d099e172c14b322b98d54dac03705d |
|
MD5 | 513a3a975504f091c4003ef0245246fc |
|
BLAKE2b-256 | bd287417be0e65106ca71b0cc07bce3af901ba1c9cf95285e9bcb00cd7f1d3ba |
Hashes for qdldl-0.1.7.post4-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410a9a6a1405f475ccdb16d44e16c4a8266a90952bd396482a8840c61d9e839d |
|
MD5 | 88f47e32279e508f4d04551df7c78268 |
|
BLAKE2b-256 | 71535db58025d47305d2bbba9249e6ecce910c0b14191f5420846fa40c6b7b61 |
Hashes for qdldl-0.1.7.post4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12a658077a83a6aab9d122ca8f4ae4e96a06633109fa604414657ac2f065bd9b |
|
MD5 | 6aa9f2f208f0e016bb9152fba14a3faa |
|
BLAKE2b-256 | 1bd1d46e65a5c959c706c7726652180b917bf5965f33f0e29241594ad6335939 |
Hashes for qdldl-0.1.7.post4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bd3d9ab3074be041552297c90bd0b44fc2d2b3e5b9e7a8896d3c0878b85fcea |
|
MD5 | b134d123ffdcb33a4cdcd38da67a02c7 |
|
BLAKE2b-256 | b3db8a0791a6d7ef73f5eda08621e9e3fc3fc1c7d6e1fcdef2a72e7967c9c6c1 |
Hashes for qdldl-0.1.7.post4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 656c06f965b4121dd3a8aa8b39fc4ec4650ea487812a7fd06419834464595bbf |
|
MD5 | c05e2225d75895173fc7e50a6471e6d1 |
|
BLAKE2b-256 | 963f5418759568cb20479bbea0c497a26726c28ef16b205c497442cbaf771a94 |
Hashes for qdldl-0.1.7.post4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e29c33ef7dcd51ccc617d5c097f4904f8d522d44bc427a75810d1c56fe2c2ccb |
|
MD5 | ad40b389f6ca07515343edab59ee7694 |
|
BLAKE2b-256 | 390a4670cf50a6beb63d82c96fa2fde2804278381bd608e53b780d774bd39006 |
Hashes for qdldl-0.1.7.post4-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3770f6048e65231ead488c5e8982fffee2756e0682cc5a81d02fc56a02586050 |
|
MD5 | b2645c9075bbd3da9294b4977f6bbd2a |
|
BLAKE2b-256 | 2c1d3ee22c846e507d16c2c019f33626a833522fcebb7b24e50ad1549350cd8f |
Hashes for qdldl-0.1.7.post4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f1e449b8079c744166fb87c1bf01954ef6344898063bfac1afae1a295c8a04d |
|
MD5 | d67b727b86d0c839867ca5baad0779b5 |
|
BLAKE2b-256 | f1d37aa19f847182c4386a1e4ac87c35e7db3540f86ab87f8abe9ff01ca8b96a |
Hashes for qdldl-0.1.7.post4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e23ff54d54db837a55c56da197638d0f54f1fe25fb90f63c9d1f18779efdda27 |
|
MD5 | 159d0430113d13aef7d76a880466f03d |
|
BLAKE2b-256 | c481cbbb9bdbadd6f21333ba627567425c13f253eeece1e64d5b62a2934427c4 |
Hashes for qdldl-0.1.7.post4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d1596bef9d38e58fb6121d8aa8662322ee92f584a4189d01770a9ff821d1a5f |
|
MD5 | e6c09ebdf29815e86df6ceda82f6bb92 |
|
BLAKE2b-256 | 454f0e9238d661ed019d57dadcf0b01ef2d1baf35d5721f73f28122aecbbef34 |
Hashes for qdldl-0.1.7.post4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f63fde49b54fbf2feebf30b11ef7fd0543376a0fbc800b7d4e4c51b8ef39ff2b |
|
MD5 | cc621a84bc57817ab63c511812ace05b |
|
BLAKE2b-256 | 317d4977a2b8d1ee97c4ce5edeee3defb3c451f51200d4bc85277efe5764a699 |
Hashes for qdldl-0.1.7.post4-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40485f33c518fcbf78d95329ab0f55f10b3ccd06bea2fe7c8faf8cb16aae2485 |
|
MD5 | f03783ded6af286fda4f779a29e2e5e4 |
|
BLAKE2b-256 | c45965164a4174a33360201cf792240d5dc85798fb565fc52e35651d87e33a66 |
Hashes for qdldl-0.1.7.post4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c9b6bf14689766e29fa2f7652b49e0d5a8215b646aec4a9306834418241de97 |
|
MD5 | e59ef085bb3429611f138a00331b6aaf |
|
BLAKE2b-256 | d0d5808d1b4f507d70987ff188496d78df29300ea1ab0f0e157123ca82d439b1 |
Hashes for qdldl-0.1.7.post4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd16e857a0b8d200dd2f9ba6b0941adc42d822b3eb5fc02a455362fbaaf7da7 |
|
MD5 | c2b2d4bcde214d4ba925a60aec8998d4 |
|
BLAKE2b-256 | 9102e4510db8ea3601649b16e1fde835978ed65df48dda354c9eb73960b1f595 |
Hashes for qdldl-0.1.7.post4-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e5c88f428350bac03bca36fb05b7d062219298928b89f6072d565fc5fd43c4f |
|
MD5 | 6ebf2875b2d8325dac5b14839d2d0bfb |
|
BLAKE2b-256 | e8ad65908f6b9a7c5d2f67a8591117bc0cb01a8aece2cdd3e8e2f3455a585a90 |
Hashes for qdldl-0.1.7.post4-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 782d56522b134429a8e6b8c1a77477ff82665fbc0052808ce183853be7605888 |
|
MD5 | ab9561062c52a69e658ebb52ec5551e6 |
|
BLAKE2b-256 | 21baafa325348945cf1b3843c7402c457d0297b8513f6a829d7abc75bd6f09b5 |
Hashes for qdldl-0.1.7.post4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cec8d76f2588e83dee94d01a371297699f3701ac0039d304760ed8e25cd4739 |
|
MD5 | 92e4581a66b0c82cc379b0ef4d1e6dfe |
|
BLAKE2b-256 | fe9d6b90e81f063d28446f9e7cc4714c86f95c839d3d396f96d1257f623cb7c0 |
Hashes for qdldl-0.1.7.post4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 004e4c5c8c200f483d86b4c8a70c546b11a59501dbe24f811752998b833d679d |
|
MD5 | 05210503523f9ae488224cdb897a86d3 |
|
BLAKE2b-256 | dcd77977c44831756ffd9dd41a460bb2356f25dfd20c3d47290fb89884591a99 |
Hashes for qdldl-0.1.7.post4-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe0904e3ce11610ca663032fb8d6b0cfaae26699ae2659ac79aaf4049f32ae0 |
|
MD5 | 47b0141c2aa0857aaac9b1602a288e96 |
|
BLAKE2b-256 | 621b57f30d49c23f9ba15ea57b5eb8a46c882a93fd86b29d261d32ca17be6018 |