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.post2-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a612a4dfd94f977c5c9a4389363d4c661f54a6df59c75d462adb93922d92b45f |
|
MD5 | abbe171f055eefea02b962f400af593d |
|
BLAKE2b-256 | 8cc21975c9cb10e04b8e4dcb5ddc7659f4562bfc7646f4c815656a6143cec3aa |
Hashes for qdldl-0.1.7.post2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e5572de51c7c86b6f30cd1b5a88dd5459d48e1c3432b1a04c2f4ad669f6e827 |
|
MD5 | 2b31d9b73018d80519180345f52b50ab |
|
BLAKE2b-256 | 76d1baca0e743fe6c5fab4c3178586e4d30bfcf8db0e85e3e0b10bf42cf66522 |
Hashes for qdldl-0.1.7.post2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90982ca5069077cfb8ba9ea7422c6e2a80a3af89266252d1e7a51ea5e87c8188 |
|
MD5 | 32a277ccb7a0628092c71502bcafa3d7 |
|
BLAKE2b-256 | b8135e38a2dfd31e75499cfb161c99b81ea3aae158344f53a9b208ed90bda253 |
Hashes for qdldl-0.1.7.post2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f14cda7c484dbe78e333bb52849031081d37e7e3bf961ed7bb77ed11489f16f6 |
|
MD5 | 45c77922a16ac6e6f238484b01ae24cf |
|
BLAKE2b-256 | 83fcb45da2af1828b7da89156937425755e5b5938fb2050fe42c59e9842a4bf9 |
Hashes for qdldl-0.1.7.post2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa5cf2125dea734f8977df22859b3826fae8960b35caf75cf5b16306ff1d1dc3 |
|
MD5 | 9510dc310271742a96f99fb887a060cf |
|
BLAKE2b-256 | 0c95e10ee3dbd771dfac5ef1ca43a5538bb7bcd4678a2a86a4c51ee17134c2a6 |
Hashes for qdldl-0.1.7.post2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25180228613c66a5af7d6a648920fb71122e1ed58daf09621ed6b939b7f9aa04 |
|
MD5 | 897b427894684d4e56ac10e681f60ee1 |
|
BLAKE2b-256 | 98aea4cb3856e0f2462506b8662d38848520f94c55dfb88265e12e185c888249 |
Hashes for qdldl-0.1.7.post2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02d6b531fe669f8894f97f697da88fe3f1c3af0c7ef12f260bf1d20e8e70f0dc |
|
MD5 | e4a929b13982719fff833a86f5ce0753 |
|
BLAKE2b-256 | 5e82d9834e92481eaa65cc4d5a8a53b05a60e86bbc5d637c9051f31a133641f0 |
Hashes for qdldl-0.1.7.post2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f93cd0b3338ef53efa512168d32991bff00b292d6eaf5e35427ca84622158132 |
|
MD5 | 19f8f7fb5b6d43124eae4255158a76e7 |
|
BLAKE2b-256 | f007ab8de8825e90ab45625aa32b888618f139cee594e6d766d2ae4e92269362 |
Hashes for qdldl-0.1.7.post2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c8d39035a64fbe4dc8d73501a444374787c087b202e875f6f0cd7e7ca166e25 |
|
MD5 | 0562065edea9c5b90d644ff0a3fae2fc |
|
BLAKE2b-256 | ebf8af41ed9293cbeae80d37222380603354ac40d666fd614fcae9883239fe4b |
Hashes for qdldl-0.1.7.post2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7dec0fba6204e83aa4b5e71e84ea2e89cfebeef5b47b70443f8cf9fa12a9752 |
|
MD5 | 632b1706e1de9e0162de61665c44a0a2 |
|
BLAKE2b-256 | e13cd9ae1d9fd3745afdf245459f7b11c3fd268e82795042f140b1e899480e32 |
Hashes for qdldl-0.1.7.post2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22bc364e665ea8a2f8f661dbd22321ff365663b33b9ceaf429b94c2661cd11ac |
|
MD5 | e8af905c9f763a049eb579caae1c3d3a |
|
BLAKE2b-256 | f5065deada26af2c37be9b95e955edd20b38f342f9b640cd40a4772395e4c993 |
Hashes for qdldl-0.1.7.post2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edf202648cb0377fd78dd1e59816ccd92fabdee676eb3a7b618c66b393634d10 |
|
MD5 | eafd2e884a693752b8490f65bd808c2e |
|
BLAKE2b-256 | 77148c8a1a7a899bb6a3f3ab307d389bde608af2c3dabf252a78abe1d4cc4b16 |
Hashes for qdldl-0.1.7.post2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c08e68cf7c051c0ce9c3846cda60a9c10aa53eb6b240998362dd6fd9410779b |
|
MD5 | 74912fe760e15df2b1c1c87b3238dcf7 |
|
BLAKE2b-256 | d41e2952d72dc51a4b876a03b39c39cfa93ded98257d34a7d482ae88d1886f8f |
Hashes for qdldl-0.1.7.post2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19825b998202dcd2579182a0a46350bdd95421ec65fd7579326083dc9f1c4d37 |
|
MD5 | 101c5981b4529a89e3a44a0a4604ef2b |
|
BLAKE2b-256 | 21754118b6933fbb9e4a4c19bda4edd21ddd8639759d6fad987fd76d6e0ec5ee |
Hashes for qdldl-0.1.7.post2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77547f9e58522b2445b846ab6f0fd09a689f9fb2c0e72d44d14f631054d7dd55 |
|
MD5 | 734973827c6be01bc062038ca8970e8c |
|
BLAKE2b-256 | 824cd0943729ed79f75970d2a8c9bfc26dad3d0678cc47e646747cddc00e6184 |
Hashes for qdldl-0.1.7.post2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c2157ea1c2f691c956d92895722777eaf8c9ebf9c2c1af4a0b947eccc8b31e |
|
MD5 | 17f041a8984918d45b44a8b076fc1dab |
|
BLAKE2b-256 | d7fe40fed17c734db09695535c507c66e0ef675e8cbf1bcb576740a3478c8621 |
Hashes for qdldl-0.1.7.post2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e01593cd46c86f5812f1362987bc8ab1080c493f4c7e436e144d2c10481b81 |
|
MD5 | 63da513e98baa1120070f08b6d4e1558 |
|
BLAKE2b-256 | 70bfe8db8c4e633fe3bc1d05cd83a921007cedf89a3b0c2f2d3bc3cabbe6c18a |
Hashes for qdldl-0.1.7.post2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8206013ec1fb4c6a396aeb0ef0c68f07d85eb5c22fe7e31cb8307f05787878b9 |
|
MD5 | 8600cf5dd0d65df8e16323491e589583 |
|
BLAKE2b-256 | 64600c9f76b0d45d8cb869cc1169db3bfdbe07c7c77ca1f74603b464b62718ba |
Hashes for qdldl-0.1.7.post2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f686923c983f62fc7ccc7ebda6fd6ed5f623d299c211933896c7d396c88bb012 |
|
MD5 | 7f8fe3f39203f588804e9fa743848415 |
|
BLAKE2b-256 | 3e837fcc8a1d06893bfbdbf691c10641ba6fccbdc0f41bc1a15a9ee1ed740a1a |
Hashes for qdldl-0.1.7.post2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b833a64ee32d1e14a3acd59c3e62ea1dae551e6bf3265e42cb4197c4353ea02 |
|
MD5 | 4469f50558458eb883c5571709662bac |
|
BLAKE2b-256 | 9efe00c9f0513c3267c3d1943a99e990e8cc5bef5dd4ed6c0023a0bec098a490 |
Hashes for qdldl-0.1.7.post2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97929fd925833306e3c625c92813ac0dea9a53e6b9f680e2c5da9f0c1c641b19 |
|
MD5 | 5c503f5d89d54ee2eb7bbdbd2474ac33 |
|
BLAKE2b-256 | 5a74e5cf565e749fd911c671cc44d3c1d2f4fbecdf907f21e12f5580750101d4 |