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-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6950539353fd1acb2fbf7d5851930d543702862f9bcc11672d8c92e4f3f5c777 |
|
MD5 | a6081b9bcd0512ab3c02303bcbc8e71b |
|
BLAKE2b-256 | 251e4729826b7537d8a3de893eee7adadb537db5ca34dc66c169f5a259b987ef |
Hashes for qdldl-0.1.5-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b49c525dd8ccf416df726931439c9edac8407e4353c0d4a00dadeaed4a9de8 |
|
MD5 | 0fabff82441068fb5c099491523b8d8c |
|
BLAKE2b-256 | b06f8d0ffffacbc236918bcf7531f619c6da6399670642ee017027442a904180 |
Hashes for qdldl-0.1.5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f5842eac91dc956c8790c65b7685d9ed5556f9d49658ba0826377411933833 |
|
MD5 | a8ebbbd94b2a93d23163da96db79f82a |
|
BLAKE2b-256 | db55d8e4f8dd76cc79a97765bb2053f003a504df819ca28781ab82cbc19d6e50 |
Hashes for qdldl-0.1.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6608b9030587213834103d00fc62b8913f282601b9960d7f0ff45badc608b5a |
|
MD5 | 077a0ed7dc067ab1eb884dbe16f0f008 |
|
BLAKE2b-256 | 86652c8ffeb9fb5a73f675ea2a86c1a156ea126489735e988666ad84d3f9d7ba |
Hashes for qdldl-0.1.5-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c02458df0d5ebd324449106af5606c36c06bfe67777151bd089019e433f498f2 |
|
MD5 | 62aa2c937dfaebae6c2b50d19c888b2e |
|
BLAKE2b-256 | 562fde1bdd6e70644176db19d259573dc62f8d378665a3d15d1e7da81b04658f |
Hashes for qdldl-0.1.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32f4771a80f370d584411ff3b406d800c057c5207a559ffcc11329f7245d2a11 |
|
MD5 | 50074abfc3cb6d54320a0dc9b89215a1 |
|
BLAKE2b-256 | 87a2562623457455f267f7a38fdc638b78b80b4eac077ac0e0611d812f570c37 |
Hashes for qdldl-0.1.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acb6e7e5f75fff0fb2c13a5df024d33611273d48e98d927620ccbbd073c7d7bb |
|
MD5 | e705686cf20a2462f3aca43f6a6003df |
|
BLAKE2b-256 | e4c3070a5e9690560c9358cbeea0dee6121609d8de04c4d33d8fd03f926cb0c4 |
Hashes for qdldl-0.1.5-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3d03f89fc93002742fd03e329d1e5e4410a7d31cf48fcb8a11b506a0c9145d3 |
|
MD5 | 15353a2bbe81e060a5252f670824cfb1 |
|
BLAKE2b-256 | f106bba8d46cf6031ebe93b8653d34a7b540b0dd8709d019cca43302cdee94a1 |
Hashes for qdldl-0.1.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3048be519024b55a9a2848102ddc6dc492a0e7e4a8b2f8f27d3037941af92e54 |
|
MD5 | a770e50f188977ffe1fde75a34aeff85 |
|
BLAKE2b-256 | 9badad03c56c1fb730ad1f2fbf8a12bb95f6b0844245ab227800a07ee88d4551 |
Hashes for qdldl-0.1.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f0d6cf3fdc8837f0b3791969914d9bbf49ab6312645f53d7be8aded75866aa7 |
|
MD5 | 9f5b59776ea490a3e07aa9fecf12b247 |
|
BLAKE2b-256 | 060cc2622f547557ad2bf8509ca9a319c0b11531566c0e76b0d117c01e7dd1b7 |
Hashes for qdldl-0.1.5-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0763803d30d49ef69a1ce589af89e3097c5a93cb2f7c2799d9d2730f3328fdf4 |
|
MD5 | 01b0cdcb0c848665a06dbb0f4182992f |
|
BLAKE2b-256 | a3cdd068b256dbb70152eeb87215b34532ced6ed3cda5019933418f011d3f266 |
Hashes for qdldl-0.1.5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bad8d2cd89e8cca6eb0f99663d0e41834b58635ffe7bf6170a4f014bd6ce8313 |
|
MD5 | 8be374db588c3638351e89aee30dbff1 |
|
BLAKE2b-256 | ad1f3edaf1162bf61d16bc9a8788c90710e82ab6372c1936bcc62ea8d6b84eec |
Hashes for qdldl-0.1.5-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 950cf2751b46771408101be2ff8b893f7508a5acc413dc573e9fcb5d1df49a69 |
|
MD5 | 0bd52cc70c14cf7da4309aac4bbf00d4 |
|
BLAKE2b-256 | 2ddffc3014a5bd25cbc60816339955d4c983f8fd24107ebc4be29157a8ebc1b3 |
Hashes for qdldl-0.1.5-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96f19bb74ab6381ab50784b33d470c6430adb3e6988028743e8d7da1fa2c4dbe |
|
MD5 | 345607b51ff5fdc025a11369c9c285f8 |
|
BLAKE2b-256 | 49612eb49d46ee7791cc939856d5647a7033234dca500ac0fe9c221ed8491898 |
Hashes for qdldl-0.1.5-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02af37e952e549d8d436c89602cf47f860a093c95c22a02929b05bc98d0b082e |
|
MD5 | 28e5c855c400eaa390d29f315e7f6b51 |
|
BLAKE2b-256 | 64fc44b156727a321196752376a35b99955ea9e8550083244bc0c798af7e1b2a |