Classes | Namespaces | Macros | Functions
math/fwd.hpp File Reference
#include "pinocchio/fwd.hpp"
#include <math.h>
#include <boost/math/constants/constants.hpp>
#include <boost/type_traits/is_floating_point.hpp>
Include dependency graph for math/fwd.hpp:
This graph shows which files directly or indirectly include this file:

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

◆ PINOCCHIO_OVERLOAD_MATH_BINARY_OPERATOR

#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 47 of file math/fwd.hpp.

◆ PINOCCHIO_OVERLOAD_MATH_UNARY_OPERATOR

#define PINOCCHIO_OVERLOAD_MATH_UNARY_OPERATOR (   name)
Value:
template<typename Scalar> \
Scalar name(const Scalar & value) \
{ \
using std::name; \
return name(value); \
}

Definition at line 39 of file math/fwd.hpp.

common_symbols.type
type
Definition: common_symbols.py:35
omniidl_be_python_with_docstring.run
def run(tree, args)
Definition: cmake/hpp/idl/omniidl_be_python_with_docstring.py:140
pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
b
Vec3f b
setup.name
name
Definition: cmake/cython/setup.in.py:179
a
Vec3f a


pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:13