ADMB Documentation
-a65f1c97
|
Link list. More...
#include <fvar.hpp>
Public Member Functions | |
dlist () | |
Default constructor. More... | |
~dlist () | |
Destructor. More... | |
dlink * | append (dlink *link) |
Append link to list. More... | |
void | check_list (void) |
Check link list integrity. More... | |
dlink * | create () |
Return new unlinked node. More... | |
double * | get (const int i) const |
double_and_int * | gradnew () |
void | initialize () |
dlink * | last_remove () |
If list is not empty, pop and return last node. More... | |
void | restore_variables () |
Restore variables from buffer. More... | |
void | save_variables () |
Save variables to a buffer. More... | |
size_t | total_addresses () const |
Get total addresses stored. More... | |
Private Attributes | |
char * | ddlist_space |
dlink ** | dlink_addresses |
dlink * | last |
unsigned int | nlinks |
double * | variables_save |
Friends | |
void | allocate_dvariable_space (void) |
Description not yet available. More... | |
void | df_check_derivative_values (void) |
Description not yet available. More... | |
void | df_check_derivative_values_indexed (void) |
Description not yet available. More... | |
void | df_check_derivative_values_indexed_break (void) |
Description not yet available. More... | |
void | funnel_derivatives (void) |
Description not yet available. More... | |
void | gradcalc (int nvar, const dvector &g) |
void | gradient_structure::funnel_gradcalc (void) |
void | gradient_structure::jacobcalc (int nvar, const dmatrix &jac) |
void | gradient_structure::jacobcalc (int nvar, const ofstream &jac) |
void | gradient_structure::jacobcalc (int nvar, const uostream &jac) |
void | gradient_structure::restore_variables () |
void | gradient_structure::save_variables () |
void | gradloop () |
double_and_int * | gradnew () |
Creates an entry in the gradient structure linked list. More... | |
void | slave_gradcalc (void) |
dlist::dlist | ( | ) |
Default constructor.
Definition at line 17 of file ddlist.cpp.
dlist::~dlist | ( | ) |
Destructor.
Definition at line 54 of file ddlist.cpp.
Append link to list.
link | node |
Definition at line 117 of file ddlist.cpp.
Referenced by gradfree().
void dlist::check_list | ( | void | ) |
Check link list integrity.
Definition at line 184 of file ddlist.cpp.
dlink * dlist::create | ( | ) |
double_and_int * dlist::gradnew | ( | ) |
void dlist::initialize | ( | void | ) |
Definition at line 129 of file ddlist.cpp.
Referenced by gradient_structure::funnel_gradcalc(), gradient_structure::gradcalc(), and gradient_structure::jacobcalc().
dlink * dlist::last_remove | ( | ) |
If list is not empty, pop and return last node.
Definition at line 102 of file ddlist.cpp.
Referenced by gradnew().
void dlist::restore_variables | ( | ) |
Restore variables from buffer.
Definition at line 155 of file ddlist.cpp.
Referenced by gradient_structure::restore_variables().
void dlist::save_variables | ( | ) |
Save variables to a buffer.
Definition at line 141 of file ddlist.cpp.
Referenced by gradient_structure::save_variables().
size_t dlist::total_addresses | ( | ) | const |
Get total addresses stored.
Definition at line 169 of file ddlist.cpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Description not yet available.
|
friend |
Definition at line 77 of file sgradclc.cpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Creates an entry in the gradient structure linked list.
|
friend |
|
private |
|
private |
Definition at line 838 of file fvar.hpp.
Referenced by allocate_dvariable_space(), create(), df_check_derivative_values(), df_check_derivative_values_indexed_break(), dlist(), funnel_derivatives(), gradient_structure::funnel_gradcalc(), get(), initialize(), restore_variables(), save_variables(), total_addresses(), and ~dlist().
|
private |
Definition at line 836 of file fvar.hpp.
Referenced by allocate_dvariable_space(), append(), check_list(), dlist(), and last_remove().
|
private |
Definition at line 837 of file fvar.hpp.
Referenced by allocate_dvariable_space(), check_list(), create(), df_check_derivative_values(), df_check_derivative_values_indexed(), df_check_derivative_values_indexed_break(), dlist(), gradient_structure::funnel_gradcalc(), initialize(), restore_variables(), and save_variables().
|
private |
Definition at line 840 of file fvar.hpp.
Referenced by dlist(), restore_variables(), save_variables(), and ~dlist().
Generated on Wed Sep 7 2022 00:01:33 for ADMB Documentation by 1.8.5 |