bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
bitrl_types.h File Reference
#include "Eigen/Core"
#include <cstddef>
#include <ostream>
#include <string>
#include <vector>
Include dependency graph for bitrl_types.h:

Go to the source code of this file.

Classes

struct  bitrl::IntegralRange< s, e >
 A range of integer values in [s, e]. More...
 
struct  bitrl::RealRange< s, e >
 A range of double precision floating point values. More...
 
struct  bitrl::Null
 Null placeholder. More...
 

Namespaces

namespace  bitrl
 

Typedefs

typedef double bitrl::real_t
 real_t
 
typedef float bitrl::float_t
 float
 
typedef int bitrl::int_t
 integer type
 
typedef long int bitrl::lint_t
 long int type
 
typedef std::size_t bitrl::uint_t
 uint_t
 
template<typename T >
using bitrl::DynMat = Eigen::MatrixX< T >
 Dynamically sized matrix to use around the library.
 
template<typename T , uint_t N>
using bitrl::SquareMat = Eigen::Matrix< T, N, N >
 Square matrix with elements of type T.
 
template<typename T , uint_t N, uint_t M>
using bitrl::Mat = Eigen::Matrix< T, N, M >
 General fixed size matrix.
 
using bitrl::RealMat3d = Eigen::Matrix3< real_t >
 DynamicĂ—3 matrix of type double.
 
using bitrl::FloatMat3d = Eigen::Matrix3< float_t >
 DynamicĂ—3 matrix of type float.
 
template<typename T >
using bitrl::DynVec = Eigen::RowVectorX< T >
 Dynamically sized row vector.
 
using bitrl::FloatVec = DynVec< float_t >
 single precision floating point vector
 
using bitrl::RealVec = DynVec< real_t >
 double precision floating point vector
 
using bitrl::STD_FloatVec = std::vector< float_t >
 single precision std::vector
 
using bitrl::STD_RealVec = std::vector< real_t >
 double precision std::vector
 
template<typename T >
using bitrl::ColVec = Eigen::VectorX< T >
 Column vector. Some maths operations are easier using column vectors rather than DynVec.
 
using bitrl::RealColVec = ColVec< real_t >
 Dynamically sized column vector.
 
using bitrl::FoatColVec = ColVec< float_t >
 Dynamically sized column vector.
 
using bitrl::RealColVec3d = Eigen::Vector3d
 3D column vector
 
using bitrl::FloatColVec3d = Eigen::Vector3f
 3D column vectpr
 

Enumerations

enum class  bitrl::DeviceType { bitrl::INVALID_TYPE = 0 , bitrl::CPU = 1 , bitrl::GPU = 2 }
 Enumeration of various device types. More...
 

Functions

std::ostream & bitrl::operator<< (std::ostream &out, const Null &)