ADMB Documentation
-a65f1c97
|
Fundamental data type for reverse mode automatic differentiation. More...
#include <fvar.hpp>
Public Member Functions | |
dvariable () | |
Default constructor. More... | |
dvariable (const dvariable &t) | |
Copy constructor for dvariable object; deep copy. More... | |
dvariable (const double t) | |
Creates dvariable instance from a double constant. More... | |
dvariable (const int &t) | |
Creates dvariable instance from a int constant. More... | |
dvariable (kkludge_object) | |
Specialized constructor that does not create unnecessary entries in the gradient structure; see function nograd_assign. More... | |
dvariable (const prevariable &t) | |
Constructor for dvariable object from its base class; deep copy. More... | |
virtual | ~dvariable () |
Destructor; frees memory on gradient stack. More... | |
dvariable & | operator= (const double x) |
Assigns a value to a dvariable object. More... | |
dvariable & | operator= (const prevariable &other) |
Assigns a value to a dvariable object. More... | |
dvariable & | operator= (const dvariable &other) |
dvariable & | operator= (const df1_one_variable &) |
dvariable & | operator= (const df1_two_variable &) |
dvariable & | operator= (const df1_three_variable &) |
Description not yet available. More... | |
Public Member Functions inherited from prevariable | |
prevariable (const prevariable &other) | |
Copy Constructor. More... | |
double_and_int *& | get_v () |
double_and_int * | get_v () const |
void | initialize (void) |
Description not yet available. More... | |
int | operator!= (const prevariable &v1) const |
Description not yet available. More... | |
int | operator!= (double v1) const |
Description not yet available. More... | |
void | operator*= (const prevariable &v1) |
Description not yet available. More... | |
void | operator*= (double v1) |
Description not yet available. More... | |
prevariable & | operator+= (const prevariable &) |
Prevariable addition assignment operator. More... | |
void | operator+= (double t1) |
Description not yet available. More... | |
void | operator-= (const prevariable &t1) |
Description not yet available. More... | |
void | operator-= (double t1) |
Description not yet available. More... | |
void | operator/= (const prevariable &v1) |
Description not yet available. More... | |
void | operator/= (double v1) |
Description not yet available. More... | |
int | operator< (const prevariable &v1) const |
Description not yet available. More... | |
int | operator< (double v1) const |
Description not yet available. More... | |
int | operator<= (const prevariable &v1) const |
Description not yet available. More... | |
int | operator<= (double v1) const |
Description not yet available. More... | |
prevariable & | operator= (const prevariable &) |
Assigns a value to a prevariable object. More... | |
prevariable & | operator= (double) |
Assigns a value to a prevariable object. More... | |
int | operator== (const prevariable &v1) const |
Description not yet available. More... | |
int | operator== (double v1) const |
Description not yet available. More... | |
int | operator> (const prevariable &v1) const |
Description not yet available. More... | |
int | operator> (double v1) const |
Description not yet available. More... | |
int | operator>= (const prevariable &v1) const |
Description not yet available. More... | |
int | operator>= (double v1) const |
Description not yet available. More... | |
double | restore_prevariable_derivative (void) |
prevariable_position | restore_prevariable_position (void) |
double | restore_prevariable_value (void) |
void | save_prevariable_position () const |
Description not yet available. More... | |
void | save_prevariable_value () const |
Description not yet available. More... | |
double * | xadr () |
double & | xval () |
Additional Inherited Members | |
Public Attributes inherited from prevariable | |
double_and_int * | v |
pointer to the data More... | |
Protected Member Functions inherited from prevariable | |
prevariable ()=delete | |
Default constructor. More... | |
prevariable (double_and_int *u) | |
Fundamental data type for reverse mode automatic differentiation.
|
inline |
Default constructor.
Creates new zero value dvariable object.
Definition at line 1526 of file fvar.hpp.
Referenced by param_init_number::restore_value(), param_init_number::save_value(), param_stddev_number::set_dependent_variables(), and param_likeprof_number::variable().
|
inline |
|
inline |
|
inline |
|
inline |
Specialized constructor that does not create unnecessary entries in the gradient structure; see function nograd_assign.
|
inline |
|
inlinevirtual |
|
inline |
Assigns a value to a dvariable object.
t | constant object of type double. |
Definition at line 1595 of file fvar.hpp.
Referenced by dll_param_number::operator=(), param_init_number::operator=(), dll_param_init_number::operator=(), param_init_bounded_number::operator=(), and funnel_dvariable::operator=().
|
inline |
dvariable& dvariable::operator= | ( | const df1_one_variable & | ) |
dvariable& dvariable::operator= | ( | const df1_two_variable & | ) |
dvariable & dvariable::operator= | ( | const df1_three_variable & | v | ) |
Generated on Wed Sep 7 2022 00:01:33 for ADMB Documentation by 1.8.5 |