Classes | Namespaces | Defines | Functions | Variables
AutoDiffScalar.h File Reference

Go to the source code of this file.

Classes

struct  Eigen::internal::auto_diff_special_op< _DerType, false >
struct  Eigen::internal::auto_diff_special_op< _DerType, true >
class  Eigen::AutoDiffScalar< _DerType >
 A scalar type replacement with automatic differentation capability. More...
struct  Eigen::internal::make_coherent_impl< A, 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 >, B >
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::NumTraits< AutoDiffScalar< DerType > >
struct  Eigen::internal::scalar_product_traits< A_Scalar, Matrix< A_Scalar, A_Rows, A_Cols, A_Options, A_MaxRows, A_MaxCols > >
struct  Eigen::internal::scalar_product_traits< AutoDiffScalar< DerType >, T >
struct  Eigen::internal::scalar_product_traits< Matrix< A_Scalar, A_Rows, A_Cols, A_Options, A_MaxRows, A_MaxCols >, A_Scalar >

Namespaces

namespace  Eigen
namespace  Eigen::internal
namespace  std

Defines

#define EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(FUNC, CODE)

Functions

template<typename DerType >
const AutoDiffScalar< DerType > & Eigen::internal::conj (const AutoDiffScalar< DerType > &x)
 std::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (abs, return ReturnType(std::abs(x.value()), x.derivatives()*(sign(x.value())));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(sqrt
 std::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (cos, return ReturnType(std::cos(x.value()), x.derivatives()*(-std::sin(x.value())));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(sin
 std::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (exp, Scalar expx=std::exp(x.value());return ReturnType(expx, x.derivatives()*expx);) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(log
 Eigen::internal::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (abs, return ReturnType(abs(x.value()), x.derivatives()*(sign(x.value())));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(abs2
 Eigen::internal::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (sqrt, Scalar sqrtx=sqrt(x.value());return ReturnType(sqrtx, x.derivatives()*(Scalar(0.5)/sqrtx));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(cos
 Eigen::internal::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (sin, return ReturnType(sin(x.value()), x.derivatives()*cos(x.value()));) EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY(exp
 Eigen::internal::EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (log, return ReturnType(log(x.value()), x.derivatives()*(Scalar(1)/x.value()));) template< typename DerType > inline const AutoDiffScalar< CwiseUnaryOp< scalar_multiple_op< typename traits< DerType >
template<typename DerType >
DerType::Scalar Eigen::internal::imag (const AutoDiffScalar< DerType > &)
template<typename A , typename B >
void Eigen::internal::make_coherent (const A &a, const B &b)
template<typename DerType >
const Eigen::AutoDiffScalar
< Eigen::CwiseUnaryOp
< Eigen::internal::scalar_multiple_op
< typename
Eigen::internal::traits
< DerType >::Scalar >, const
DerType > > 
std::pow (const Eigen::AutoDiffScalar< DerType > &x, typename Eigen::internal::traits< DerType >::Scalar y)
template<typename DerType >
const AutoDiffScalar< DerType > & Eigen::internal::real (const AutoDiffScalar< DerType > &x)
return std::ReturnType (sqrtx, x.derivatives()*(Scalar(0.5)/sqrtx))
return std::ReturnType (std::sin(x.value()), x.derivatives()*std::cos(x.value()))
return std::ReturnType (std::log(x.value()), x.derivatives()*(Scalar(1)/x.value()))
return Eigen::internal::ReturnType (abs2(x.value()), x.derivatives()*(Scalar(2)*x.value()))
return Eigen::internal::ReturnType (cos(x.value()), x.derivatives()*(-sin(x.value())))
return Eigen::internal::ReturnType (expx, x.derivatives()*expx)

Variables

Scalar Eigen::internal::expx = exp(x.value())
Scalar std::sqrtx = std::sqrt(x.value())

Define Documentation

#define EIGEN_AUTODIFF_DECLARE_GLOBAL_UNARY (   FUNC,
  CODE 
)
Value:
template<typename DerType> \
  inline const Eigen::AutoDiffScalar<Eigen::CwiseUnaryOp<Eigen::internal::scalar_multiple_op<typename Eigen::internal::traits<typename Eigen::internal::remove_all<DerType>::type>::Scalar>, const typename Eigen::internal::remove_all<DerType>::type> > \
  FUNC(const Eigen::AutoDiffScalar<DerType>& x) { \
    using namespace Eigen; \
    typedef typename Eigen::internal::traits<typename Eigen::internal::remove_all<DerType>::type>::Scalar Scalar; \
    typedef AutoDiffScalar<CwiseUnaryOp<Eigen::internal::scalar_multiple_op<Scalar>, const typename Eigen::internal::remove_all<DerType>::type> > ReturnType; \
    CODE; \
  }

Definition at line 476 of file AutoDiffScalar.h.



re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:44