ADMB Documentation  11.1.2397
 All Classes Files Functions Variables Typedefs Friends Defines
xmodelm4.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: xmodelm4.cpp 1935 2014-04-26 02:02:58Z johnoel $
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00007 #include <admodel.h>
00008 #include <df1b2fun.h>
00009 #include <adrndeff.h>
00010 
00011 int function_minimizer::random_effects_flag=0;
00012 int function_minimizer::test_trust_flag=0;
00013 int function_minimizer::negative_eigenvalue_flag=0;
00014 //dvariable AD_uf_inner(const dvector& x,const dvar_vector& u);
00015 void get_second_ders(int xs,int us,const init_df1b2vector y,dmatrix& Hess,
00016   dmatrix& Dux, df1b2_gradlist * f1b2gradlist,function_minimizer * pfmin);
00017 double calculate_laplace_approximation(const dvector& x,const dvector& u0,
00018   const dmatrix& Hess,const dvector& _xadjoint,const dvector& _uadjoint,
00019   const dmatrix& _Hessadjoint,function_minimizer * pmin);
00020 
00021 //int function_minimizer::hesstype=0;
00022 
00023 /*
00024 int function_minimizer::set_hessian_type(int n)
00025 {
00026   if (n<0 || n>4)
00027   {
00028     cerr << "Illegal value of " << n
00029       << " in function_minimizer::set_hessian_type(int) " << endl;
00030     ad_exit(1);
00031   }
00032   hesstype=n;
00033 }
00034 */
00035 
00036 void   random_effects_userfunction(double f,const dvector& x,
00037   const dvector& g);
00038 
00039 void function_minimizer::AD_uf_outer(){}
00040 void function_minimizer::AD_uf_inner(){}
00041 //void function_minimizer::user_function(const init_df1b2vector& x,
00042  // df1b2variable& f){;}
00043 void function_minimizer::user_function(){}