17#ifndef ACADOS_SOLVER_BASE__ACADOS_TYPES_HPP_
18#define ACADOS_SOLVER_BASE__ACADOS_TYPES_HPP_
23#include <unordered_map>
36using IndexMap = std::unordered_map<std::string, IndexVector>;
39using ValueMap = std::unordered_map<std::string, ValueVector>;
42using RowMajorXd = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>;
45using ColumnMajorXd = Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor>;
Definition acados_solver.hpp:35
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > RowMajorXd
Dynamic size row-major array (hence compatible with Acados C-arrays).
Definition acados_types.hpp:42
std::unordered_map< std::string, IndexVector > IndexMap
Mapping between keys (std::string) and indexes (acados::IndexVector).
Definition acados_types.hpp:36
std::vector< unsigned int > IndexVector
List of indexes.
Definition acados_types.hpp:30
std::vector< double > ValueVector
List of values (double).
Definition acados_types.hpp:33
std::unordered_map< std::string, ValueVector > ValueMap
Mapping between keys (std::string) and data (acados::ValueVector).
Definition acados_types.hpp:39
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > ColumnMajorXd
Dynamic size colum-major array (by default in Eigen).
Definition acados_types.hpp:45