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.post2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655f5e83c9e46f2d9b32508852d92b6e8fa6d166a6f48960aac54e81cd578417 |
|
MD5 | ea60bae7b0eac84f6ec05fc5964b8c12 |
|
BLAKE2b-256 | 58ba9b71b8eb16a5aba9ccc0c905a431aee9004d9b70b3f372b2af40a6e12698 |
Hashes for qdldl-0.1.5.post2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 227fe8988a86b9f9ed341ad20d11502789b4d05bceddb09a47dbb24b08d79966 |
|
MD5 | 7476e7d684e756bd82fe48e632a7cf68 |
|
BLAKE2b-256 | ea4379de2e41f8dd97412fcb0efad632ecc7652681d915532dab7c6ee92b4f33 |
Hashes for qdldl-0.1.5.post2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 408a34b735be5425dc088cdebb1129f0f5d8cc9fd8c888fc9ed0bd1a02a65d6f |
|
MD5 | 3ee9c04a356a4e59102ff0c78648d753 |
|
BLAKE2b-256 | a21ab2349512a75a99156362541684734a5adbdba1ad9c8fc7acc4584f620d29 |
Hashes for qdldl-0.1.5.post2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5269f40521b12941f1334a162f8f06375df6a89f0f90d8a758ae3b83b8931b18 |
|
MD5 | ba663fe9dca8325fc469285fb7492ef3 |
|
BLAKE2b-256 | 4238c79abd35ca5c969b63b2029d26b509f9b30cd0a7ba61c0d4256685992456 |
Hashes for qdldl-0.1.5.post2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15d0fbff31aa19195b135ca934cf75025d46a275d915eebb7c11a7d16e148096 |
|
MD5 | 225a64490314f03e4a27cf84d7c41a6e |
|
BLAKE2b-256 | 551182ec534dfaf71330708cf51be356e1dae5e61d02c9a8c8d484dc8360d5e9 |
Hashes for qdldl-0.1.5.post2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6f0f55bb853f10e3a2025193af2d1cc202697cc7985fe7785d681114c5b3cdb |
|
MD5 | ba804a253c702c38df676ba8574331bf |
|
BLAKE2b-256 | 933347d671685d0966504679bfbdc661347f8af8eb11829b91fc2a64919995ad |
Hashes for qdldl-0.1.5.post2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b19b8509f529fa6fdc8f869f6172d5c89587b657aa24d958d339de3bc47a73 |
|
MD5 | 32f81fb97ed4539de0df067dc83f6d6d |
|
BLAKE2b-256 | ad99f3463dafc1edd722b3a9fbd1000e122e8c335f9fe6bb8b90f6fc1bca8d7a |
Hashes for qdldl-0.1.5.post2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438b303b8b7b95531d93b457657ec89e742bd90c9a72da1eebfb51095007922c |
|
MD5 | fd4e9841d4c9ddb65bebe53e6eef4109 |
|
BLAKE2b-256 | 10dc49f51e983e3006f3a42bf690186e41311e2154a0a79bc7a8656b22ec194a |
Hashes for qdldl-0.1.5.post2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffbdd5bd07f2340ad2ce01d44cc95223ffa256136ac5dc32f4f80926701640fb |
|
MD5 | eb934adff0222097ae5bd93baf2e7751 |
|
BLAKE2b-256 | 7f685f420796e3e029ad50715e704facd5a6ffa84961557906e84bf90ad10c83 |
Hashes for qdldl-0.1.5.post2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b3079837c0ec86136b4a29b3842eab7bfc7a5517d751a3e5d0d5c111a2e523 |
|
MD5 | 311cb5b60b42b5f9966a75aa9d4ab272 |
|
BLAKE2b-256 | d4717615bacbd511b50905694693cf1113e8734a3020669576066bd68d56a680 |
Hashes for qdldl-0.1.5.post2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 879cd43b41babda79d4896f6b5a79dfbf96be5f13489553c793659116a2e9ce4 |
|
MD5 | 0a897ba9c6b4ffe1d4717f2fa694cc89 |
|
BLAKE2b-256 | 67c17e70c265354c4bcb3a657b94bf7365a7249fa7b2ff268f3257b93dcc69c9 |
Hashes for qdldl-0.1.5.post2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa7057d8888ea8ebba859da8b25d40e10e2f12013f6b0b033c9ab6e68cd10763 |
|
MD5 | 79bc883d1d7370730a2a193a04cfcd0a |
|
BLAKE2b-256 | 5ee9c65c82fb07f0dd4325f8ac0426015a8a35567242aa0f40f20295a5cbd224 |
Hashes for qdldl-0.1.5.post2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab77ca440cbca98377e3ade32860c8d7e4fa97759d6266759a7e2f718ec4ded1 |
|
MD5 | 1d525b4d292cd0e1a7128132f33fe8ac |
|
BLAKE2b-256 | c3a28f29441164a587f5bc982382a8e4d78adddf6a72a7160c887a59878b6c6f |
Hashes for qdldl-0.1.5.post2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae054e987066ae861c0bc648a7cdd523cfb1849353bc9b1591ecbf2a55ca8b7d |
|
MD5 | f816b03c9b4089d0e2b3f27b4cfd001c |
|
BLAKE2b-256 | 4657835640994985a413323e8132ee26459da64cbf745e1efcd8ae9f83797b09 |
Hashes for qdldl-0.1.5.post2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae0b70e7599dd58ef16d6500947b8d2bdd4272ffbbd2ebf5c516691fdfb82212 |
|
MD5 | 6fe966ad83fcb596b1015df8dd2be9af |
|
BLAKE2b-256 | f10bf12918525030aa52c583e814fde72886bb07175ede3c44cdbcad6bed9e6c |