ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xmodelm4.cpp
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Author: David Fournier
5  * Copyright (c) 2008-2012 Regents of the University of California
6  */
7 #include <admodel.h>
8 #include <df1b2fun.h>
9 #include <adrndeff.h>
10 
14 //dvariable AD_uf_inner(const dvector& x,const dvar_vector& u);
15 void get_second_ders(int xs,int us,const init_df1b2vector y,dmatrix& Hess,
17 double calculate_laplace_approximation(const dvector& x,const dvector& u0,
18  const dmatrix& Hess,const dvector& _xadjoint,const dvector& _uadjoint,
19  const dmatrix& _Hessadjoint,function_minimizer * pmin);
20 
21 //int function_minimizer::hesstype=0;
22 
23 /*
24 int function_minimizer::set_hessian_type(int n)
25 {
26  if (n<0 || n>4)
27  {
28  cerr << "Illegal value of " << n
29  << " in function_minimizer::set_hessian_type(int) " << endl;
30  ad_exit(1);
31  }
32  hesstype=n;
33 }
34 */
35 
36 void random_effects_userfunction(double f,const dvector& x,
37  const dvector& g);
38 
41 //void function_minimizer::user_function(const init_df1b2vector& x,
42  // df1b2variable& f){;}
virtual void AD_uf_inner()
Definition: xmodelm4.cpp:40
df1b2_gradlist * f1b2gradlist
Definition: df1b2glo.cpp:49
Description not yet available.
#define x
Vector of double precision numbers.
Definition: dvector.h:50
double calculate_laplace_approximation(const dvector &x, const dvector &u0, const dmatrix &Hess, const dvector &_xadjoint, const dvector &_uadjoint, const dmatrix &_Hessadjoint, function_minimizer *pmin)
Description not yet available.
Definition: df1b2lap.cpp:1476
Description not yet available.
Definition: df1b2fun.h:745
Description not yet available.
Description not yet available.
Definition: fvar.hpp:2819
Description not yet available.
Definition: df1b2fun.h:373
virtual void AD_uf_outer()
Definition: xmodelm4.cpp:39
Description not yet available.
static int test_trust_flag
Definition: admodel.h:1856
Description not yet available.
Definition: admodel.h:1850
virtual void user_function()
Definition: xmodelm4.cpp:43
void get_second_ders(int xs, int us, const init_df1b2vector y, dmatrix &Hess, dmatrix &Dux, df1b2_gradlist *f1b2gradlist, function_minimizer *pfmin)
static int negative_eigenvalue_flag
Definition: admodel.h:1859
void random_effects_userfunction(double f, const dvector &x, const dvector &g)
static int random_effects_flag
Definition: admodel.h:1857