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.post3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78b4581d88725f96e55be80ce4d40bf33160dff4c1e4db6390e524cac396354 |
|
MD5 | 5cde1d3fa7db6f41be3169d8753a12c5 |
|
BLAKE2b-256 | 2dd46f2f1ad1023a1c7ae80af020b55945c934c93097868d3ffb1857df5d4807 |
Hashes for qdldl-0.1.5.post3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 968ececcc286a8c821271eba455beda03c2f9b4e302ad44913a454e171d718b2 |
|
MD5 | 03216898192fb2533487ee36df753290 |
|
BLAKE2b-256 | 23bcdedc0c01abbdfc9b570515b8705f89e9b4c404a18bead53dda9b6d502a75 |
Hashes for qdldl-0.1.5.post3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f06f4b471062db4944091e04ed4bd4d03284709af0d0b5d2628e5e8561fd2f0 |
|
MD5 | e16cc1e78e430f51dfb9a387ba7bd61c |
|
BLAKE2b-256 | c81ca4e74c3920b8afe8d2f37395cca0cd360a6634f1b390b642b6f98dba1ecb |
Hashes for qdldl-0.1.5.post3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77edf89cf6ac1072180e5715c281a77c976d210126f8f561dbceb360ca537cec |
|
MD5 | 30293f755b0b7cc3751c3ed8c6610983 |
|
BLAKE2b-256 | 2eb7a9bdfe296bd56093c3f4b46622d62b28d06a7b95aa262cfed645f66f072e |
Hashes for qdldl-0.1.5.post3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f788112765fa9b696a76d353c98b922dcf2b89d7b0d0c08f22d1a3777ed0c5bd |
|
MD5 | 0193d42836b94288838987381bb6d145 |
|
BLAKE2b-256 | 5f38d5c0550a66cf03ef3a1ba69381268756ad9de04977c834736e5b8a3598d0 |
Hashes for qdldl-0.1.5.post3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68e5bb0f9208024109a8e4b1df7079a35f0d6566df2e89e52770773a3d5a9fc9 |
|
MD5 | a255769d5bba693515e44bf6caff4cc2 |
|
BLAKE2b-256 | c36ad3741d1e09d89303510c2f817978da6a698682916226451a4eee16412e39 |
Hashes for qdldl-0.1.5.post3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdc475adb23ab765248db16cca9913a059faf793d7dc721c0162cecbeda39943 |
|
MD5 | be6874fd2e81909e9379587f1e73c18b |
|
BLAKE2b-256 | fbd70b05e7c75dbbfe715806fd174ce509e37a4432a5bb9ab34982f6e69df990 |
Hashes for qdldl-0.1.5.post3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2459024755f370eb83b27cb56026963ff137de7c9a2b303ffb16682c63ae6763 |
|
MD5 | 79994f4c2e55b60d9e7b456280a2f0e2 |
|
BLAKE2b-256 | b33aea31a3dce12e0ec8e3f2595b37b21a4ced0fc81595b352d004e7de944d6f |
Hashes for qdldl-0.1.5.post3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae796af01bca29c54d19f5c5b343d06a20ad557280232498982e5bd27556c4b8 |
|
MD5 | 23795b3f9a8a3c2491d57f581d9388c7 |
|
BLAKE2b-256 | 25cab65f6d6475465cdc4e588575fdb3a4dae9b321f780cf27ad3aae5bea163a |
Hashes for qdldl-0.1.5.post3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d9bf5f35f49defa5a16f13d5a5bc427caab106515bcb0731340781b76416c95 |
|
MD5 | 2d1d66aa65a393f5985f33de66389980 |
|
BLAKE2b-256 | 0bcd8672a48904accddceb240d517b70116a0a0089ea291dfec42ad2f81f3e07 |
Hashes for qdldl-0.1.5.post3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a496a900a16a9339f0ef315c960326b037fab243a2f01135f84b27155d10e0 |
|
MD5 | 2c0722a34787d82033d9a5842ea8b619 |
|
BLAKE2b-256 | c6d39574b4c92533c1cf94d97ed9a9a82e13772da8752a8f71c8e3d2070ac83f |
Hashes for qdldl-0.1.5.post3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 126c0ae50d63d377869a63551b6e69af1532605f545720eb699f04dfaea1c5ca |
|
MD5 | baec72a20bd20206c3f2292d6bab4ca9 |
|
BLAKE2b-256 | 31b62e4ba4eb1e710282e1d8579bd2437a5a9f60ae81f510625183b34d1bd0da |
Hashes for qdldl-0.1.5.post3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925c17bc75c3052d77613e435139c5c8084d4d68f81661711cbbf42645dd11bf |
|
MD5 | 7edf3cd72bc3449077dec53097334e57 |
|
BLAKE2b-256 | 54c52666532ae03666d5df317344efe2e1f52ef5c617213a89cd30497cc8cb99 |
Hashes for qdldl-0.1.5.post3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a5e1bea993e2dcd72ac8e368aa20e1741b6ac45c4a2cc3a8feb6acf6a80f959 |
|
MD5 | a64ee7776c2183b9d0e506e41e7a44b8 |
|
BLAKE2b-256 | a1978884bb255d8f53c66e4a409d50137023ae38a1c1ad0b241a4344e7048fdd |
Hashes for qdldl-0.1.5.post3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 949e545fa7b6bdb056a5e1d077307ecbd32e8ef03035f2ff25af6f38c18dab34 |
|
MD5 | f1206ae30c51232cdd408b5c380a2872 |
|
BLAKE2b-256 | 1340019ad108d94c69caf510eab45cfda00f7a4c67278fcd4f26f5a658fe31e6 |
Hashes for qdldl-0.1.5.post3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 809f1a15a5a8c7b0f1e679d52b7078f6aaba1401fa50e6513f170f8989ac0477 |
|
MD5 | a4a796fa2f412e95f6bd4ba54f1ecb7a |
|
BLAKE2b-256 | 3a17ec413ea65da22bd40f3f24708726e373e7d903f7a09764b3bc70d41626a1 |
Hashes for qdldl-0.1.5.post3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8f1d2bf5041fe35ce51585096e9061fc90c5d5cd42dc641d6436a16dc08983f |
|
MD5 | eb4d6a6740134d17a854c2e199ce91b6 |
|
BLAKE2b-256 | 3984a904af75b97c06c4224e5ec6da3cdd24ec8ab70097b3296ae75c37261d3f |
Hashes for qdldl-0.1.5.post3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f36babe00b8a6a08de0036463dfdd1c0507373ff38533d0668d76dff36bd6c08 |
|
MD5 | 118b21f6a0fe59900e11396a9098bc1b |
|
BLAKE2b-256 | 0874828b65579263f793d1310ef6bdafa01751285c09160416a70c4cd23f08bf |