class for things related to the gradient structures, including dimension of arrays, size of buffers, etc. More...
#include <gradient_structure.h>
Classes | |
class | arrmemblerr |
Public Member Functions | |
gradient_structure (long int size=100000L) | |
Constructor. | |
~gradient_structure (void) | |
Destructor. | |
Static Public Member Functions | |
static double * | get_ARRAY_MEMBLOCK_BASE () |
static DF_FILE * | get_fp (void) |
static long int | get_USE_FOR_HESSIAN () |
static void | jacobcalc (int nvar, const dmatrix &jac) |
Description not yet available. | |
static void | jacobcalc (int nvar, const ofstream &jac) |
Description not yet available. | |
static void | jacobcalc (int nvar, const uostream &jac) |
Description not yet available. | |
static size_t | NUM_GRADSTACK_BYTES_WRITTEN (void) |
Description not yet available. | |
static void | restore_arrays (void) |
static void | restore_variables (void) |
Restore variables from buffer. | |
static void | save_arrays (void) |
static void | save_dependent_variable_position (const prevariable &v1) |
Description not yet available. | |
static void | save_variables (void) |
Save variables to a buffer. | |
static void | set_ARRAY_MEMBLOCK_SIZE (unsigned long i) |
Set the the maximum amount of memory (in bytes) available for the autodif variable type container class objects. | |
static void | set_CMPDIF_BUFFER_SIZE (const size_t i) |
Set the size in bytes of the buffer used to contain the information generated by the "precompiled" derivative code. | |
static void | set_GRADSTACK_BUFFER_BYTES (const size_t i) |
Set (in bytes) the number of entries contained in the buffer used for calculating derivatives. | |
static void | set_GRADSTACK_BUFFER_SIZE (const size_t i) |
Set the number of entries contained in the buffer that, in turn, contains the information necessary for calculating derivatives. | |
static void | set_MAX_DLINKS (int i) |
Set the maximum number of dvariable objects that can be in scope at one time. | |
static void | set_MAX_NVAR_OFFSET (unsigned int i) |
Set the the maximum number of independent variables that can be used. | |
static void | set_NO_SAVE_VARIABLES_VALUES () |
Description not yet available. | |
static void | set_NUM_DEPENDENT_VARIABLES (int i) |
Description not yet available. | |
static void | set_NUM_RETURN_ARRAYS (int i) |
Set the maximum allowable depth of nesting of functions that return autodif variable types. | |
static void | set_RETURN_ARRAYS_SIZE (int i) |
Set the return arrays size controlling the amount of complexity that one line of arithmetic can have. | |
static void | set_USE_FOR_HESSIAN (const long int i) |
static void | set_YES_SAVE_VARIABLES_VALUES () |
Description not yet available. | |
static size_t | totalbytes (void) |
Description not yet available. | |
Static Public Attributes | |
static arr_list * | ARR_FREE_LIST1 = NULL |
static arr_list * | ARR_LIST1 = NULL |
static dlist * | GRAD_LIST |
static grad_stack * | GRAD_STACK1 |
static double * | hessian_ptr = NULL |
static int | Hybrid_bounded_flag = 0 |
static unsigned long int | max_last_offset = 0 |
static dvariable * | MAX_RETURN = NULL |
static dvariable * | MIN_RETURN = NULL |
static int | RETURN_ARRAYS_SIZE = 70 |
static dvariable * | RETURN_PTR = NULL |
Static Private Member Functions | |
static void | check_set_error (const char *variable_name) |
Produce error if gradient structure hasn't been set. | |
Private Attributes | |
int | x |
Static Private Attributes | |
static humungous_pointer | ARRAY_MEMBLOCK_BASE |
static humungous_pointer | ARRAY_MEMBLOCK_SAVE |
static unsigned long | ARRAY_MEMBLOCK_SIZE = 0L |
static size_t | CMPDIF_BUFFER_SIZE = 140000000L |
static char | cmpdif_file_name [61] |
static dependent_variables_information * | DEPVARS_INFO = NULL |
static DF_FILE * | fp = NULL |
static size_t | GRADSTACK_BUFFER_SIZE = 4000000L |
static indvar_offset_list * | INDVAR_LIST = NULL |
static int | instances = 0 |
static unsigned int | MAX_DLINKS = 5000 |
static unsigned int | MAX_NVAR_OFFSET = 5000 |
static int | NUM_DEPENDENT_VARIABLES = 2000 |
static int | NUM_RETURN_ARRAYS = 25 |
static long int | NVAR = 0 |
static size_t | PREVIOUS_TOTAL_BYTES = 0 |
static dvariable ** | RETURN_ARRAYS = NULL |
static int | RETURN_ARRAYS_PTR |
static dvariable ** | RETURN_PTR_CONTAINER = NULL |
static int | save_var_file_flag = 0 |
static int | save_var_flag = 0 |
static size_t | TOTAL_BYTES = 0 |
static long int | USE_FOR_HESSIAN = 0 |
Friends | |
void | allocate_dvariable_space (void) |
Description not yet available. | |
void | arr_free (double_and_int *) |
Description not yet available. | |
double_and_int * | arr_new (unsigned int sz) |
Description not yet available. | |
void | cleanup_temporary_files () |
Close gradient and variable files. | |
void | default_evaluation (void) |
Description not yet available. | |
class | DF_FILE |
class | dfsdmat |
class | dlist |
class | function_minimizer |
void | funnel_derivatives (void) |
Description not yet available. | |
void | funnel_gradcalc (void) |
Description not yet available. | |
class | grad_stack |
void | gradcalc (int nvar, const dvector &g) |
Compute the gradient from the data stored in the global gradient_structure. | |
void | gradfree (dlink *v) |
Description not yet available. | |
double_and_int * | gradnew () |
Creates an entry in the gradient structure linked list. | |
void | make_indvar_list (const dvar_vector &t) |
Description not yet available. | |
dmatrix | restore_dvar_matrix_derivatives (void) |
dmatrix | restore_dvar_matrix_value (void) |
dvector | restore_dvar_vector_derivatives (void) |
dvar_vector_position | restore_dvar_vector_position (void) |
Description not yet available. | |
dvector | restore_dvar_vector_value (const dvar_vector_position &tmp) |
Restores the size, address, and value information for a dvar_vector. | |
void | RETURN_ARRAYS_DECREMENT (void) |
Decrements gradient_structure::RETURN_ARRAYS_PTR. | |
void | RETURN_ARRAYS_INCREMENT (void) |
Increments gradient_structure::RETURN_ARRAYS_PTR. | |
void | slave_gradcalc (void) |
void | wide_funnel_gradcalc (void) |
class for things related to the gradient structures, including dimension of arrays, size of buffers, etc.
Definition at line 92 of file gradient_structure.h.
gradient_structure::gradient_structure | ( | long int | size = 100000L | ) |
Constructor.
Definition at line 288 of file gradstrc.cpp.
Destructor.
Definition at line 585 of file gradstrc.cpp.
void gradient_structure::check_set_error | ( | const char * | variable_name | ) | [static, private] |
Produce error if gradient structure hasn't been set.
variable_name | string with variable name |
Definition at line 21 of file gs_set.cpp.
Referenced by set_ARRAY_MEMBLOCK_SIZE(), set_MAX_DLINKS(), set_MAX_NVAR_OFFSET(), and set_NUM_RETURN_ARRAYS().
static double* gradient_structure::get_ARRAY_MEMBLOCK_BASE | ( | ) | [inline, static] |
Definition at line 113 of file gradient_structure.h.
Referenced by df_check_derivative_values(), df_check_derivative_values_indexed(), and df_check_derivative_values_indexed_break().
static DF_FILE* gradient_structure::get_fp | ( | void | ) | [inline, static] |
Definition at line 205 of file gradient_structure.h.
Referenced by funnel_gradcalc(), get_string_marker(), report_gradstack_flag(), report_gradstack_flag2(), restore_ad_pointer(), restore_d3_array_position(), restore_dmatrix_position(), restore_double_value(), restore_dvar_matrix_position(), restore_dvar_vector_position(), restore_dvar_vector_value(), restore_dvector_position(), restore_dvector_value(), restore_imatrix_position(), restore_int_value(), restore_ivector_position(), restore_ivector_value(), restore_pointer_value(), restore_prevariable_derivative(), restore_prevariable_position(), restore_prevariable_value(), save_ad_pointer(), d3_array::save_d3_array_position(), dmatrix::save_dmatrix_position(), save_double_value(), dvar_matrix::save_dvar_matrix_position(), banded_symmetric_dvar_matrix::save_dvar_matrix_position(), banded_lower_triangular_dvar_matrix::save_dvar_matrix_position(), dvar_vector::save_dvar_vector_position(), dvar_vector::save_dvar_vector_value(), dvector::save_dvector_position(), dvector::save_dvector_value(), save_identifier_string(), imatrix::save_imatrix_position(), save_int_value(), ivector::save_ivector_position(), ivector::save_ivector_value(), save_pointer_value(), prevariable::save_prevariable_position(), prevariable::save_prevariable_value(), set_gradstack_flag(), and verify_identifier_string().
static long int gradient_structure::get_USE_FOR_HESSIAN | ( | ) | [inline, static] |
Definition at line 149 of file gradient_structure.h.
Referenced by dfsdmat::allocate().
void gradient_structure::jacobcalc | ( | int | nvar, |
const dmatrix & | _jac | ||
) | [static] |
void gradient_structure::jacobcalc | ( | int | nvar, |
const ofstream & | _ofs | ||
) | [static] |
void gradient_structure::jacobcalc | ( | int | nvar, |
const uostream & | ofs | ||
) | [static] |
size_t gradient_structure::NUM_GRADSTACK_BYTES_WRITTEN | ( | void | ) | [static] |
void gradient_structure::restore_arrays | ( | void | ) | [static] |
Definition at line 314 of file sgradclc.cpp.
Referenced by funnel_gradcalc(), gradcalc(), and jacobcalc().
void gradient_structure::restore_variables | ( | void | ) | [static] |
Restore variables from buffer.
Definition at line 385 of file sgradclc.cpp.
Referenced by funnel_gradcalc(), gradcalc(), and jacobcalc().
void gradient_structure::save_arrays | ( | void | ) | [static] |
Definition at line 239 of file sgradclc.cpp.
Referenced by funnel_gradcalc(), and gradcalc().
void gradient_structure::save_dependent_variable_position | ( | const prevariable & | v1 | ) | [static] |
Description not yet available.
Definition at line 111 of file depvars.cpp.
Referenced by operator<<().
void gradient_structure::save_variables | ( | void | ) | [static] |
Save variables to a buffer.
Definition at line 378 of file sgradclc.cpp.
Referenced by funnel_gradcalc(), and gradcalc().
void gradient_structure::set_ARRAY_MEMBLOCK_SIZE | ( | unsigned long | i | ) | [static] |
Set the the maximum amount of memory (in bytes) available for the autodif variable type container class objects.
i | value in bytes |
Definition at line 57 of file gs_set.cpp.
void gradient_structure::set_CMPDIF_BUFFER_SIZE | ( | const size_t | i | ) | [static] |
Set the size in bytes of the buffer used to contain the information generated by the "precompiled" derivative code.
i | value in bytes |
Definition at line 75 of file gs_set.cpp.
Referenced by function_minimizer::function_minimizer().
void gradient_structure::set_GRADSTACK_BUFFER_BYTES | ( | const size_t | i | ) | [static] |
Set (in bytes) the number of entries contained in the buffer used for calculating derivatives.
This is an alternative to set_GRADSTACK_BUFFER_SIZE which is in units of "gs_size" rather than bytes.
i | memory allocation in bytes |
Definition at line 174 of file gs_set.cpp.
void gradient_structure::set_GRADSTACK_BUFFER_SIZE | ( | const size_t | i | ) | [static] |
Set the number of entries contained in the buffer that, in turn, contains the information necessary for calculating derivatives.
For historical reasons, the actual amount of memory (in bytes) reserved for the buffer is equal to the value of GRADSTACK_BUFFER_SIZE multiplied by the size (in bytes) of an autodif structure, grad_stack_entry. See also set_GRADSTACK_BUFFER_BYTES which performs the same function but with input in units of bytes
i | memory allocation in units of "gs_size" (which is about 36 bytes) |
Definition at line 119 of file gs_set.cpp.
Referenced by function_minimizer::function_minimizer().
void gradient_structure::set_MAX_DLINKS | ( | int | i | ) | [static] |
Set the maximum number of dvariable objects that can be in scope at one time.
i | the value to set |
Definition at line 228 of file gs_set.cpp.
void gradient_structure::set_MAX_NVAR_OFFSET | ( | unsigned int | i | ) | [static] |
Set the the maximum number of independent variables that can be used.
i | the value to set |
Definition at line 218 of file gs_set.cpp.
void gradient_structure::set_NO_SAVE_VARIABLES_VALUES | ( | void | ) | [static] |
void gradient_structure::set_NUM_DEPENDENT_VARIABLES | ( | int | i | ) | [static] |
void gradient_structure::set_NUM_RETURN_ARRAYS | ( | int | i | ) | [static] |
Set the maximum allowable depth of nesting of functions that return autodif variable types.
i | number of return arrays |
Definition at line 46 of file gs_set.cpp.
void gradient_structure::set_RETURN_ARRAYS_SIZE | ( | int | i | ) | [static] |
Set the return arrays size controlling the amount of complexity that one line of arithmetic can have.
i | size of return arrays |
Definition at line 36 of file gs_set.cpp.
static void gradient_structure::set_USE_FOR_HESSIAN | ( | const long int | i | ) | [inline, static] |
Definition at line 153 of file gradient_structure.h.
void gradient_structure::set_YES_SAVE_VARIABLES_VALUES | ( | void | ) | [static] |
size_t gradient_structure::totalbytes | ( | void | ) | [static] |
void allocate_dvariable_space | ( | void | ) | [friend] |
void arr_free | ( | double_and_int * | varr | ) | [friend] |
double_and_int* arr_new | ( | unsigned int | sz | ) | [friend] |
void cleanup_temporary_files | ( | ) | [friend] |
Close gradient and variable files.
Free gradient structure memory.
Definition at line 175 of file gradstrc.cpp.
Referenced by gradient_structure().
void default_evaluation | ( | void | ) | [friend] |
friend class DF_FILE [friend] |
Definition at line 204 of file gradient_structure.h.
Referenced by gradient_structure().
friend class dfsdmat [friend] |
Definition at line 157 of file gradient_structure.h.
friend class dlist [friend] |
Definition at line 235 of file gradient_structure.h.
Referenced by gradient_structure().
friend class function_minimizer [friend] |
Definition at line 239 of file gradient_structure.h.
void funnel_derivatives | ( | void | ) | [friend] |
Description not yet available.
void funnel_gradcalc | ( | void | ) | [friend] |
friend class grad_stack [friend] |
Definition at line 236 of file gradient_structure.h.
Referenced by gradient_structure().
Compute the gradient from the data stored in the global gradient_structure.
nvar | Number of variables in the gradient. |
_g | Vector from 1 to nvar. On return contains the gradient. |
Definition at line 86 of file sgradclc.cpp.
double_and_int* gradnew | ( | ) | [friend] |
Creates an entry in the gradient structure linked list.
void make_indvar_list | ( | const dvar_vector & | t | ) | [friend] |
dmatrix restore_dvar_matrix_derivatives | ( | void | ) | [friend] |
dmatrix restore_dvar_matrix_value | ( | void | ) | [friend] |
dvector restore_dvar_vector_derivatives | ( | void | ) | [friend] |
dvar_vector_position restore_dvar_vector_position | ( | void | ) | [friend] |
dvector restore_dvar_vector_value | ( | const dvar_vector_position & | tmp | ) | [friend] |
Restores the size, address, and value information for a dvar_vector.
Back up the stream and read the number of bytes written in the write function'' corresponding to this
read function''
Definition at line 178 of file cmpdif4.cpp.
void RETURN_ARRAYS_DECREMENT | ( | void | ) | [friend] |
Decrements gradient_structure::RETURN_ARRAYS_PTR.
Must be called prior to exit from any functiton that returns a variable object. Calls must balance calls to void RETURN_ARRAYS_INCREMENT(void).
Definition at line 558 of file gradstrc.cpp.
void RETURN_ARRAYS_INCREMENT | ( | void | ) | [friend] |
Increments gradient_structure::RETURN_ARRAYS_PTR.
Must be called on entry to any function that returns a variable object. Calls must balance calls to void RETURN_ARRAYS_DECREMENT(void).
Definition at line 526 of file gradstrc.cpp.
void slave_gradcalc | ( | void | ) | [friend] |
void wide_funnel_gradcalc | ( | void | ) | [friend] |
arr_list * gradient_structure::ARR_FREE_LIST1 = NULL [static] |
Definition at line 195 of file gradient_structure.h.
arr_list * gradient_structure::ARR_LIST1 = NULL [static] |
Definition at line 194 of file gradient_structure.h.
Referenced by arr_free(), arr_free_add(), arr_free_remove(), arr_new(), arr_remove(), df_check_derivative_values(), df_check_derivative_values_indexed(), df_check_derivative_values_indexed_break(), funnel_gradcalc(), gradcalc(), gradient_structure(), jacobcalc(), restore_arrays(), save_arrays(), and ~gradient_structure().
humungous_pointer gradient_structure::ARRAY_MEMBLOCK_BASE [static, private] |
Definition at line 110 of file gradient_structure.h.
Referenced by dfsdmat::allocate(), arr_new(), funnel_derivatives(), funnel_gradcalc(), get_ARRAY_MEMBLOCK_BASE(), gradcalc(), gradient_structure(), jacobcalc(), and ~gradient_structure().
humungous_pointer gradient_structure::ARRAY_MEMBLOCK_SAVE [static, private] |
Definition at line 111 of file gradient_structure.h.
unsigned long gradient_structure::ARRAY_MEMBLOCK_SIZE = 0L [static, private] |
Definition at line 109 of file gradient_structure.h.
Referenced by arr_new(), funnel_gradcalc(), and gradient_structure().
size_t gradient_structure::CMPDIF_BUFFER_SIZE = 140000000L [static, private] |
Definition at line 122 of file gradient_structure.h.
Referenced by gradient_structure().
char gradient_structure::cmpdif_file_name [static, private] |
Definition at line 94 of file gradient_structure.h.
Referenced by gradient_structure().
dependent_variables_information * gradient_structure::DEPVARS_INFO = NULL [static, private] |
Definition at line 132 of file gradient_structure.h.
Referenced by gradient_structure(), save_dependent_variable_position(), and ~gradient_structure().
DF_FILE * gradient_structure::fp = NULL [static, private] |
Definition at line 95 of file gradient_structure.h.
Referenced by cleanup_temporary_files(), get_fp(), gradient_structure(), save_dependent_variable_position(), and ~gradient_structure().
dlist * gradient_structure::GRAD_LIST [static] |
Definition at line 188 of file gradient_structure.h.
Referenced by df_check_derivative_values(), df_check_derivative_values_indexed(), df_check_derivative_values_indexed_break(), funnel_derivatives(), funnel_gradcalc(), gradcalc(), gradfree(), gradient_structure(), gradnew(), and ~gradient_structure().
grad_stack * gradient_structure::GRAD_STACK1 [static] |
Definition at line 186 of file gradient_structure.h.
Referenced by acos(), ad_begin_funnel(), asin(), atan(), betacf(), bounded_cumd_norm(), check_derivative_values(), check_derivative_values_break(), choleski_decomp(), choleski_decomp_positive(), cos(), cosh(), cube(), cumd_norm(), default_evaluation(), default_evaluation0(), default_evaluation1(), default_evaluation1m(), default_evaluation2(), default_evaluation3(), default_evaluation3ind(), default_evaluation4(), default_evaluation4ind(), default_evaluation4m(), det(), df_eq_pvdoub(), df_minus_eq_pvpv(), df_plus_eq_pvpv(), dvariable::dvariable(), elem_div(), elem_prod(), empirical_covariance(), exp(), fabs(), first_difference(), fourth(), funnel_gradcalc(), gammlnguts(), grad_chk(), gradcalc(), gradient_structure(), dvar_vector::initialize(), dvar_matrix::initialize(), insert_identifier_string(), inv(), inv_cumd_beta_stable(), inv_cumd_gamma(), inv_cumd_norm_inner(), inv_cumd_normal_logistic_mixture(), inv_cumd_normal_mixture(), jacobcalc(), ldexp(), ln_det(), ln_det_choleski(), ln_det_choleski_error(), log(), log10(), mfexp(), dvar_vector::operator()(), operator*(), prevariable::operator*=(), operator+(), prevariable::operator+=(), dvar_vector::operator+=(), operator-(), dvar_vector::operator-(), prevariable::operator-=(), dvar_vector::operator-=(), operator/(), prevariable::operator/=(), dvar_vector::operator/=(), prevariable::operator=(), dvariable::operator=(), dvar_vector::operator=(), outer_prod(), pow(), grad_stack::read_grad_stack_buffer(), report_derivatives(), reset_gradient_stack(), restore_arrays(), save_arrays(), save_dependent_variable_position(), set_gradstack_flag(), sfabs(), sigmoid(), sin(), sinh(), solve(), sqr(), sqrt(), square(), sum(), tan(), tanh(), trans(), varchol(), and ~gradient_structure().
size_t gradient_structure::GRADSTACK_BUFFER_SIZE = 4000000L [static, private] |
Definition at line 123 of file gradient_structure.h.
Referenced by grad_stack::grad_stack().
double * gradient_structure::hessian_ptr = NULL [static] |
Definition at line 148 of file gradient_structure.h.
Referenced by dfsdmat::allocate(), and gradient_structure().
int gradient_structure::Hybrid_bounded_flag = 0 [static] |
Definition at line 147 of file gradient_structure.h.
Referenced by boundp(), boundpin(), function_minimizer::computations1(), dfboundp(), function_minimizer::hess_inv(), function_minimizer::hess_routine_noparallel(), function_minimizer::hess_routine_noparallel_random_effects(), function_minimizer::mcmc_computations(), and ndfboundp().
indvar_offset_list * gradient_structure::INDVAR_LIST = NULL [static, private] |
Definition at line 130 of file gradient_structure.h.
Referenced by gradcalc(), gradient_structure(), jacobcalc(), make_indvar_list(), and ~gradient_structure().
int gradient_structure::instances = 0 [static, private] |
Definition at line 138 of file gradient_structure.h.
Referenced by arr_new(), check_set_error(), funnel_gradcalc(), gradcalc(), gradfree(), gradient_structure(), gradnew(), make_indvar_list(), and ~gradient_structure().
unsigned int gradient_structure::MAX_DLINKS = 5000 [static, private] |
Definition at line 129 of file gradient_structure.h.
Referenced by allocate_dvariable_space(), dlist::create(), dlist::dlist(), set_MAX_DLINKS(), and dlist::total_addresses().
unsigned long int gradient_structure::max_last_offset = 0 [static] |
Definition at line 238 of file gradient_structure.h.
Referenced by arr_new().
unsigned int gradient_structure::MAX_NVAR_OFFSET = 5000 [static, private] |
Definition at line 125 of file gradient_structure.h.
Referenced by gradient_structure(), make_indvar_list(), and set_MAX_NVAR_OFFSET().
dvariable * gradient_structure::MAX_RETURN = NULL [static] |
Definition at line 193 of file gradient_structure.h.
Referenced by acos(), asin(), atan(), bounded_cumd_norm(), cos(), cosh(), cube(), cumd_norm(), exp(), fabs(), fourth(), gradient_structure(), inv_cumd_norm_inner(), ldexp(), log(), log10(), operator*(), operator+(), operator-(), operator/(), pow(), sfabs(), sigmoid(), sin(), sinh(), sqr(), sqrt(), square(), tan(), and tanh().
dvariable * gradient_structure::MIN_RETURN = NULL [static] |
Definition at line 192 of file gradient_structure.h.
Referenced by acos(), asin(), atan(), bounded_cumd_norm(), cos(), cosh(), cube(), cumd_norm(), exp(), fabs(), fourth(), gradient_structure(), inv_cumd_norm_inner(), ldexp(), log(), log10(), operator*(), operator+(), operator-(), operator/(), pow(), RETURN_ARRAYS_INCREMENT(), sfabs(), sigmoid(), sin(), sinh(), sqr(), sqrt(), square(), tan(), and tanh().
int gradient_structure::NUM_DEPENDENT_VARIABLES = 2000 [static, private] |
Definition at line 131 of file gradient_structure.h.
Referenced by gradient_structure(), function_minimizer::minimize(), and set_NUM_DEPENDENT_VARIABLES().
int gradient_structure::NUM_RETURN_ARRAYS = 25 [static, private] |
Definition at line 103 of file gradient_structure.h.
Referenced by gradient_structure(), RETURN_ARRAYS_INCREMENT(), set_NUM_RETURN_ARRAYS(), and ~gradient_structure().
long int gradient_structure::NVAR = 0 [static, private] |
Definition at line 102 of file gradient_structure.h.
Referenced by gradcalc(), gradient_structure(), make_indvar_list(), and ~gradient_structure().
size_t gradient_structure::PREVIOUS_TOTAL_BYTES = 0 [static, private] |
Definition at line 108 of file gradient_structure.h.
Referenced by funnel_gradcalc(), grad_stack::grad_stack(), gradcalc(), and NUM_GRADSTACK_BYTES_WRITTEN().
dvariable ** gradient_structure::RETURN_ARRAYS = NULL [static, private] |
Definition at line 104 of file gradient_structure.h.
Referenced by gradient_structure(), and ~gradient_structure().
int gradient_structure::RETURN_ARRAYS_PTR [static, private] |
Definition at line 105 of file gradient_structure.h.
Referenced by gradient_structure(), RETURN_ARRAYS_DECREMENT(), and RETURN_ARRAYS_INCREMENT().
int gradient_structure::RETURN_ARRAYS_SIZE = 70 [static] |
Definition at line 189 of file gradient_structure.h.
Referenced by gradient_structure(), RETURN_ARRAYS_DECREMENT(), RETURN_ARRAYS_INCREMENT(), and set_RETURN_ARRAYS_SIZE().
dvariable * gradient_structure::RETURN_PTR = NULL [static] |
Definition at line 191 of file gradient_structure.h.
Referenced by acos(), asin(), atan(), bounded_cumd_norm(), cos(), cosh(), cube(), cumd_norm(), exp(), fabs(), fourth(), gradient_structure(), inv_cumd_norm_inner(), ldexp(), log(), log10(), operator*(), operator+(), operator-(), operator/(), pow(), RETURN_ARRAYS_INCREMENT(), sfabs(), sigmoid(), sin(), sinh(), sqr(), sqrt(), square(), tan(), and tanh().
dvariable ** gradient_structure::RETURN_PTR_CONTAINER = NULL [static, private] |
Definition at line 106 of file gradient_structure.h.
Referenced by gradient_structure(), and ~gradient_structure().
int gradient_structure::save_var_file_flag = 0 [static, private] |
Definition at line 126 of file gradient_structure.h.
Referenced by restore_arrays(), and save_arrays().
int gradient_structure::save_var_flag = 0 [static, private] |
Definition at line 127 of file gradient_structure.h.
Referenced by gradcalc(), jacobcalc(), set_NO_SAVE_VARIABLES_VALUES(), and set_YES_SAVE_VARIABLES_VALUES().
size_t gradient_structure::TOTAL_BYTES = 0 [static, private] |
Definition at line 107 of file gradient_structure.h.
Referenced by funnel_gradcalc(), grad_stack::grad_stack(), gradcalc(), NUM_GRADSTACK_BYTES_WRITTEN(), totalbytes(), and grad_stack::write_grad_stack_buffer().
long int gradient_structure::USE_FOR_HESSIAN = 0 [static, private] |
Definition at line 101 of file gradient_structure.h.
Referenced by get_USE_FOR_HESSIAN(), and set_USE_FOR_HESSIAN().
int gradient_structure::x [private] |
Definition at line 139 of file gradient_structure.h.
Generated on Tue Mar 8 2016 19:51:40 for ADMB Documentation by 1.8.0 |