ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
tiny_ad::variable< 1, nvar, Double > Struct Template Reference

#include <tiny_ad.hpp>

Public Types

typedef ad< Double,
TINY_VECTOR(Double, nvar) > 
Base
 

Public Member Functions

 variable ()
 
 variable (Base x)
 
 variable (double x)
 
 variable (double x, int id)
 
template<class Constant >
 variable (Constant x)
 
template<class Constant >
 variable (Constant x, int id)
 
void setid (int i0, int count=0)
 
 TINY_VECTOR (Double, nvar) getDeriv()
 
- Public Member Functions inherited from tiny_ad::ad< Double, TINY_VECTOR(Double, nvar) >
 ad ()
 
 ad (Doublev, TINY_VECTOR(Double, nvar)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)
 

Static Public Attributes

static const int result_size = nvar
 

Additional Inherited Members

- Public Attributes inherited from tiny_ad::ad< Double, TINY_VECTOR(Double, nvar) >
TINY_VECTOR(Double, nvar) deriv
 
Double value
 

Detailed Description

template<int nvar, class Double>
struct tiny_ad::variable< 1, nvar, Double >

Definition at line 300 of file tiny_ad.hpp.

Member Typedef Documentation

template<int nvar, class Double >
typedef ad<Double, TINY_VECTOR(Double,nvar) > tiny_ad::variable< 1, nvar, Double >::Base

Definition at line 301 of file tiny_ad.hpp.

Constructor & Destructor Documentation

template<int nvar, class Double >
tiny_ad::variable< 1, nvar, Double >::variable ( void  )
inline

Definition at line 303 of file tiny_ad.hpp.

template<int nvar, class Double >
tiny_ad::variable< 1, nvar, Double >::variable ( Base  x)
inline

Definition at line 304 of file tiny_ad.hpp.

template<int nvar, class Double >
tiny_ad::variable< 1, nvar, Double >::variable ( double  x)
inline

Definition at line 305 of file tiny_ad.hpp.

template<int nvar, class Double >
tiny_ad::variable< 1, nvar, Double >::variable ( double  x,
int  id 
)
inline

Definition at line 306 of file tiny_ad.hpp.

template<int nvar, class Double >
template<class Constant >
tiny_ad::variable< 1, nvar, Double >::variable ( Constant  x)
inline

Definition at line 310 of file tiny_ad.hpp.

template<int nvar, class Double >
template<class Constant >
tiny_ad::variable< 1, nvar, Double >::variable ( Constant  x,
int  id 
)
inline

Definition at line 314 of file tiny_ad.hpp.

Member Function Documentation

template<int nvar, class Double >
void tiny_ad::variable< 1, nvar, Double >::setid ( int  i0,
int  count = 0 
)
inline

Definition at line 318 of file tiny_ad.hpp.

template<int nvar, class Double >
tiny_ad::variable< 1, nvar, Double >::TINY_VECTOR ( Double  ,
nvar   
)
inline

Definition at line 324 of file tiny_ad.hpp.

Member Data Documentation

template<int nvar, class Double >
const int tiny_ad::variable< 1, nvar, Double >::result_size = nvar
static

Definition at line 302 of file tiny_ad.hpp.


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