Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.27 KB

QDLDL.jl - A free LDL factorisation routine

codecov

QDLDL is a factorisation routine for quasi-definite linear systems Ax=b. This is a pure Julia implementation of the C language QDLDL solver (https://github.com/osqp/qdldl) with some additional functionality implemented to support refactorisations.

Getting Started

QDLDL requirers Julia v1.0 and can be added via the Julia package manager (type ]): pkg> add QDLDL. Make the package available in you project with using QDLDL.

Using QDLDL

QDLDL can be used to solve linear systems Ax = b. Given a quasidefinite matrix A and right-hand side vector b, compute the factorisation F with:

F = qdldl(A)

Solve the linear system for x with:

x = solve(F, b)

This will allocate new memory for x. To solve in-place and overwrite b with x use:

solve!(F, b)

Authors

License

This project is licensed under the Apache License - see the LICENSE.md file for details.