Classes | Namespaces | Macros | Functions
src/math/fwd.hpp File Reference
#include "pinocchio/fwd.hpp"
#include <math.h>
#include <boost/math/constants/constants.hpp>
Include dependency graph for src/math/fwd.hpp:

Go to the source code of this file.

Classes

struct  pinocchio::is_floating_point< T >
 
struct  pinocchio::TaylorSeriesExpansion< Scalar >
  . More...
 

Namespaces

 pinocchio
 Main pinocchio namespace.
 
 pinocchio::math
 

Macros

#define PINOCCHIO_OVERLOAD_MATH_BINARY_OPERATOR(name)
 
#define PINOCCHIO_OVERLOAD_MATH_UNARY_OPERATOR(name)
 

Functions

template<typename Scalar >
const Scalar pinocchio::PI ()
 Returns the value of PI according to the template parameters Scalar. More...
 

Macro Definition Documentation

#define PINOCCHIO_OVERLOAD_MATH_BINARY_OPERATOR (   name)
Value:
namespace internal \
{ \
template<typename T1, typename T2> \
struct return_type_##name \
{ \
typedef T1 type; \
}; \
template<typename T1, typename T2> \
struct call_##name \
{ \
static inline typename return_type_##name<T1,T2>::type \
run(const T1 & a, const T2 & b) \
{ using std::name; return name(a,b); } \
}; \
} \
template<typename T1, typename T2> \
inline typename internal::return_type_##name<T1,T2>::type name(const T1 & a, const T2 & b) \
{ return internal::call_##name<T1,T2>::run(a,b); }

Definition at line 40 of file src/math/fwd.hpp.

#define PINOCCHIO_OVERLOAD_MATH_UNARY_OPERATOR (   name)
Value:
template<typename Scalar> \
Scalar name(const Scalar & value) \
{ using std::name; return name(value); }
SE3::Scalar Scalar
Definition: conversions.cpp:13

Definition at line 35 of file src/math/fwd.hpp.



pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:05