A sparse MPC solver for walking motion generation.
|
Implements multiplication of matrix E and E' by a vector. More...
#include <ip_matrix_E.h>
Public Member Functions | |
matrix_E () | |
~matrix_E () | |
void | form_Ex (const problem_parameters &, const double *, double *) |
Forms E*x. More... | |
void | form_ETx (const problem_parameters &, const double *, double *) |
Forms E' * x. More... | |
Implements multiplication of matrix E and E' by a vector.
Definition at line 32 of file ip_matrix_E.h.
|
inline |
Definition at line 36 of file ip_matrix_E.h.
|
inline |
Definition at line 37 of file ip_matrix_E.h.
void IP::matrix_E::form_ETx | ( | const problem_parameters & | ppar, |
const double * | x, | ||
double * | result | ||
) |
Forms E' * x.
[in] | ppar | parameters. |
[in] | x | vector x (SMPC_NUM_STATE_VAR * N). |
[out] | result | vector E' * nu (SMPC_NUM_VAR * N) |
Definition at line 83 of file ip_matrix_E.cpp.
void IP::matrix_E::form_Ex | ( | const problem_parameters & | ppar, |
const double * | x, | ||
double * | result | ||
) |
Forms E*x.
[in] | ppar | parameters. |
[in] | x | vector x (SMPC_NUM_VAR * N). |
[out] | result | vector E*x (SMPC_NUM_STATE_VAR * N) |
Definition at line 30 of file ip_matrix_E.cpp.