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.post1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea5657a8a675efa32a8280cf85043b9b4749bf39f1903e3011cb4bd70427d807 |
|
MD5 | ce31fbb27133ffb1f1c5073f45882174 |
|
BLAKE2b-256 | 0156b472422d3e311af08cf84964bbf61c9fd11f18789bcc60a415bb88ffb4c7 |
Hashes for qdldl-0.1.7.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59f5949df82e9b4a543047c510d895cddd8ff2887450d256c660a109e4652df9 |
|
MD5 | ac809f7da99dc3b3cf02f966050870a7 |
|
BLAKE2b-256 | 7b86972916fc493525aa931d890f25e1d62d5796c3aee31905e750222e76e747 |
Hashes for qdldl-0.1.7.post1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db90a7b17c0f7109cad8024eb18ea86d3632c15603c44c4c2e4dd56afaff4a84 |
|
MD5 | e789a0d4ccd8db9f417c30941e44ab97 |
|
BLAKE2b-256 | bdc40f15ff96899074acbd3c1c5f6f37ef6c6d09886f3d965ea387387a20cf70 |
Hashes for qdldl-0.1.7.post1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22f470b9d5d80c2207ae5dc6f3a1de7b5f0bff65769356da8aec184993b4a4b5 |
|
MD5 | 5cea9e505d3833c3b254fb838db7a01a |
|
BLAKE2b-256 | 0b8f2bf67fb152a41914417b11d6571d70eea908966310ce690c65f156a74aca |
Hashes for qdldl-0.1.7.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 716493b517bfd8abcbaf954a55203b4a9b48339ed098e70055c80093d9ab89b2 |
|
MD5 | c72a4e7cae591d96dd3fb16255be874d |
|
BLAKE2b-256 | 22f0864914597f481b6584c886b5920c655481197feb9762564268020d83f750 |
Hashes for qdldl-0.1.7.post1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77311b7446be609cbdf23cc7e9f7494d2106b697cb874ba93692c08854c166aa |
|
MD5 | c98cefc8c961075f8d197af0d4eebe4c |
|
BLAKE2b-256 | f82cb0f4a238df7a749ed8f6a02c973c04fc1f48f50171af634383aaea85ffe2 |
Hashes for qdldl-0.1.7.post1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cfbe199187f2480d628d208c8df5aea8639fca98a3ed55b8cf01379aa93ba28 |
|
MD5 | 0606749119227a1922746f5eb8dc8f85 |
|
BLAKE2b-256 | 7295d03b897e10c39aa5a7dbf936585697a68c402dca3e02b95dd4095db164dd |
Hashes for qdldl-0.1.7.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44a8f3847ee2a7836362b8d5a9708dc2f4b9ed3b9a5ad4473e7d8c1ef58c3db1 |
|
MD5 | dae5f4916143af229d88ab551cd0096c |
|
BLAKE2b-256 | 3718f34e2695cdb73fb9e35634358d8b82c5828d5a83160d3c616949571c3366 |
Hashes for qdldl-0.1.7.post1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17ef229fe87651a858ee50951a78b67e58b267997af8da16518bf19287101d86 |
|
MD5 | 84f6c63576d9e99eed7bdc803468f75d |
|
BLAKE2b-256 | 01e13feeb644c7130d4c8bc23220787f3c58cb695d1ee5e3fe56a16b86a69acc |
Hashes for qdldl-0.1.7.post1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff1ef3f0aa4cbe0bfd6937eb9742aefb9a13bdeda2f732f2aaa140d0883e6c40 |
|
MD5 | b51fd53b7db9ca5d7239db8c8f377c3e |
|
BLAKE2b-256 | f7f8262485de7c3045e1a48c02c29fc227391a698fb6b4347fea5a26fcac25b2 |
Hashes for qdldl-0.1.7.post1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b1659265e24b50a61c7c7e030f4b2962859c1263793f6d55a266a0434fc64fd |
|
MD5 | 958a61f1b24d98e8b177774c2cebbadc |
|
BLAKE2b-256 | 66c1c5290b254e8eba5e12b0ca5f4ed75aa859467790d95af23412dfda88276a |
Hashes for qdldl-0.1.7.post1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ffbd4c6da97f8a8bbd16bf2f1e3571b88cf0612fc2103efe9c39106abb02f2e |
|
MD5 | 01fa8f73aed64b597cc26a9c50337488 |
|
BLAKE2b-256 | 72e78d6bd4ea19fbc84b58a82f10355073d4ff7f0ae2641af9a4d6f198da6e4f |
Hashes for qdldl-0.1.7.post1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30bf5f9302e3fde81a81ebcd6d877f442d0c9369c9e23a38026f740f948d78c3 |
|
MD5 | f6bbdb5c46e8c5eef250b3761bd45cbd |
|
BLAKE2b-256 | 03286b09aaf7916e8e743b54c7877f0865e5496a7ebe0777c72d68390ae66fe7 |
Hashes for qdldl-0.1.7.post1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d022563209f80ae230e364b402e0691b2f082080bbf32d8ae9d7b40a3e431519 |
|
MD5 | 378d8692d54735e3dfeca84cece61741 |
|
BLAKE2b-256 | 695b27b6d3bf172ec439221012f4ab5bf60e0a0ef7630c72a846928496095826 |
Hashes for qdldl-0.1.7.post1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ed3fa56083215ac28bbd53251c367da11292a4e493117f7e716c2112ed7e2a |
|
MD5 | 21e51f1a13c668fc77b7428616180dee |
|
BLAKE2b-256 | e6bf593811dbcedefbe75ac9b2e23a5a16d9a2cbaeb17fa0f0cf3248a2c689ba |
Hashes for qdldl-0.1.7.post1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a390f123e6d0478c42f3a9de0eca34a0510cb3f20a5019210dc7f8388e026de |
|
MD5 | 5b087a0dbe64ef17c7fd14bdef5c5ec9 |
|
BLAKE2b-256 | 64e9ac0ac13437bb868bb0a99c8340de8791284fb42ae95a1b44a465ee2c4dba |
Hashes for qdldl-0.1.7.post1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 298c97c18126f47fb20911d3e96f1a8198da9db7b6bb33b99fb92beef7f430aa |
|
MD5 | 4ade8886bd15c17b4e6085b3b88c0b9a |
|
BLAKE2b-256 | 6d7e2479169e4f17494ecef2b2851d54406c591fef0511ca260bb52bcf537b7c |
Hashes for qdldl-0.1.7.post1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a129221d17a3835ba52b8fb11586549f47bd16dbffc54eeea04e669568cc35fc |
|
MD5 | 18597bf0e8483e2ce8de3efcd6af2d29 |
|
BLAKE2b-256 | 7b7f3de90323fd577834343bcdbee1d771a5caf4a497c1365828adce589c9186 |