Skip to main content

QDLDL, a free LDL factorization routine.

Project description

# qdldl-python

[![image](https://travis-ci.org/oxfordcontrol/qdldl-python.svg?branch=master)](https://travis-ci.org/oxfordcontrol/qdldl-python)

Python interface to the [QDLDL](https://github.com/oxfordcontrol/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](https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csc_matrix.html).

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qdldl-0.1.2.tar.gz (67.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

qdldl-0.1.2-cp38-cp38-win_amd64.whl (71.7 kB view details)

Uploaded CPython 3.8Windows x86-64

qdldl-0.1.2-cp38-cp38-manylinux2010_x86_64.whl (852.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

qdldl-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl (83.3 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

qdldl-0.1.2-cp37-cp37m-win_amd64.whl (72.9 kB view details)

Uploaded CPython 3.7mWindows x86-64

qdldl-0.1.2-cp37-cp37m-manylinux2010_x86_64.whl (871.8 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

qdldl-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl (81.9 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

qdldl-0.1.2-cp36-cp36m-win_amd64.whl (72.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

qdldl-0.1.2-cp36-cp36m-manylinux2010_x86_64.whl (870.8 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

qdldl-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl (81.9 kB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

qdldl-0.1.2-cp35-cp35m-win_amd64.whl (72.9 kB view details)

Uploaded CPython 3.5mWindows x86-64

qdldl-0.1.2-cp35-cp35m-manylinux2010_x86_64.whl (870.4 kB view details)

Uploaded CPython 3.5mmanylinux: glibc 2.12+ x86-64

qdldl-0.1.2-cp35-cp35m-macosx_10_9_x86_64.whl (81.7 kB view details)

Uploaded CPython 3.5mmacOS 10.9+ x86-64

File details

Details for the file qdldl-0.1.2.tar.gz.

File metadata

  • Download URL: qdldl-0.1.2.tar.gz
  • Upload date:
  • Size: 67.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2.tar.gz
Algorithm Hash digest
SHA256 267cb4feb7ce692198e97fb8108f8ad2c18fc99c6dc102c19b19ed1a4b8359e2
MD5 2d3360616dee8d71dac08f2ee5183f58
BLAKE2b-256 83453ca412a90454a9c889449683087d462bc703307c34465a4eab7c3dcffd3a

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 71.7 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5be3d5cf24aad30165eb86fd6252452bcaeb071582bfcd47bb54d9e844f79515
MD5 f76e39a27c34fa5c62c30a328481fbc4
BLAKE2b-256 244e2fe25b3862c5dcbc7b3b3299ed76888792e78ff67449bf30d1057e0f6ed9

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 852.3 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9580a90fd32387077ac27b7caff947fb50c2497757f1f081af18f59257c9af80
MD5 b2974087ff36e676721dfa8f1940eb0a
BLAKE2b-256 6254f4685cfcf6a0646b6b20d23a1903007f21ed86ef394a380ce9e4cc1b5d64

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 83.3 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 03ba210d9d7e36894f294e8aefcf057123b6e463ca51f7de9c9d309646c196a2
MD5 1cce8bda6bc1dc3b0f6c5aa54562a932
BLAKE2b-256 688ab2cd52c1b4526730e6c1df9301e00f1be79d27005b1c589951d454e98dab

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 72.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e8632b7013aef10002c95b82b5cbcb6be65b026adaab7cd9c4c6b894a82fdf8c
MD5 b48cd71646c51bc75123ac754fbb2d79
BLAKE2b-256 9759f104ab00e1d0e2d0c4eb2f69a40dd0addc14413579a2760494f2a2b14dd8

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 871.8 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 73dbe255875b3ba4f8b1a72316200d8f300ce2c9b93d255ec2d8d7c75f47a434
MD5 a7ccd7788505d606d864c61df04ff307
BLAKE2b-256 06fb90f7f8cdda11f2f1aedb0525d606cb61d9963f2941b3ac46e55210ff5187

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 81.9 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 be57454fd59434f41d6c138bed1e10ac636b86be6576c3a85e3272c0b7c81c12
MD5 6d96bb6eddadd04dce9c5fb2d4d9ae91
BLAKE2b-256 2c60742af9da356a0c8f4f6e6aae10f2be2bc76a9d2597b0a56ace93200b8ebe

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 72.9 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 59302cd0bf33979aa8244d4cef263499607132a925cda304260384685f60d9c9
MD5 d7f4e57ae50169f37fc3333510cc4460
BLAKE2b-256 9ccc3ca1ca3b0a4195fe4ac8fa7f4c4c7501bc05a8d1d1350c77c8cee6ad354e

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 870.8 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8c3ae128d6f53c10ce78fda189d00937ccb408326e75341c4f71b91274fc80e1
MD5 1b46fc6a4ce094dae53bef1ab349fa06
BLAKE2b-256 0d4dce8fbb96b262bb4987ac2e296f60dfab1a8d655cae7d0085e0f55a796067

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 81.9 kB
  • Tags: CPython 3.6m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c48268c0cff415d47ede85f1e331675807e87285b20e92a415d387a7bee5b494
MD5 9a869d035c0141636faa955935f8d42b
BLAKE2b-256 2e1ab48b143b271190e43798794cb2f10c3823b3f542f4205b496e59d674446b

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 72.9 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 5b2af2be8ac2f767783bb0b783b64a17ad99a7fc839c01865564ada0095519d6
MD5 a8e464551deb3bef9244d8723ed0d4ff
BLAKE2b-256 c66fad2606725132f8b1ddc1180b32f19244d6e1806353b466a878201f4e272d

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 870.4 kB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 d1c16acd5b7d15459df3b437249329a72697f00b03716d555f2bf263334d657f
MD5 8667c18f1dd17982906c1b372424823d
BLAKE2b-256 6a6031cfc59c4d169679d331c71dab152c8d36f9d9c3162083c735b2df7cf13c

See more details on using hashes here.

File details

Details for the file qdldl-0.1.2-cp35-cp35m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: qdldl-0.1.2-cp35-cp35m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 81.7 kB
  • Tags: CPython 3.5m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for qdldl-0.1.2-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f14cfba8cf3414e99c70366de53927ef08e57de7d5ef3b2021a0b4c6bfda229e
MD5 d3a7ca2709805fea196d2a588ef2ae03
BLAKE2b-256 a937f0d433be0c2cf0686414172a1b0677ae369be1907e842903df3e6cea0e07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page