All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
autopromote.hh File Reference
#include <boost/mpl/assert.hpp>
#include <roboptim/core/fwd.hh>

Classes

struct  roboptim::detail::PrecisionTrait< T >
 
struct  roboptim::detail::AutopromoteTrait< T >
 
struct  roboptim::detail::AutopromoteTrait< Plus< U, V > >
 
struct  roboptim::detail::AutopromoteTrait< Minus< U, V > >
 
struct  roboptim::detail::AutopromoteTrait< Product< U, V > >
 
struct  roboptim::detail::AutopromoteTrait< Scalar< U > >
 
struct  roboptim::detail::promote2< T1, T2, promoteToT1 >
 
struct  roboptim::detail::promote2< T1, T2, 0 >
 
struct  roboptim::detail::PromoteTrait< T1_orig, T2_orig >
 

Namespaces

namespace  roboptim
 defined(EIGEN_RUNTIME_NO_MALLOC) && !defined(ROBOPTIM_DO_NOT_CHECK_ALLOCATION)
 
namespace  roboptim::detail
 

Macros

#define ROBOPTIM_CORE_DECLARE_PRECISION(T, rank)
 
#define ROBOPTIM_CORE_DECLARE_AUTOPROMOTE(T1, T2)
 
#define ROBOPTIM_CORE_DECLARE_AUTOPROMOTE(T1, T2)
 

Functions

 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericFunction< EigenMatrixDense >, 1)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericFunction< EigenMatrixSparse >, 1)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericDifferentiableFunction< EigenMatrixDense >, 2)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericDifferentiableFunction< EigenMatrixSparse >, 2)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericTwiceDifferentiableFunction< EigenMatrixDense >, 3)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericTwiceDifferentiableFunction< EigenMatrixSparse >, 3)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericQuadraticFunction< EigenMatrixDense >, 3)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericQuadraticFunction< EigenMatrixSparse >, 3)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericLinearFunction< EigenMatrixDense >, 4)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_PRECISION (GenericLinearFunction< EigenMatrixSparse >, 4)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (GenericNumericQuadraticFunction< EigenMatrixDense >, GenericQuadraticFunction< EigenMatrixDense >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (GenericNumericQuadraticFunction< EigenMatrixSparse >, GenericQuadraticFunction< EigenMatrixSparse >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (GenericNumericLinearFunction< EigenMatrixDense >, GenericLinearFunction< EigenMatrixDense >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (GenericNumericLinearFunction< EigenMatrixSparse >, GenericLinearFunction< EigenMatrixSparse >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (GenericConstantFunction< EigenMatrixDense >, GenericLinearFunction< EigenMatrixDense >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (GenericConstantFunction< EigenMatrixSparse >, GenericLinearFunction< EigenMatrixSparse >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (GenericIdentityFunction< EigenMatrixDense >, GenericLinearFunction< EigenMatrixDense >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (GenericIdentityFunction< EigenMatrixSparse >, GenericLinearFunction< EigenMatrixSparse >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (Cos< EigenMatrixDense >, GenericDifferentiableFunction< EigenMatrixDense >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (Cos< EigenMatrixSparse >, GenericDifferentiableFunction< EigenMatrixSparse >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (Sin< EigenMatrixDense >, GenericDifferentiableFunction< EigenMatrixDense >)
 
 roboptim::detail::ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (Sin< EigenMatrixSparse >, GenericDifferentiableFunction< EigenMatrixSparse >)
 

Macro Definition Documentation

#define ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (   T1,
  T2 
)
Value:
template<> \
struct AutopromoteTrait<T1> \
{ \
typedef T2 T_type; \
}
#define ROBOPTIM_CORE_DECLARE_AUTOPROMOTE (   T1,
  T2 
)
Value:
namespace roboptim { namespace detail { \
template<> \
struct AutopromoteTrait<T1> \
{ \
typedef T2 T_type; \
}; \
} }
#define ROBOPTIM_CORE_DECLARE_PRECISION (   T,
  rank 
)
Value:
template<> \
struct PrecisionTrait< T > \
{ \
enum { \
precisionRank = rank, \
knowPrecisionRank = 1 \
}; \
}