|
bitsim
Model, simulate, estimate and control robots in C++
|
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through the aliases defined here. More...
#include "Eigen/Core"#include <cstddef>
Go to the source code of this file.
Classes | |
| struct | bitsim::IntegralRange< s, e > |
| A range of integer values in [s, e]. More... | |
| struct | bitsim::RealRange< s, e > |
| A range of double precision floating point values. More... | |
| struct | bitsim::Null |
| Null placeholder. More... | |
Namespaces | |
| namespace | bitsim |
Typedefs | |
| using | bitsim::real_t = double |
| real_t | |
| using | bitsim::float_t = float |
| float | |
| using | bitsim::int_t = int |
| integer type | |
| using | bitsim::lint_t = long int |
| long int type | |
| using | bitsim::uint_t = std::size_t |
| uint_t | |
| using | bitsim::index_t = Eigen::Index |
| The type Eigen indexes and sizes matrices and vectors with. | |
| template<typename T> | |
| using | bitsim::DynMat = Eigen::MatrixX<T> |
| Dynamically sized matrix to use around the library. | |
| using | bitsim::RealMat = DynMat<real_t> |
| Dynamically sized matrix of type double. | |
| template<typename T, uint_t N> | |
| using | bitsim::SquareMat = Eigen::Matrix<T, N, N> |
| Square matrix with elements of type T. | |
| template<typename T, uint_t N, uint_t M> | |
| using | bitsim::Mat = Eigen::Matrix<T, N, M> |
| General fixed size matrix. | |
| template<typename T, uint_t N, uint_t M> | |
| using | bitsim::UnalignedMat |
| General fixed size matrix that Eigen does not align. Use it for a fixed size member of a class that is allocated with new or kept in a std::vector, where the alignment Eigen asks for is not guaranteed. | |
| using | bitsim::RealMat2d = Eigen::Matrix2<real_t> |
| 2×2 matrix of type double. | |
| using | bitsim::RealMat3d = Eigen::Matrix3<real_t> |
| 3×3 matrix of type double. | |
| using | bitsim::RealMat4d = Eigen::Matrix4<real_t> |
| 4×4 matrix of type double. | |
| using | bitsim::FloatMat3d = Eigen::Matrix3<float_t> |
| 3×3 matrix of type float. | |
| template<typename T> | |
| using | bitsim::DynVec = Eigen::RowVectorX<T> |
| Dynamically sized row vector. | |
| using | bitsim::FloatVec = DynVec<float_t> |
| single precision floating point vector | |
| using | bitsim::RealVec = DynVec<real_t> |
| double precision floating point vector | |
| template<typename T> | |
| using | bitsim::ColVec = Eigen::VectorX<T> |
| Column vector. Some maths operations are easier using column vectors rather than DynVec. | |
| using | bitsim::RealColVec = ColVec<real_t> |
| Dynamically sized column vector. | |
| using | bitsim::FoatColVec = ColVec<float_t> |
| Dynamically sized column vector. | |
| using | bitsim::RealColVec2d = Eigen::Vector2d |
| 2D column vector | |
| using | bitsim::RealColVec3d = Eigen::Vector3d |
| 3D column vector | |
| using | bitsim::RealColVec4d = Eigen::Vector4d |
| 4D column vector | |
| using | bitsim::FloatColVec3d = Eigen::Vector3f |
| 3D column vector | |
Enumerations | |
| enum class | bitsim::DeviceType { bitsim::INVALID_TYPE = 0 , bitsim::CPU = 1 , bitsim::GPU = 2 } |
| Enumeration of various device types. More... | |
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through the aliases defined here.