robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Riccati factorization matrix and vector for a time stage. More...
#include <split_riccati_factorization.hpp>
Public Member Functions | |
SplitRiccatiFactorization (const Robot &robot) | |
Constructs Riccati factorization matrix and vector. More... | |
SplitRiccatiFactorization () | |
Default constructor. More... | |
~SplitRiccatiFactorization () | |
Destructor. More... | |
SplitRiccatiFactorization (const SplitRiccatiFactorization &)=default | |
Default copy constructor. More... | |
SplitRiccatiFactorization & | operator= (const SplitRiccatiFactorization &)=default |
Default copy operator. More... | |
SplitRiccatiFactorization (SplitRiccatiFactorization &&) noexcept=default | |
Default move constructor. More... | |
SplitRiccatiFactorization & | operator= (SplitRiccatiFactorization &&) noexcept=default |
Default move assign operator. More... | |
Eigen::Block< Eigen::MatrixXd > | Pqq () |
const Eigen::Block< const Eigen::MatrixXd > | Pqq () const |
Eigen::Block< Eigen::MatrixXd > | Pqv () |
const Eigen::Block< const Eigen::MatrixXd > | Pqv () const |
Eigen::Block< Eigen::MatrixXd > | Pvq () |
const Eigen::Block< const Eigen::MatrixXd > | Pvq () const |
Eigen::Block< Eigen::MatrixXd > | Pvv () |
const Eigen::Block< const Eigen::MatrixXd > | Pvv () const |
Eigen::VectorBlock< Eigen::VectorXd > | sq () |
const Eigen::VectorBlock< const Eigen::VectorXd > | sq () const |
Eigen::VectorBlock< Eigen::VectorXd > | sv () |
const Eigen::VectorBlock< const Eigen::VectorXd > | sv () const |
void | setConstraintDimension (const int dims=0) |
int | dims () const |
Eigen::Block< Eigen::MatrixXd > | M () |
const Eigen::Block< const Eigen::MatrixXd > | M () const |
Eigen::VectorBlock< Eigen::VectorXd > | m () |
const Eigen::VectorBlock< const Eigen::VectorXd > | m () const |
Eigen::VectorBlock< Eigen::VectorXd > | mt () |
const Eigen::VectorBlock< const Eigen::VectorXd > | mt () const |
Eigen::VectorBlock< Eigen::VectorXd > | mt_next () |
const Eigen::VectorBlock< const Eigen::VectorXd > | mt_next () const |
void | setZero () |
void | setRandom () |
bool | isApprox (const SplitRiccatiFactorization &other) const |
Checks the equivalence of two SplitRiccatiFactorization. More... | |
bool | hasNaN () const |
Checks this object has at least one NaN. More... | |
void | disp (std::ostream &os) const |
Displays the split Riccati factorization onto a ostream. More... | |
Static Public Member Functions | |
static SplitRiccatiFactorization | Random (const Robot &robot) |
Public Attributes | |
Eigen::MatrixXd | P |
Riccati factorization matrix. Size is 2 * Robot::dimv() x 2 * Robot::dimv(). More... | |
Eigen::VectorXd | s |
Riccati factorization vector. Size is 2 * Robot::dimv(). More... | |
Eigen::VectorXd | psi_x |
Riccati factorization vector w.r.t. the switching time. Size is 2 * Robot::dimv(). More... | |
Eigen::VectorXd | psi_u |
Riccati factorization vector w.r.t. the switching time. Size is Robot::dimu(). More... | |
Eigen::VectorXd | Psi |
Riccati factorization vector w.r.t. the switching time. Size is 2 * Robot::dimv(). More... | |
Eigen::VectorXd | phi_x |
Riccati factorization vector w.r.t. the switching time. Size is 2 * Robot::dimv(). More... | |
Eigen::VectorXd | phi_u |
Riccati factorization vector w.r.t. the switching time. Size is Robot::dimu(). More... | |
Eigen::VectorXd | Phi |
Riccati factorization vector w.r.t. the switching time. Size is 2 * Robot::dimv(). More... | |
double | xi |
Riccati factorization w.r.t. the switching time. More... | |
double | chi |
Riccati factorization w.r.t. the switching time. More... | |
double | rho |
Riccati factorization w.r.t. the switching time. More... | |
double | eta |
Riccati factorization w.r.t. the switching time. More... | |
double | iota |
Riccati factorization w.r.t. the switching time. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SplitRiccatiFactorization &riccati) |
Riccati factorization matrix and vector for a time stage.
|
inline |
Constructs Riccati factorization matrix and vector.
[in] | robot | Robot model. |
|
inline |
Default constructor.
|
inline |
Destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
|
inline |
void robotoc::SplitRiccatiFactorization::disp | ( | std::ostream & | os | ) | const |
Displays the split Riccati factorization onto a ostream.
|
inline |
Checks this object has at least one NaN.
|
inline |
Checks the equivalence of two SplitRiccatiFactorization.
[in] | other | object. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
Default copy operator.
|
defaultnoexcept |
Default move assign operator.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
double robotoc::SplitRiccatiFactorization::chi |
Riccati factorization w.r.t. the switching time.
double robotoc::SplitRiccatiFactorization::eta |
Riccati factorization w.r.t. the switching time.
double robotoc::SplitRiccatiFactorization::iota |
Riccati factorization w.r.t. the switching time.
Eigen::MatrixXd robotoc::SplitRiccatiFactorization::P |
Riccati factorization matrix. Size is 2 * Robot::dimv() x 2 * Robot::dimv().
Eigen::VectorXd robotoc::SplitRiccatiFactorization::Phi |
Riccati factorization vector w.r.t. the switching time. Size is 2 * Robot::dimv().
Eigen::VectorXd robotoc::SplitRiccatiFactorization::phi_u |
Riccati factorization vector w.r.t. the switching time. Size is Robot::dimu().
Eigen::VectorXd robotoc::SplitRiccatiFactorization::phi_x |
Riccati factorization vector w.r.t. the switching time. Size is 2 * Robot::dimv().
Eigen::VectorXd robotoc::SplitRiccatiFactorization::Psi |
Riccati factorization vector w.r.t. the switching time. Size is 2 * Robot::dimv().
Eigen::VectorXd robotoc::SplitRiccatiFactorization::psi_u |
Riccati factorization vector w.r.t. the switching time. Size is Robot::dimu().
Eigen::VectorXd robotoc::SplitRiccatiFactorization::psi_x |
Riccati factorization vector w.r.t. the switching time. Size is 2 * Robot::dimv().
double robotoc::SplitRiccatiFactorization::rho |
Riccati factorization w.r.t. the switching time.
Eigen::VectorXd robotoc::SplitRiccatiFactorization::s |
Riccati factorization vector. Size is 2 * Robot::dimv().
double robotoc::SplitRiccatiFactorization::xi |
Riccati factorization w.r.t. the switching time.