Giter Site home page Giter Site logo

controlmatrixequations.jl's Introduction

ControlMatrixEquations.jl

Solvers for Sylvester, Lyapunov and Riccati Equations

Build Status

codecov

Numerous forms of the matrix equations below (in terms of symbols, signs, and transposes) occur in the literature and other software packages. The ones used for this package were chosen to be sensible in a control setting, but is WIP.

Linear matrix equations

The packages provides direct solvers based a vanilla implementation of Bartels–Stewart's algorithm. If there is no method schur for the A or the B matrix, there is a fallback to the "naive" (Kronecker product) method, this is useful for, e.g., symbolic equations.

Sylvester Equations

  • sylvc(A, B, C) solves AX + BX = C
  • sylvd(A, B, C) solves AXB - X = C
  • sylvg(A, B, C, E, F) solves AXB + EXF = C

Lyapunov Equations

  • lyapc(A, Q) solves AX + XA' = -Q
  • lyapd(A, Q) solves AXA' - X = -Q
  • lyapc(A, Q, E) solves AXE' + EXA' = -Q (will possibly be changed to to lyapcg(E, A, Q))
  • lyapd(A, Q, E) solves AXA' - EXE' = -Q

Riccati Equations

Schur-factorization based Riccati solvers, including extended pencil versions that handle singular and near singular R matrices.

  • arec(A, B, Q, R, S) solves the equation A'X + XA - (XB + S)/R(XB + S)' + Q = 0
  • ared(A, B, Q, R, S) solves the equation A'XA - X - (A'XB + S)/(B'XB + R)(A'XB + S)' + Q = 0
  • arecg(E, A, B, Q, R, S) solves the equation A'XE + E'XA - (E'XB + S)/R(E'XB + S)' + Q = 0
  • aredg(E, A, B, Q, R, S) solves the equation A'XA - E'XE - (A'XB + S)/(B'XB + R)(A'XB + S)' + Q = 0

See Arnold & Laub (1984) "Generalized eigenproblem algorithms and software for algebraic Riccati equations."

controlmatrixequations.jl's People

Contributors

olof3 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jarlebring toshj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.