-
Notifications
You must be signed in to change notification settings - Fork 439
L_233
[INTERNAL]::
Linear solver.
Create a solver for linear systems of equations Solves the linear system AX = B or A^TX = B for X with A square and non-singular
If A is structurally singular, an error will be thrown during init. If A is numerically singular, the prepare step will fail. General informationList of plugins
csparsecholesky
csparse
ma27
lapacklu
lapackqr
mumps
ldl
qr
tridiag
symbolicqr
Note: some of the plugins in this list might not be available on your
system. Also, there might be extra plugins available to you that are not listed here. You can obtain their documentation with
Linsol.doc("myextraplugin")
Linsol with CSparseCholesky Interface
Linsol with CSparseCholesky Interface
Linsol with CSparse Interface
Linsol with CSparse Interface
Interface to the sparse direct linear solver MA27 Works for symmetric
indefinite systems Partly adopted from qpOASES 3.2 Joel Andersson
This class solves the linear system A.x=b by making an LU factorization of A: A = L.U, with L lower and U upper triangular
List of available options
+-----------------------------+---------+----------------------------------+ | Id | Type | Description | +=============================+=========+==================================+ | allow_equilibration_failure | OT_BOOL | Non-fatal error when | | | | equilibration fails | +-----------------------------+---------+----------------------------------+ | equilibration | OT_BOOL | Equilibrate the matrix | +-----------------------------+---------+----------------------------------+
This class solves the linear system A.x=b by making an QR factorization of A: A = Q.R, with Q orthogonal and R upper triangular
List of available options
+----------+--------+------------------------------------------------------+ | Id | Type | Description | +==========+========+======================================================+ | max_nrhs | OT_INT | Maximum number of right-hand-sides that get | | | | processed in a single pass [default:10]. | +----------+--------+------------------------------------------------------+
Interface to the sparse direct linear solver MUMPS Works for symmetric indefinite systems Joel Andersson
List of available options
+-----------+---------+-------------------+ | Id | Type | Description | +===========+=========+===================+ | posdef | OT_BOOL | Positive definite | +-----------+---------+-------------------+ | symmetric | OT_BOOL | Symmetric matrix | +-----------+---------+-------------------+
Linear solver using sparse direct LDL factorization
Linear solver using sparse direct QR factorization
Linear solver for tridiagonal matrices
Linear solver for sparse least-squares problems Inspired from https://github.com/scipy/scipy/blob/v0.14.0/scipy/sparse/linalg/isolve/lsqr.py#L96
Linsol based on QR factorization with sparsity pattern based reordering
without partial pivotingList of available options
+-------+---------+----------------------------------------------------+ | Id | Type | Description | +=======+=========+====================================================+ | fopts | OT_DICT | Options to be passed to generated function objects | +-------+---------+----------------------------------------------------+
Joel Andersson
C++ includes: linsol.hpp
To edit, see writing tips.