TR-mbed 1.0
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions | Variables
AutoDiffScalar.h File Reference

Go to the source code of this file.

Classes

struct  Eigen::internal::make_coherent_impl< A, B >
 
class  Eigen::AutoDiffScalar< DerivativeType >
 A scalar type replacement with automatic differentiation capability. More...
 
struct  Eigen::internal::auto_diff_special_op< DerivativeType, true >
 
struct  Eigen::internal::auto_diff_special_op< DerivativeType, false >
 
struct  Eigen::internal::make_coherent_impl< Matrix< A_Scalar, A_Rows, A_Cols, A_Options, A_MaxRows, A_MaxCols >, B >
 
struct  Eigen::internal::make_coherent_impl< A, Matrix< B_Scalar, B_Rows, B_Cols, B_Options, B_MaxRows, B_MaxCols > >
 
struct  Eigen::internal::make_coherent_impl< Matrix< A_Scalar, A_Rows, A_Cols, A_Options, A_MaxRows, A_MaxCols >, Matrix< B_Scalar, B_Rows, B_Cols, B_Options, B_MaxRows, B_MaxCols > >
 
struct  Eigen::ScalarBinaryOpTraits< AutoDiffScalar< DerType >, typename DerType::Scalar, BinOp >
 
struct  Eigen::ScalarBinaryOpTraits< typename DerType::Scalar, AutoDiffScalar< DerType >, BinOp >
 
struct  Eigen::CleanedUpDerType< DerType >
 
struct  Eigen::NumTraits< AutoDiffScalar< DerType > >
 
class  std::numeric_limits< Eigen::AutoDiffScalar< T > >
 
class  std::numeric_limits< Eigen::AutoDiffScalar< T & > >
 

Namespaces

namespace  Eigen
 Namespace containing all symbols from the Eigen library.
 
namespace  Eigen::internal
 
namespace  std
 

Macros

#define EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(FUNC, CODE)
 

Functions

template<typename A , typename B >
void Eigen::internal::make_coherent (const A &a, const B &b)
 
template<typename NewDerType >
AutoDiffScalar< NewDerType > Eigen::MakeAutoDiffScalar (const typename NewDerType::Scalar &value, const NewDerType &der)
 
template<typename BinOp , typename A , typename B , typename RefType >
void Eigen::internal::make_coherent_expression (CwiseBinaryOp< BinOp, A, B > xpr, const RefType &ref)
 
template<typename UnaryOp , typename A , typename RefType >
void Eigen::internal::make_coherent_expression (const CwiseUnaryOp< UnaryOp, A > &xpr, const RefType &ref)
 
template<typename UnaryOp , typename A , typename RefType >
void Eigen::internal::make_coherent_expression (const CwiseNullaryOp< UnaryOp, A > &, const RefType &)
 
template<typename DerType >
const AutoDiffScalar< DerType > & Eigen::conj (const AutoDiffScalar< DerType > &x)
 
template<typename DerType >
const AutoDiffScalar< DerType > & Eigen::real (const AutoDiffScalar< DerType > &x)
 
template<typename DerType >
DerType::Scalar Eigen::imag (const AutoDiffScalar< DerType > &)
 
template<typename DerType , typename T >
CleanedUpDerType< DerType >::type() Eigen::min (const AutoDiffScalar< DerType > &x, const T &y)
 
template<typename DerType , typename T >
CleanedUpDerType< DerType >::type() Eigen::max (const AutoDiffScalar< DerType > &x, const T &y)
 
template<typename DerType , typename T >
CleanedUpDerType< DerType >::type() Eigen::min (const T &x, const AutoDiffScalar< DerType > &y)
 
template<typename DerType , typename T >
CleanedUpDerType< DerType >::type() Eigen::max (const T &x, const AutoDiffScalar< DerType > &y)
 
template<typename DerType >
CleanedUpDerType< DerType >::type() Eigen::min (const AutoDiffScalar< DerType > &x, const AutoDiffScalar< DerType > &y)
 
template<typename DerType >
CleanedUpDerType< DerType >::type() Eigen::max (const AutoDiffScalar< DerType > &x, const AutoDiffScalar< DerType > &y)
 
 Eigen::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (abs, using std::abs;return Eigen::MakeAutoDiffScalar(abs(x.value()), x.derivatives() *(x.value()< 0 ? -1 :1));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(abs2
 
 Eigen::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (sqrt, using std::sqrt;Scalar sqrtx=sqrt(x.value());return Eigen::MakeAutoDiffScalar(sqrtx, x.derivatives() *(Scalar(0.5)/sqrtx));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(cos
 
 Eigen::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (sin, using std::sin;using std::cos;return Eigen::MakeAutoDiffScalar(sin(x.value()), x.derivatives() *cos(x.value()));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(exp
 
 Eigen::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (log, using std::log;return Eigen::MakeAutoDiffScalar(log(x.value()), x.derivatives() *(Scalar(1)/x.value()));) template< typename DerType > inline const Eigen
 
template<typename DerTypeA , typename DerTypeB >
const AutoDiffScalar< Matrix< typename internal::traits< typename internal::remove_all< DerTypeA >::type >::Scalar, Dynamic, 1 > > Eigen::atan2 (const AutoDiffScalar< DerTypeA > &a, const AutoDiffScalar< DerTypeB > &b)
 
 Eigen::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (tan, using std::tan;using std::cos;return Eigen::MakeAutoDiffScalar(tan(x.value()), x.derivatives() *(Scalar(1)/numext::abs2(cos(x.value()))));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(asin
 
 Eigen::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (acos, using std::sqrt;using std::acos;return Eigen::MakeAutoDiffScalar(acos(x.value()), x.derivatives() *(Scalar(-1)/sqrt(1-numext::abs2(x.value()))));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(tanh
 
 Eigen::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (sinh, using std::sinh;using std::cosh;return Eigen::MakeAutoDiffScalar(sinh(x.value()), x.derivatives() *cosh(x.value()));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(cosh
 

Variables

Scalar Eigen::expx = exp(x.value())
 

Macro Definition Documentation

◆ EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY

#define EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (   FUNC,
  CODE 
)
Value:
template<typename DerType> \
inline const Eigen::AutoDiffScalar< \
using namespace Eigen; \
EIGEN_UNUSED_VARIABLE(sizeof(Scalar)); \
CODE; \
}
SCALAR Scalar
Definition bench_gemm.cpp:46
A scalar type replacement with automatic differentiation capability.
Definition AutoDiffScalar.h:71
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Definition gnuplot_common_settings.hh:12
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85
void product(const MatrixType &m)
Definition product.h:20
Definition ForwardDeclarations.h:17