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

Public Types

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

Public Member Functions

 AutoDiffVector (const ValueType &values)
 
CoeffType operator[] (Index i)
 
const CoeffType operator[] (Index i) const
 
CoeffType operator() (Index i)
 
const CoeffType operator() (Index i) const
 
CoeffType coeffRef (Index i)
 
const CoeffType coeffRef (Index i) const
 
Index size () const
 
Scalar sum () const
 
 AutoDiffVector (const ValueType &values, const JacobianType &jac)
 
template<typename OtherValueType , typename OtherJacobianType >
 AutoDiffVector (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 
 AutoDiffVector (const AutoDiffVector &other)
 
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVectoroperator= (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 
AutoDiffVectoroperator= (const AutoDiffVector &other)
 
const ValueType & values () const
 
ValueType & values ()
 
const JacobianType & jacobian () const
 
JacobianType & jacobian ()
 
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 > operator+ (const AutoDiffVector< OtherValueType, OtherJacobianType > &other) const
 
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVectoroperator+= (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 
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 > operator- (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 >::Type > operator- () const
 
const AutoDiffVector< typename MakeCwiseUnaryOp< internal::scalar_multiple_op< Scalar >, ValueType >::Type, typename MakeCwiseUnaryOp< internal::scalar_multiple_op< Scalar >, JacobianType >::Type > operator* (const BaseScalar &other) const
 
AutoDiffVectoroperator*= (const Scalar &other)
 
template<typename OtherValueType , typename OtherJacobianType >
AutoDiffVectoroperator*= (const AutoDiffVector< OtherValueType, OtherJacobianType > &other)
 

Protected Attributes

ValueType m_values
 
JacobianType m_jacobian
 

Friends

const 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 &v)
 

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