ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
tiny_ad::ad< Type, Vector > Struct Template Reference

#include <tiny_ad.hpp>

Public Member Functions

 ad ()
 
 ad (Type v, Vector d)
 
 ad (double v)
 
ad operator* (const ad &other) const
 
ad operator* (const double &x) const
 
adoperator*= (const ad &other)
 
ad operator+ (const ad &other) const
 
ad operator+ () const
 
ad operator+ (const double &x) const
 
adoperator+= (const ad &other)
 
ad operator- (const ad &other) const
 
ad operator- () const
 
ad operator- (const double &x) const
 
adoperator-= (const ad &other)
 
ad operator/ (const ad &other) const
 
ad operator/ (const double &x) const
 
adoperator/= (const ad &other)
 

Public Attributes

Vector deriv
 
Type value
 

Detailed Description

template<class Type, class Vector>
struct tiny_ad::ad< Type, Vector >

Definition at line 28 of file tiny_ad.hpp.

Constructor & Destructor Documentation

template<class Type, class Vector>
tiny_ad::ad< Type, Vector >::ad ( )
inline
template<class Type, class Vector>
tiny_ad::ad< Type, Vector >::ad ( Type  v,
Vector  d 
)
inline

Definition at line 32 of file tiny_ad.hpp.

template<class Type, class Vector>
tiny_ad::ad< Type, Vector >::ad ( double  v)
inline

Definition at line 33 of file tiny_ad.hpp.

Member Function Documentation

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator* ( const ad< Type, Vector > &  other) const
inline

Definition at line 48 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator* ( const double &  x) const
inline

Definition at line 79 of file tiny_ad.hpp.

template<class Type, class Vector>
ad& tiny_ad::ad< Type, Vector >::operator*= ( const ad< Type, Vector > &  other)
inline

Definition at line 96 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator+ ( const ad< Type, Vector > &  other) const
inline

Definition at line 34 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator+ ( ) const
inline

Definition at line 38 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator+ ( const double &  x) const
inline

Definition at line 73 of file tiny_ad.hpp.

template<class Type, class Vector>
ad& tiny_ad::ad< Type, Vector >::operator+= ( const ad< Type, Vector > &  other)
inline

Definition at line 86 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator- ( const ad< Type, Vector > &  other) const
inline

Definition at line 41 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator- ( void  ) const
inline

Definition at line 45 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator- ( const double &  x) const
inline

Definition at line 76 of file tiny_ad.hpp.

template<class Type, class Vector>
ad& tiny_ad::ad< Type, Vector >::operator-= ( const ad< Type, Vector > &  other)
inline

Definition at line 91 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator/ ( const ad< Type, Vector > &  other) const
inline

Definition at line 53 of file tiny_ad.hpp.

template<class Type, class Vector>
ad tiny_ad::ad< Type, Vector >::operator/ ( const double &  x) const
inline

Definition at line 82 of file tiny_ad.hpp.

template<class Type, class Vector>
ad& tiny_ad::ad< Type, Vector >::operator/= ( const ad< Type, Vector > &  other)
inline

Definition at line 107 of file tiny_ad.hpp.

Member Data Documentation

template<class Type, class Vector>
Vector tiny_ad::ad< Type, Vector >::deriv
template<class Type, class Vector>
Type tiny_ad::ad< Type, Vector >::value

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