46 #if !defined(__RANDEFFECTS__)
47 # define __RANDEFFECTS__
175 int &
level4(
int i,
int j,
int k,
int l) {
return (*
ptr4)(i,j,k,l);}
290 double& fbest,
int& iflag,
int& iter,
int maxfn);
416 int use_gauss_hermite,
int num_separable_calls ,
const ivector& itmp);
423 #endif // #if !defined(__RANDEFFECTS__)
dvector operator()(const dvector &_x, const double &_f, function_minimizer *pfmin)
Description not yet available.
Description not yet available.
virtual void set_random_effects_active()
static dvar_vector * variance_components_vector
dcompressed_triplet * sparse_triplet2
void do_newton_raphson_banded(function_minimizer *pmin, double, int &)
Description not yet available.
dvector banded_calculations(const dvector &_x, const double &_f, function_minimizer *pfmin)
Description not yet available.
Description not yet available.
virtual void set_random_effects_active()
int separable_calls_counter
function_minimizer * pmin
dvector check_local_uadjoint2
dvector get_uhat(const dvector &x, function_minimizer *pfmin)
Description not yet available.
void test_trust_region_method(function_minimizer *pmin)
dcompressed_triplet * sparse_triplet
Description not yet available.
void generate_antithetical_rvs()
Description not yet available.
virtual void set_only_random_effects_active()
void get_complete_hessian(dmatrix &H, function_minimizer *pfmin)
dmatrix * pHess_non_quadprior_part
double get_fx_fu(function_minimizer *pfmin)
Description not yet available.
Description not yet available.
void check_pool_size(void)
Description not yet available.
void do_separable_stuff(void)
Description not yet available.
imatrix * block_diagonal_re_list
void begin_separable_call_stuff(void)
Description not yet available.
dvector default_calculations_check_derivatives(const dvector &_x, function_minimizer *pfmin, const double &f)
Description not yet available.
dvector check_local_uadjoint
i3_array * get_ptr3(void)
Description not yet available.
virtual void set_only_random_effects_active()
dvector get_gradient_lme(const dvector &x, function_minimizer *pfmin)
Description not yet available.
double do_one_feval(const dvector &x, function_minimizer *pfmin)
Description not yet available.
Vector of double precision numbers.
d3_array * Hess_components
dvar_matrix * importance_sampling_components
imatrix * block_diagonal_fe_list
Description not yet available.
Description not yet available.
void get_hessian_components_banded_lme(function_minimizer *pfmin)
Description not yet available.
static int sparse_hessian_flag
hs_symbolic * sparse_symbolic2
imatrix * compressed_triplet_information
virtual void set_only_random_effects_inactive()
Description not yet available.
int importance_sampling_counter
dvar_matrix get_hessian_from_components_lme(function_minimizer *pfmin)
Description not yet available.
void build_up_nested_shape(void)
Description not yet available.
virtual void set_random_effects_inactive()
dvector get_gradient_lme_hp(const double &x, function_minimizer *pfmin)
Description not yet available.
void do_separable_stuff_laplace_approximation_importance_sampling_adjoint(df1b2variable &)
Description not yet available.
dvector get_newton_raphson_info_block_diagonal(function_minimizer *pmin)
Description not yet available.
gauss_hermite_stuff(laplace_approximation_calculator *lapprox, int use_gauss_hermite, int num_separable_calls, const ivector &itmp)
Description not yet available.
void allocate(int)
Description not yet available.
void pvm_slave_function_evaluation_random_effects(void)
void do_newton_raphson_state_space(function_minimizer *pfmin, double f_from_1, int &no_converge_flag)
static int where_are_we_flag
d3_array * block_diagonal_Dux
virtual void set_only_random_effects_inactive()
int & level2(int i, int j)
dvector * importance_sampling_weights
dvector banded_calculations_lme(const dvector &_x, const double &_f, function_minimizer *pfmin)
Description not yet available.
void do_separable_stuff_laplace_approximation_banded(df1b2variable &)
Description not yet available.
dvector check_local_xadjoint2
void check_hessian_type(const dvector &_x, function_minimizer *)
Description not yet available.
void trim(void)
Description not yet available.
laplace_approximation_calculator(int _xsize, int _usize, int _minder, int _maxder, function_minimizer *pfmin)
Description not yet available.
void initialize(void)
Description not yet available.
d3_array * block_diagonal_ch
virtual void set_only_random_effects_active()
void check_hessian_type2(function_minimizer *pfmin)
Description not yet available.
dvector local_minimization_routine(dvector &s, dmatrix &Hess, dvector &grad, double lambda)
Description not yet available.
dvector * importance_sampling_values
Description not yet available.
Description not yet available.
void get_block_diagonal_hessian(df1b2variable &)
Description not yet available.
dvector block_diagonal_calculations(const dvector &_x, const double &_f, function_minimizer *pfmin)
Description not yet available.
void get_newton_raphson_info_slave(function_minimizer *pmin)
void get_newton_raphson_info_master(function_minimizer *pmin)
~laplace_approximation_calculator()
Destructor.
virtual void set_only_random_effects_inactive()
void set_u_dot(int i)
Description not yet available.
Description not yet available.
banded_symmetric_dmatrix * bHess
virtual void set_random_effects_inactive()
ivector * sparse_iterator
Description not yet available.
dcompressed_triplet * vsparse_triplet_adjoint
ivector nested_separable_calls_counter
Description not yet available.
Description not yet available.
void do_separable_stuff_newton_raphson_block_diagonal(df1b2variable &)
Description not yet available.
void check_for_need_to_reallocate(int ip)
Does Nothing.
void set_default_hessian_type(void)
Description not yet available.
int num_importance_samples
dvar3_array * block_diagonal_vch
dvector get_uhat_quasi_newton(const dvector &x, function_minimizer *pfmin)
Description not yet available.
dvector default_calculations(const dvector &_x, const double &_f, function_minimizer *pfmin)
Description not yet available.
Array of integers(int) with indexes from index_min to indexmax.
virtual void set_random_effects_active()
virtual void set_only_random_effects_inactive()
dvector local_minimization(dvector &s, dmatrix &Hess, dvector &grad, double lambda)
Description not yet available.
void default_calculations_parallel_slave(const dvector &_x, const double &_f, function_minimizer *pfmin)
double inner_optimization_banded(dvector &x, function_minimizer *pfmin, int &no_converge_flag)
Description not yet available.
virtual void set_only_random_effects_active()
double standard_type3_loop(int no_converge_flag)
Description not yet available.
int in_gauss_hermite_phase
Description not yet available.
Functions and variables for function minimizer.
Description not yet available.
hs_symbolic * sparse_symbolic
Description not yet available.
virtual void set_only_random_effects_inactive()
Description not yet available.
i3_array * triplet_information
dvector get_newton_raphson_info_banded(function_minimizer *pmin)
Description not yet available.
Description not yet available.
d3_array * block_diagonal_vhessianadjoint
virtual void set_random_effects_active()
void allocate_block_diagonal_stuff(void)
Description not yet available.
void do_separable_stuff_newton_raphson_banded(df1b2variable &)
Description not yet available.
Description not yet available.
Description not yet available.
ivector * num_local_re_array
dvector banded_calculations_trust_region_approach(const dvector &_uhat, function_minimizer *pmin)
Description not yet available.
int no_function_component_flag
dvar3_array * block_diagonal_vhessian
Description not yet available.
ivector * num_local_fixed_array
void do_separable_stuff_laplace_approximation_banded_adjoint(const df1b2variable &ff)
Description not yet available.
void allocate(const nested_calls_shape &nsc)
Description not yet available.
dvector check_local_xadjoint
virtual void set_random_effects_inactive()
Description not yet available.
ostream & operator<<(const ostream &_s, preshowpoint p)
Description not yet available.
dvector get_uhat_quasi_newton_block_diagonal(const dvector &x, function_minimizer *pfmin)
Description not yet available.
virtual void set_only_random_effects_inactive()
nested_calls_indices nested_indices
imatrix check_sparse_matrix_structure(void)
Description not yet available.
Description not yet available.
dvector lincg(dvector &x, dvector &c, dmatrix &H, double tol, double Delta, function_minimizer *pfmin, double &truef, double &e, double &f, double &fbest, int &iflag, int &iter, int maxfn)
Description not yet available.
dvector default_calculations_parallel_master(const dvector &_x, const double &_f, function_minimizer *pfmin)
Class definition of matrix with derivitive information .
ivector nested_tree_position
~nested_calls_shape()
Description not yet available.
virtual void set_random_effects_inactive()
ivector * get_ptr1(void)
Description not yet available.
virtual void set_random_effects_active()
dvar_matrix gauss_hermite_values
Description not yet available.
ivector & level2(int i, int j)
Description not yet available.
nested_calls_indices(void)
i4_array * get_ptr4(void)
Description not yet available.
ivector & level3(int i, int j, int k)
static int saddlepointflag
void make_sparse_triplet(void)
Description not yet available.
Description not yet available.
dvector get_uhat_quasi_newton_qd(const dvector &x, function_minimizer *pfmin)
Description not yet available.
virtual void set_only_random_effects_active()
dvar_compressed_triplet * vsparse_triplet
void do_separable_stuff_hessian_type_information(void)
Description not yet available.
banded_symmetric_dmatrix * bHessadjoint
d3_array * block_diagonal_hessian
int & level4(int i, int j, int k, int l)
Description not yet available.
void get_newton_raphson_info(function_minimizer *pmin)
Description not yet available.
virtual void set_random_effects_active()
void do_separable_stuff_x_u_block_diagonal(df1b2variable &ff)
Description not yet available.
Description not yet available.
virtual void set_random_effects_inactive()
dvector get_uhat_lm_newton2(const dvector &x, function_minimizer *pfmin)
Description not yet available.
Description not yet available.
void end_separable_call_stuff(void)
Description not yet available.
virtual void set_only_random_effects_active()
int & level3(int i, int j, int k)
dvector get_uhat_lm_newton(const dvector &x, function_minimizer *pfmin)
Description not yet available.
virtual void set_random_effects_inactive()
void do_separable_stuff_laplace_approximation_block_diagonal(df1b2variable &)
Calculates the Laplace approximation for a single separable function in the "block diagonal"...
ivector & level4(int i, int j, int k, int l)
nested_calls_shape nested_shape
static int alternative_user_function_flag
int have_bounded_random_effects
Description not yet available.
static int print_importance_sampling_weights_flag
imatrix * get_ptr2(void)
Description not yet available.
dvector * separable_function_difference
void check_derivatives(const dvector &, function_minimizer *pfmin, double fval1)
Description not yet available.
dmatrix get_gradient_for_hessian_calcs(const dmatrix &local_Hess, double &f)
Description not yet available.