Fundamental data type for reverse mode automatic differentiation. More...
#include <fvar.hpp>
Public Member Functions | |
dvariable () | |
Null constructor. | |
dvariable (double t) | |
Creates dvariable instance from a double constant. | |
dvariable (const int &t) | |
Creates dvariable instance from a int constant. | |
dvariable (kkludge_object) | |
Specialized constructor that does not create unnecessary entries in the gradient structure; see function nograd_assign. | |
dvariable (const prevariable &) | |
Constructor for dvariable object from its base class; deep copy. | |
dvariable (const dvariable &) | |
Copy constructor for dvariable object; deep copy. | |
~dvariable () | |
Destructor; frees memory on gradient stack. | |
dvariable & | operator= (const prevariable &) |
Assigns a value to a dvariable object. | |
dvariable & | operator= (const df1_one_variable &v) |
dvariable & | operator= (const df1_two_variable &v) |
dvariable & | operator= (const df1_three_variable &v) |
Description not yet available. | |
dvariable & | operator= (double) |
Assigns a value to a dvariable object. |
Fundamental data type for reverse mode automatic differentiation.
Null constructor.
Creates new dvariable object, sets value to zero and initializes derivatve information.
Definition at line 107 of file fvar2.cpp.
Referenced by param_init_number::restore_value(), param_init_number::save_value(), param_stddev_number::set_dependent_variables(), and param_likeprof_number::variable().
dvariable::dvariable | ( | double | t | ) |
dvariable::dvariable | ( | const int & | t | ) |
Specialized constructor that does not create unnecessary entries in the gradient structure; see function nograd_assign.
dvariable::dvariable | ( | const prevariable & | t | ) |
dvariable::dvariable | ( | const dvariable & | t | ) |
dvariable & dvariable::operator= | ( | const prevariable & | t | ) |
Assigns a value to a dvariable object.
t | constant reference to an object of type prevariable. |
Reimplemented from prevariable.
Reimplemented in objective_function_value, param_likeprof_number, param_stddev_number, funnel_dvariable, param_init_bounded_number, dll_param_init_number, param_init_number, dll_param_number, and named_dvariable.
Definition at line 78 of file fvar_o10.cpp.
dvariable& dvariable::operator= | ( | const df1_one_variable & | v | ) |
dvariable& dvariable::operator= | ( | const df1_two_variable & | v | ) |
dvariable & dvariable::operator= | ( | const df1_three_variable & | v | ) |
dvariable & dvariable::operator= | ( | double | t | ) |
Assigns a value to a dvariable object.
t | constant object of type double. |
Reimplemented from prevariable.
Reimplemented in objective_function_value, param_likeprof_number, param_stddev_number, param_init_bounded_number, dll_param_init_number, param_init_number, dll_param_number, and named_dvariable.
Definition at line 91 of file fvar_o10.cpp.
Generated on Tue Mar 8 2016 19:51:39 for ADMB Documentation by 1.8.0 |