template<class t_Base>
class humoto::constraints::BodyGIMixin< t_Base >
Mixin representing matrix of indices 'I' and matrix of gains 'G' in a simple constraint.
- Template Parameters
-
Definition at line 890 of file constraints_mixins.h.
#include <constraints_mixins.h>
|
| BodyGIMixin () |
|
| ~BodyGIMixin () |
| Protected destructor: prevent destruction of the child classes through a base pointer. More...
|
|
void | addATA (Eigen::MatrixXd &H) const |
| Compute 'A^T * A' for general equality constaints and save or add the result to H. More...
|
|
void | getATA (Eigen::MatrixXd &H) const |
| Compute 'A^T * A' for general equality constaints and save or add the result to H. More...
|
|
void | logBody (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="constraints") const |
| Log body. More...
|
|
void | resetBody (const std::size_t number_of_constraints=0, const bool initialize_matrices=false) |
| Initialize I and gains. More...
|
|
◆ ~BodyGIMixin()
Protected destructor: prevent destruction of the child classes through a base pointer.
Definition at line 902 of file constraints_mixins.h.
◆ BodyGIMixin()
◆ addATA()
Compute 'A^T * A' for general equality constaints and save or add the result to H.
- Parameters
-
[in,out] | H | left lower triangular part of the result. |
- Attention
- Only the left lower triangular part of H is formed. Apply appropriate conversion with etools::convertLLTtoSymmetric() before using H.
Definition at line 945 of file constraints_mixins.h.
◆ copyBodyTo()
◆ copyNegativeBodyTo()
◆ getATA()
Compute 'A^T * A' for general equality constaints and save or add the result to H.
- Parameters
-
[in,out] | H | left lower triangular part of the result. |
- Attention
- Only the left lower triangular part of H is formed. Apply appropriate conversion with etools::convertLLTtoSymmetric() before using H.
Definition at line 935 of file constraints_mixins.h.
◆ getIGains() [1/2]
◆ getIGains() [2/2]
◆ getIndices() [1/2]
◆ getIndices() [2/2]
◆ getNumberOfConstraints()
Returns number of constraints in the task.
- Returns
- number of constraints
Definition at line 866 of file constraints_mixins.h.
◆ getProduct()
Compute A(i,:) * vector.
- Parameters
-
[in] | i | row index |
[in] | vector | vector |
- Returns
- result of multiplication
Definition at line 1010 of file constraints_mixins.h.
◆ logBody()
Log body.
- Parameters
-
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Definition at line 922 of file constraints_mixins.h.
◆ resetBody()
◆ I_
◆ I_gains_
The documentation for this class was generated from the following file: