ADMB Documentation  11.1.2274
 All Classes Files Functions Variables Typedefs Friends Defines
Functions | Variables
df1b2lap.cpp File Reference

(* $Id: df1b2lap.cpp 1935 2014-04-26 02:02:58Z johnoel $)

Description not yet available. More...

#include <sstream>
#include <admodel.h>
#include <df1b2fun.h>
#include <adrndeff.h>

Go to the source code of this file.

Functions

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.
void cleanup_laplace_stuff (laplace_approximation_calculator *l)
 Description not yet available.
double evaluate_function (const dvector &x, function_minimizer *pfmin)
 Description not yet available.
double evaluate_function (double &fval, const dvector &x, function_minimizer *pfmin)
 Description not yet available.
double evaluate_function (double &fval, const dvector &x, const dvector &g, function_minimizer *pfmin)
 Description not yet available.
void evaluate_function_gradient (double &f, const dvector &x, function_minimizer *pfmin, dvector &xadjoint, dvector &uadjoint)
 Description not yet available.
double evaluate_function_no_derivatives (const dvector &x, function_minimizer *pfmin)
 Description not yet available.
double evaluate_function_quiet (const dvector &x, function_minimizer *pfmin)
 Description not yet available.
void get_newton_raphson_info (int xs, int us, const init_df1b2vector _y, dmatrix &Hess, dvector &grad, df1b2_gradlist *f1b2gradlist, function_minimizer *pfmin)
 Description not yet available.
void get_second_ders (int xs, int us, const init_df1b2vector _y, dmatrix &Hess, dmatrix &Dux, df1b2_gradlist *f1b2gradlist, function_minimizer *pfmin, laplace_approximation_calculator *lpc)
 Description not yet available.
ostream & operator<< (const ostream &_s, const nested_calls_shape &_m)
 Description not yet available.
void random_effects_userfunction (double f, const dvector &x, const dvector &g)
void set_partition_sizes (int &num_der_blocks, ivector &minder, ivector &maxder, int nvariables)
 Description not yet available.
static void trapper (void)

Variables

int fcount = 0
static int no_stuff = 0
int noboundepen_flag = 1
static int write_sparse_flag = 0

Detailed Description

Description not yet available.

Definition in file df1b2lap.cpp.


Function Documentation

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.

Parameters:

Definition at line 2111 of file df1b2lap.cpp.

double evaluate_function ( const dvector x,
function_minimizer pfmin 
)
double evaluate_function ( double &  fval,
const dvector x,
function_minimizer pfmin 
)

Description not yet available.

Parameters:

Definition at line 1950 of file df1b2lap.cpp.

double evaluate_function ( double &  fval,
const dvector x,
const dvector g,
function_minimizer pfmin 
)

Description not yet available.

Parameters:

Definition at line 1986 of file df1b2lap.cpp.

void evaluate_function_gradient ( double &  f,
const dvector x,
function_minimizer pfmin,
dvector xadjoint,
dvector uadjoint 
)

Description not yet available.

Parameters:

Definition at line 2051 of file df1b2lap.cpp.

Referenced by laplace_approximation_calculator::default_calculations().

double evaluate_function_no_derivatives ( const dvector x,
function_minimizer pfmin 
)

Description not yet available.

Parameters:

Definition at line 2081 of file df1b2lap.cpp.

Referenced by laplace_approximation_calculator::local_minimization().

double evaluate_function_quiet ( const dvector x,
function_minimizer pfmin 
)
void get_newton_raphson_info ( int  xs,
int  us,
const init_df1b2vector  _y,
dmatrix Hess,
dvector grad,
df1b2_gradlist f1b2gradlist,
function_minimizer pfmin 
)

Description not yet available.

Parameters:

Definition at line 1814 of file df1b2lap.cpp.

Referenced by laplace_approximation_calculator::default_calculations().

void get_second_ders ( int  xs,
int  us,
const init_df1b2vector  _y,
dmatrix Hess,
dmatrix Dux,
df1b2_gradlist f1b2gradlist,
function_minimizer pfmin,
laplace_approximation_calculator lpc 
)

Description not yet available.

Parameters:

Definition at line 1344 of file df1b2lap.cpp.

ostream& operator<< ( const ostream &  _s,
const nested_calls_shape _m 
)

Description not yet available.

Parameters:

Definition at line 2409 of file df1b2lap.cpp.

void random_effects_userfunction ( double  f,
const dvector x,
const dvector g 
)
void set_partition_sizes ( int &  num_der_blocks,
ivector minder,
ivector maxder,
int  nvariables 
)

Description not yet available.

Parameters:

Definition at line 237 of file df1b2lap.cpp.

Referenced by laplace_approximation_calculator::laplace_approximation_calculator().

static void trapper ( void  ) [static]

Variable Documentation

int fcount = 0

Definition at line 17 of file df1b2lap.cpp.

int no_stuff = 0 [static]
int write_sparse_flag = 0 [static]

Definition at line 19 of file df1b2lap.cpp.

Referenced by calculate_laplace_approximation().