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

(* $Id$)

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
unsigned int global_nvar = 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 2179 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 2018 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 2054 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 2119 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 2149 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 1882 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 1370 of file df1b2lap.cpp.

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

Description not yet available.

Parameters:

Definition at line 2477 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 242 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 20 of file df1b2lap.cpp.

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

Definition at line 22 of file df1b2lap.cpp.

Referenced by calculate_laplace_approximation().