Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
Eigen::AutoDiffVector< ValueType, JacobianType > Class Template Reference

#include <AutoDiffVector.h>

Public Types

typedef AutoDiffScalar< Matrix< BaseScalar, JacobianType::RowsAtCompileTime, 1 > > ActiveScalar
 
typedef internal::traits< ValueType >::Scalar BaseScalar
 
typedef AutoDiffScalar< typename JacobianType::ColXprCoeffType
 
typedef JacobianType::Index Index
 
typedef ActiveScalar Scalar
 

Public Member Functions

 AutoDiffVector ()
 
 AutoDiffVector (const AutoDiffVector &other)
 
template<typename OtherValueType , typename OtherJacobianType >
 AutoDiffVector (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 
 AutoDiffVector (const ValueType &values)
 
 AutoDiffVector (const ValueType &values, const JacobianType &jac)
 
CoeffType coeffRef (Index i)
 
const CoeffType coeffRef (Index i) const
 
JacobianType & jacobian ()
 
const JacobianType & jacobian () const
 
CoeffType operator() (Index i)
 
const CoeffType operator() (Index i) const
 
const AutoDiffVector< typename MakeCwiseUnaryOp< internal::scalar_multiple_op< Scalar >, ValueType >::Type, typename MakeCwiseUnaryOp< internal::scalar_multiple_op< Scalar >, JacobianType >::Typeoperator* (const BaseScalar &other) const
 
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVectoroperator*= (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 
AutoDiffVectoroperator*= (const Scalar &other)
 
template<typename OtherValueType , typename OtherJacobianType >
const AutoDiffVector< typename MakeCwiseBinaryOp< internal::scalar_sum_op< BaseScalar >, ValueType, OtherValueType >::Type, typename MakeCwiseBinaryOp< internal::scalar_sum_op< BaseScalar >, JacobianType, OtherJacobianType >::Typeoperator+ (const AutoDiffVector< OtherValueType, OtherJacobianType > &other) const
 
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVectoroperator+= (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 
const AutoDiffVector< typename MakeCwiseUnaryOp< internal::scalar_opposite_op< Scalar >, ValueType >::Type, typename MakeCwiseUnaryOp< internal::scalar_opposite_op< Scalar >, JacobianType >::Typeoperator- () const
 
template<typename OtherValueType , typename OtherJacobianType >
const AutoDiffVector< typename MakeCwiseBinaryOp< internal::scalar_difference_op< Scalar >, ValueType, OtherValueType >::Type, typename MakeCwiseBinaryOp< internal::scalar_difference_op< Scalar >, JacobianType, OtherJacobianType >::Typeoperator- (const AutoDiffVector< OtherValueType, OtherJacobianType > &other) const
 
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVectoroperator-= (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 
AutoDiffVectoroperator= (const AutoDiffVector &other)
 
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVectoroperator= (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 
CoeffType operator[] (Index i)
 
const CoeffType operator[] (Index i) const
 
Index size () const
 
Scalar sum () const
 
ValueType & values ()
 
const ValueType & values () const
 

Protected Attributes

JacobianType m_jacobian
 
ValueType m_values
 

Friends

const friend AutoDiffVector< typename MakeCwiseUnaryOp< internal::scalar_multiple_op< Scalar >, ValueType >::Type, typename MakeCwiseUnaryOp< internal::scalar_multiple_op< Scalar >, JacobianType >::Typeoperator* (const Scalar &other, const AutoDiffVector &v)
 

Detailed Description

template<typename ValueType, typename JacobianType>
class Eigen::AutoDiffVector< ValueType, JacobianType >

Definition at line 33 of file AutoDiffVector.h.

Member Typedef Documentation

◆ ActiveScalar

template<typename ValueType , typename JacobianType >
typedef AutoDiffScalar<Matrix<BaseScalar,JacobianType::RowsAtCompileTime,1> > Eigen::AutoDiffVector< ValueType, JacobianType >::ActiveScalar

Definition at line 38 of file AutoDiffVector.h.

◆ BaseScalar

template<typename ValueType , typename JacobianType >
typedef internal::traits<ValueType>::Scalar Eigen::AutoDiffVector< ValueType, JacobianType >::BaseScalar

Definition at line 37 of file AutoDiffVector.h.

◆ CoeffType

template<typename ValueType , typename JacobianType >
typedef AutoDiffScalar<typename JacobianType::ColXpr> Eigen::AutoDiffVector< ValueType, JacobianType >::CoeffType

Definition at line 40 of file AutoDiffVector.h.

◆ Index

template<typename ValueType , typename JacobianType >
typedef JacobianType::Index Eigen::AutoDiffVector< ValueType, JacobianType >::Index

Definition at line 41 of file AutoDiffVector.h.

◆ Scalar

template<typename ValueType , typename JacobianType >
typedef ActiveScalar Eigen::AutoDiffVector< ValueType, JacobianType >::Scalar

Definition at line 39 of file AutoDiffVector.h.

Constructor & Destructor Documentation

◆ AutoDiffVector() [1/5]

template<typename ValueType , typename JacobianType >
Eigen::AutoDiffVector< ValueType, JacobianType >::AutoDiffVector ( )
inline

Definition at line 43 of file AutoDiffVector.h.

◆ AutoDiffVector() [2/5]

template<typename ValueType , typename JacobianType >
Eigen::AutoDiffVector< ValueType, JacobianType >::AutoDiffVector ( const ValueType &  values)
inline

Definition at line 45 of file AutoDiffVector.h.

◆ AutoDiffVector() [3/5]

template<typename ValueType , typename JacobianType >
Eigen::AutoDiffVector< ValueType, JacobianType >::AutoDiffVector ( const ValueType &  values,
const JacobianType &  jac 
)
inline

Definition at line 67 of file AutoDiffVector.h.

◆ AutoDiffVector() [4/5]

template<typename ValueType , typename JacobianType >
template<typename OtherValueType , typename OtherJacobianType >
Eigen::AutoDiffVector< ValueType, JacobianType >::AutoDiffVector ( const AutoDiffVector< OtherValueType, OtherJacobianType > &  other)
inline

Definition at line 72 of file AutoDiffVector.h.

◆ AutoDiffVector() [5/5]

template<typename ValueType , typename JacobianType >
Eigen::AutoDiffVector< ValueType, JacobianType >::AutoDiffVector ( const AutoDiffVector< ValueType, JacobianType > &  other)
inline

Definition at line 76 of file AutoDiffVector.h.

Member Function Documentation

◆ coeffRef() [1/2]

template<typename ValueType , typename JacobianType >
CoeffType Eigen::AutoDiffVector< ValueType, JacobianType >::coeffRef ( Index  i)
inline

Definition at line 58 of file AutoDiffVector.h.

◆ coeffRef() [2/2]

template<typename ValueType , typename JacobianType >
const CoeffType Eigen::AutoDiffVector< ValueType, JacobianType >::coeffRef ( Index  i) const
inline

Definition at line 59 of file AutoDiffVector.h.

◆ jacobian() [1/2]

template<typename ValueType , typename JacobianType >
JacobianType& Eigen::AutoDiffVector< ValueType, JacobianType >::jacobian ( )
inline

Definition at line 99 of file AutoDiffVector.h.

◆ jacobian() [2/2]

template<typename ValueType , typename JacobianType >
const JacobianType& Eigen::AutoDiffVector< ValueType, JacobianType >::jacobian ( ) const
inline

Definition at line 98 of file AutoDiffVector.h.

◆ operator()() [1/2]

template<typename ValueType , typename JacobianType >
CoeffType Eigen::AutoDiffVector< ValueType, JacobianType >::operator() ( Index  i)
inline

Definition at line 55 of file AutoDiffVector.h.

◆ operator()() [2/2]

template<typename ValueType , typename JacobianType >
const CoeffType Eigen::AutoDiffVector< ValueType, JacobianType >::operator() ( Index  i) const
inline

Definition at line 56 of file AutoDiffVector.h.

◆ operator*()

template<typename ValueType , typename JacobianType >
const AutoDiffVector< typename MakeCwiseUnaryOp<internal::scalar_multiple_op<Scalar>, ValueType>::Type, typename MakeCwiseUnaryOp<internal::scalar_multiple_op<Scalar>, JacobianType>::Type> Eigen::AutoDiffVector< ValueType, JacobianType >::operator* ( const BaseScalar other) const
inline

Definition at line 160 of file AutoDiffVector.h.

◆ operator*=() [1/2]

template<typename ValueType , typename JacobianType >
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVector& Eigen::AutoDiffVector< ValueType, JacobianType >::operator*= ( const AutoDiffVector< OtherValueType, OtherJacobianType > &  other)
inline

Definition at line 206 of file AutoDiffVector.h.

◆ operator*=() [2/2]

template<typename ValueType , typename JacobianType >
AutoDiffVector& Eigen::AutoDiffVector< ValueType, JacobianType >::operator*= ( const Scalar other)
inline

Definition at line 198 of file AutoDiffVector.h.

◆ operator+()

template<typename ValueType , typename JacobianType >
template<typename OtherValueType , typename OtherJacobianType >
const AutoDiffVector< typename MakeCwiseBinaryOp<internal::scalar_sum_op<BaseScalar>,ValueType,OtherValueType>::Type, typename MakeCwiseBinaryOp<internal::scalar_sum_op<BaseScalar>,JacobianType,OtherJacobianType>::Type > Eigen::AutoDiffVector< ValueType, JacobianType >::operator+ ( const AutoDiffVector< OtherValueType, OtherJacobianType > &  other) const
inline

Definition at line 105 of file AutoDiffVector.h.

◆ operator+=()

template<typename ValueType , typename JacobianType >
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVector& Eigen::AutoDiffVector< ValueType, JacobianType >::operator+= ( const AutoDiffVector< OtherValueType, OtherJacobianType > &  other)
inline

Definition at line 116 of file AutoDiffVector.h.

◆ operator-() [1/2]

template<typename ValueType , typename JacobianType >
const AutoDiffVector< typename MakeCwiseUnaryOp<internal::scalar_opposite_op<Scalar>, ValueType>::Type, typename MakeCwiseUnaryOp<internal::scalar_opposite_op<Scalar>, JacobianType>::Type > Eigen::AutoDiffVector< ValueType, JacobianType >::operator- ( ) const
inline

Definition at line 148 of file AutoDiffVector.h.

◆ operator-() [2/2]

template<typename ValueType , typename JacobianType >
template<typename OtherValueType , typename OtherJacobianType >
const AutoDiffVector< typename MakeCwiseBinaryOp<internal::scalar_difference_op<Scalar>,ValueType,OtherValueType>::Type, typename MakeCwiseBinaryOp<internal::scalar_difference_op<Scalar>,JacobianType,OtherJacobianType>::Type > Eigen::AutoDiffVector< ValueType, JacobianType >::operator- ( const AutoDiffVector< OtherValueType, OtherJacobianType > &  other) const
inline

Definition at line 127 of file AutoDiffVector.h.

◆ operator-=()

template<typename ValueType , typename JacobianType >
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVector& Eigen::AutoDiffVector< ValueType, JacobianType >::operator-= ( const AutoDiffVector< OtherValueType, OtherJacobianType > &  other)
inline

Definition at line 138 of file AutoDiffVector.h.

◆ operator=() [1/2]

template<typename ValueType , typename JacobianType >
AutoDiffVector& Eigen::AutoDiffVector< ValueType, JacobianType >::operator= ( const AutoDiffVector< ValueType, JacobianType > &  other)
inline

Definition at line 88 of file AutoDiffVector.h.

◆ operator=() [2/2]

template<typename ValueType , typename JacobianType >
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVector& Eigen::AutoDiffVector< ValueType, JacobianType >::operator= ( const AutoDiffVector< OtherValueType, OtherJacobianType > &  other)
inline

Definition at line 81 of file AutoDiffVector.h.

◆ operator[]() [1/2]

template<typename ValueType , typename JacobianType >
CoeffType Eigen::AutoDiffVector< ValueType, JacobianType >::operator[] ( Index  i)
inline

Definition at line 52 of file AutoDiffVector.h.

◆ operator[]() [2/2]

template<typename ValueType , typename JacobianType >
const CoeffType Eigen::AutoDiffVector< ValueType, JacobianType >::operator[] ( Index  i) const
inline

Definition at line 53 of file AutoDiffVector.h.

◆ size()

template<typename ValueType , typename JacobianType >
Index Eigen::AutoDiffVector< ValueType, JacobianType >::size ( ) const
inline

Definition at line 61 of file AutoDiffVector.h.

◆ sum()

template<typename ValueType , typename JacobianType >
Scalar Eigen::AutoDiffVector< ValueType, JacobianType >::sum ( ) const
inline

Definition at line 64 of file AutoDiffVector.h.

◆ values() [1/2]

template<typename ValueType , typename JacobianType >
ValueType& Eigen::AutoDiffVector< ValueType, JacobianType >::values ( )
inline

Definition at line 96 of file AutoDiffVector.h.

◆ values() [2/2]

template<typename ValueType , typename JacobianType >
const ValueType& Eigen::AutoDiffVector< ValueType, JacobianType >::values ( ) const
inline

Definition at line 95 of file AutoDiffVector.h.

Friends And Related Function Documentation

◆ operator*

template<typename ValueType , typename JacobianType >
const friend AutoDiffVector< typename MakeCwiseUnaryOp<internal::scalar_multiple_op<Scalar>, ValueType>::Type, typename MakeCwiseUnaryOp<internal::scalar_multiple_op<Scalar>, JacobianType>::Type > operator* ( const Scalar other,
const AutoDiffVector< ValueType, JacobianType > &  v 
)
friend

Definition at line 172 of file AutoDiffVector.h.

Member Data Documentation

◆ m_jacobian

template<typename ValueType , typename JacobianType >
JacobianType Eigen::AutoDiffVector< ValueType, JacobianType >::m_jacobian
protected

Definition at line 214 of file AutoDiffVector.h.

◆ m_values

template<typename ValueType , typename JacobianType >
ValueType Eigen::AutoDiffVector< ValueType, JacobianType >::m_values
protected

Definition at line 213 of file AutoDiffVector.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:37