ADMB keywords extracted from admb.el, version 6.1 from 1 Dec 2010 Keywords start in column 4, separated by labels Arni Magnusson collected these keywords by looking through various models -------------------------------------------------------------------------------- SECTIONS DATA_SECTION INITIALIZATION_SECTION PARAMETER_SECTION PRELIMINARY_CALCS_SECTION PROCEDURE_SECTION FUNCTION SEPARABLE_FUNCTION REPORT_SECTION RUNTIME_SECTION TOP_OF_MAIN_SECTION GLOBALS_SECTION BETWEEN_PHASES_SECTION NORMAL_PRIOR_FUNCTION FINAL_SECTION LOCAL LOC_CALCS LOCAL_CALCS END_CALCS USER_CODE DATATYPES C time_t C++ bool char double int long signed string unsigned void AUTODIF _CONST CLASS dvariable dvar_vector dvar_matrix dvar3_array dvar4_array dvar5_array dvar6_array dvar7_array dvector dmatrix d3_array d4_array d5_array d6_array d7_array Plain variables adstring adstring_array line_adstring ivector imatrix number vector matrix 3darray 4darray 5darray 6darray 7darray dev_vector Input data and parameters init_int init_ivector init_imatrix init_number init_vector init_number_vector init_matrix init_bounded_number init_bounded_vector init_bounded_matrix init_vector_vector init_matrix_vector init_bounded_number_vector init_bounded_vector_vector init_bounded_matrix_vector init_bounded_dev_vector init_3darray init_4darray init_5darray init_6darray init_7darray init_adstring Random effects normal_prior random_effects_vector random_effects_bounded_vector random_effects_matrix random_effects_bounded_matrix DLL variables dll_int dll_imatrix dll_number dll_vector dll_matrix dll_3darray dll_adstring DLL data and parameters dll_init_int dll_init_imatrix dll_init_number dll_init_vector dll_init_matrix dll_init_bounded_number dll_init_bounded_vector dll_init_3darray Special objects banded_lower_triangular_dvar_matrix banded_symmetric_dvar_matrix constant_model_parameters dvar_vector_position dvar_matrix_position extern fmm funnel_dvariable independent_variables model_data model_parameters prevariable likeprof_number random_number_generator sdreport_number sdreport_vector sdreport_matrix variable_model_parameters vcubic_spline_function FUNCTIONS C++ break case const default define if else for goto return sizeof switch using while C++ I/O cerr cin cout endl setf setfixed setprecision setscientific setw showpoint C strings atof atoi printf sprintf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr strtok C++ strings c_str empty erase find find_first_of find_last_of insert length replace rfind substr C time clock ctime difftime strftime time AUTODIF allocated nvarcalc set_covariance_matrix Basic math abs ceil cube exp fabs factln first_difference floor gammln log log10 log_comb mfexp modf posfun pow sfabs square sqrt Trigonometry acos asin atan cos cosh sin sinh tan tanh Random variates and density betai cumd_cauchy cumd_norm gamma_density inv_cumd_cauchy inv_cumd_norm log_gamma_density log_negbinomial_density randn randnegbinomial randpoisson randu sgamma Vectors and matrices, basics colsum column elem_div elem_prod extract_column extract_row max mean min row rowsum size_count sort std_dev sum trans Vectors and matrices, linear algebra choleski_decomp det diagonal eigenvalues eigenvectors empirical_covariance extract_diagonal identity_matrix inv ln_det norm norm2 outer_prod regression robust_regression solve Dot methods allocate fill fill_multinomial fill_seqadd fill_randbi fill_randn fill_randn_ni fill_randpoisson fill_randu fill_randu_ni indexmax indexmin initialize Dot methods, col*, row*, and slice* colfill colfill_randn colfill_randu colfill_seqadd colmax colmin colshift colsize rowfill rowfill_randn rowfill_randu rowfill_seqadd rowmax rowmin rowshift rowsize slicemax slicemin sliceshift slicesize Phases active current_phase initial_params last_phase mceval_phase sd_phase Adjoint code AD_SET_DERIVATIVES AD_SET_DERIVATIVES2 AD_SET_DERIVATIVES4 ADJOINT_CODE elem elem_value restore_dvar_vector_position restore_dvar_vector_value restore_dvar_matrix_position restore_dvar_matrix_value save_dvar_vector_position save_dvar_vector_value save_dvector_derivatives save_dmatrix_derivatives save_dvar_matrix_position save_identifier_string set_value size sub value verify_identifier_string Special functions ad_printf ad_begin_funnel ad_exit adromb boundp boundpin gradcalc histogram mf_upper_bound option_match set_stepnumber set_stepsize shift IMPORTANT Shell exit system File input/output adprogram_name change_datafile_name change_pinfile_name close global_datafile ifstream ofstream open uistream uostream Allocations (TOP_OF_MAIN_SECTION) arrmblsize set_ARRAY_MEMBLOCK_SIZE set_CMPDIF_BUFFER_SIZE set_GRADSTACK_BUFFER_SIZE set_MAX_DLINKS set_MAX_NVAR_OFFSET set_NUM_DEPENDENT_VARIABLES set_NUM_RETURN_ARRAYS set_RETURN_ARRAYS_SIZE Minimization settings convergence_criteria objective_function_value maximum_function_evaluations Adjoint code and preprocessing (GLOBALS_SECTION) defined #define #elif #else #endif #if #ifdef #ifndef #include RETURN_ARRAYS_DECREMENT RETURN_ARRAYS_INCREMENT