![]() |
WPILibC++ 2027.0.0-alpha-4
|
Solves systems of linear equations using a regularized LDLT factorization. More...
Public Types | |
| using | DenseMatrix = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> |
| Type alias for dense matrix. | |
| using | DenseVector = Eigen::Vector<Scalar, Eigen::Dynamic> |
| Type alias for dense vector. | |
| using | SparseMatrix = Eigen::SparseMatrix<Scalar> |
| Type alias for sparse matrix. | |
Public Member Functions | |
| RegularizedLDLT (int num_decision_variables, int num_equality_constraints) | |
| Constructs a RegularizedLDLT instance. | |
| Eigen::ComputationInfo | info () const |
| Reports whether previous computation was successful. | |
| RegularizedLDLT & | compute (const SparseMatrix &lhs) |
| Computes the regularized LDLT factorization of a matrix. | |
| template<typename Rhs> | |
| DenseVector | solve (const Eigen::MatrixBase< Rhs > &rhs) |
| Solves the system of equations using a regularized LDLT factorization. | |
| template<typename Rhs> | |
| DenseVector | solve (const Eigen::SparseMatrixBase< Rhs > &rhs) |
| Solves the system of equations using a regularized LDLT factorization. | |
| Scalar | hessian_regularization () const |
| Returns the Hessian regularization factor. | |
Solves systems of linear equations using a regularized LDLT factorization.
| Scalar | Scalar type. |
| using slp::RegularizedLDLT< Scalar >::DenseMatrix = Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> |
Type alias for dense matrix.
| using slp::RegularizedLDLT< Scalar >::DenseVector = Eigen::Vector<Scalar, Eigen::Dynamic> |
Type alias for dense vector.
| using slp::RegularizedLDLT< Scalar >::SparseMatrix = Eigen::SparseMatrix<Scalar> |
Type alias for sparse matrix.
|
inline |
Constructs a RegularizedLDLT instance.
| num_decision_variables | The number of decision variables in the system. |
| num_equality_constraints | The number of equality constraints in the system. |
|
inline |
Computes the regularized LDLT factorization of a matrix.
| lhs | Left-hand side of the system. |
|
inline |
|
inline |
Reports whether previous computation was successful.
|
inline |
Solves the system of equations using a regularized LDLT factorization.
| rhs | Right-hand side of the system. |
|
inline |
Solves the system of equations using a regularized LDLT factorization.
| rhs | Right-hand side of the system. |