ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions | Variables
df1b2fun.h File Reference

(Last Changed on March 03, 2021 for git-revision cda0a6471fe939023cc5a7d6a0b074c9adc64c77.)

Description not yet available. More...

#include <adpool.h>
#include <fvar.hpp>
#include <sys/stat.h>
#include <stddef.h>
#include <fcntl.h>
#include <tiny_ad.hpp>
#include <tiny_wrap.hpp>
#include <integrate_wrap.hpp>
#include <df32fun.h>
#include <df1b2fnl.h>
#include <df3fun.h>

Go to the source code of this file.

Classes

class  ad_dstar
 Description not yet available. More...
 
class  constant_df1b2quadratic_re_penalty
 Description not yet available. More...
 
class  constant_quadratic_re_penalty
 Description not yet available. More...
 
class  df1b23array
 Description not yet available. More...
 
class  df1b2_gradlist
 Description not yet available. More...
 
struct  df1b2_header
 Base class for df1b2variable. More...
 
class  df1b2_header_ptr_vector
 Description not yet available. More...
 
class  df1b2_init_bounded_dev_vector
 Description not yet available. More...
 
class  df1b2_init_bounded_matrix
 Description not yet available. More...
 
class  df1b2_init_bounded_number
 Description not yet available. More...
 
class  df1b2_init_bounded_number_vector
 Description not yet available. More...
 
class  df1b2_init_bounded_vector
 Description not yet available. More...
 
class  df1b2_init_matrix
 Description not yet available. More...
 
class  df1b2_init_number
 Description not yet available. More...
 
class  df1b2_init_number_vector
 Description not yet available. More...
 
class  df1b2_init_vector
 Description not yet available. More...
 
class  df1b2function1
 This is a function object for a function of one variable which stores the functions which calculate the first second and third derivatives. More...
 
class  df1b2function2
 Description not yet available. More...
 
class  df1b2function_tweaker
 Description not yet available. More...
 
class  df1b2matrix
 Description not yet available. More...
 
class  df1b2quadratic_prior
 Description not yet available. More...
 
class  df1b2quadratic_re_penalty
 Description not yet available. More...
 
class  df1b2variable
 Description not yet available. More...
 
class  df1b2vector
 Description not yet available. More...
 
class  df1b2vector_header
 Description not yet available. More...
 
class  do_naught_kludge
 Description not yet available. More...
 
class  double_ptr_vector
 Description not yet available. More...
 
class  fixed_list_entry
 Description not yet available. More...
 
class  fixed_smartlist
 Description not yet available. More...
 
class  fixed_smartlist2
 Description not yet available. More...
 
class  init_df1b2variable
 Description not yet available. More...
 
class  init_df1b2vector
 Description not yet available. More...
 
class  initial_df1b2params
 Description not yet available. More...
 
class  mydf1b2function2
 Description not yet available. More...
 
class  normal_df1b2quadratic_prior
 Description not yet available. More...
 
class  normal_quadratic_prior
 Description not yet available. More...
 
class  predf1b2vector
 Description not yet available. More...
 
class  quadratic_prior
 Description not yet available. More...
 
class  quadratic_re_penalty
 Description not yet available. More...
 
class  random_effects_bounded_vector_info
 Description not yet available. More...
 
class  re_df1b2_init_bounded_vector
 Description not yet available. More...
 
class  re_objective_function_value
 
class  smartlist
 Description not yet available. More...
 
class  style_flag_class
 Description not yet available. More...
 
class  test_smartlist
 Description not yet available. More...
 
class  twointsandptr
 Description not yet available. More...
 

Macros

#define AD_ALLOCATE(ptr, type, n, classname)
 
#define ADUNCONST(type, obj)   type & obj = (type&) _##obj;
 
#define TINY_AD_USE_TINY_VEC   1
 
#define USE_BARD_PEN
 

Typedefs

typedef void(** ADprfptr )(void)
 
typedef void(* ADrfptr )(void)
 
typedef initial_df1b2paramsP_INITIAL_DF1B2PARAMS
 
typedef void *& vreference
 

Functions

int active (const df1b2_init_vector &x)
 Description not yet available. More...
 
int active (const df1b2_init_number &x)
 Description not yet available. More...
 
int active (const df1b2_init_matrix &x)
 Description not yet available. More...
 
void ADMB_getcallindex (const df1b2variable &x)
 Description not yet available. More...
 
void ADMB_getcallindex (const df1b2vector &x)
 Description not yet available. More...
 
void ADMB_getcallindex (const df1b2matrix &x)
 Description not yet available. More...
 
int adptr_diff (void *x, void *y)
 
int allocated (const df1b2_init_vector &)
 Description not yet available. More...
 
int allocated (const df1b2vector &)
 Description not yet available. More...
 
int allocated (const df1b2_init_matrix &)
 Description not yet available. More...
 
df1b2variable asin (const df1b2variable &xx)
 Description not yet available. More...
 
df1b2variable atan (const df1b2variable &x)
 Description not yet available. More...
 
df1b2variable besselI (df1b2variable x, int nu)
 
df1b2variable besselJ (df1b2variable x, int nu)
 
df1b2variable besselK (df1b2variable x, int nu)
 
df1b2variable besselY (df1b2variable x, int nu)
 
df1b2variable beta_deviate (const df1b2variable &_x, const df1b2variable &_a, const df1b2variable &_b, double eps=1.e-7)
 Description not yet available. More...
 
df1b2variable betai (const df1b2variable &a, const df1b2variable &b, double x, int maxit=100)
 Incomplete beta function for df1b2variable objects. More...
 
df1b2variable bounded_cumd_norm (const df1b2variable &_x, double beta)
 
df1b2variable bounder (const df1b2variable &x, double min, double max, double scale)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
df1b2variable boundp (const df1b2variable &x, double fmin, double fmax)
 Description not yet available. More...
 
df1b2variable boundp (const df1b2variable &x, double fmin, double fmax, const df1b2variable &_fpen)
 Bound model parameter. More...
 
df1b2variable boundp (const df1b2variable &x, double fmin, double fmax, const df1b2variable &_fpen, double s)
 Bound and scale model parameter. More...
 
double calculate_importance_sample (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. More...
 
double calculate_importance_sample (const dvector &x, const dvector &u0, const banded_symmetric_dmatrix &bHess, const dvector &_xadjoint, const dvector &_uadjoint, const banded_symmetric_dmatrix &_bHessadjoint, function_minimizer *pmin)
 Description not yet available. More...
 
double calculate_importance_sample_block_diagonal (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. More...
 
double calculate_importance_sample_block_diagonal_funnel (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. More...
 
double calculate_importance_sample_block_diagonal_option2 (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. More...
 
double calculate_importance_sample_block_diagonal_option_antithetical (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. More...
 
double calculate_importance_sample_shess (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. More...
 
void check_pool_depths ()
 Description not yet available. More...
 
dmatrix check_second_derivatives (const init_df1b2vector &x)
 Description not yet available. More...
 
void check_shape (const df1b2vector &x, const df1b2vector &y, const char *s)
 Description not yet available. More...
 
void check_shape (const df1b2vector &x, const dvector &y, const char *s)
 Description not yet available. More...
 
void check_shape (const dvector &x, const df1b2vector &y, const char *s)
 Description not yet available. More...
 
void check_shape (const df1b2vector &x, const df1b2matrix &y, const char *s)
 Description not yet available. More...
 
d3_array check_third_derivatives (const init_df1b2vector &x)
 Description not yet available. More...
 
void checkidentiferstring (const char *ids, test_smartlist &list)
 Description not yet available. More...
 
df1b2matrix choleski_decomp (const df1b2matrix &M)
 Description not yet available. More...
 
df1b2matrix choleski_decomp_extra (const df1b2matrix &M)
 
df1b2vector colsum (const df1b2matrix &)
 Description not yet available. More...
 
df1b2vector column (const df1b2matrix &, int i)
 Description not yet available. More...
 
df1b2variable cos (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector cos (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable cube (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector cube (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable cumd_exponential (const df1b2variable &x)
 Description not yet available. More...
 
df1b2variable cumd_norm (const df1b2variable &_x)
 
void df1b2_gradcalc1 (void)
 Description not yet available. More...
 
df1b2variable dflogistic (double a, double b, const df1b2variable &x)
 Description not yet available. More...
 
df1b2variable dfposfun (const df1b2variable &x, const double eps)
 Description not yet available. More...
 
df1b2variable div (const df1b2variable &x, const df1b2variable &y)
 Description not yet available. More...
 
double do_gauss_hermite_block_diagonal (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. More...
 
double do_gauss_hermite_block_diagonal_multi (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. More...
 
df1b2matrix elem_div (const df1b2matrix &x, const df1b2matrix &y)
 Description not yet available. More...
 
df1b2matrix elem_div (const dmatrix &x, const df1b2matrix &y)
 Description not yet available. More...
 
df1b2matrix elem_div (const df1b2matrix &x, const dmatrix &y)
 Description not yet available. More...
 
df1b2vector elem_div (const df1b2vector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector elem_div (const dvector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector elem_div (const df1b2vector &x, const dvector &y)
 Description not yet available. More...
 
df1b2matrix elem_prod (const df1b2matrix &x, const df1b2matrix &y)
 Description not yet available. More...
 
df1b2matrix elem_prod (const dmatrix &x, const df1b2matrix &y)
 Description not yet available. More...
 
df1b2matrix elem_prod (const df1b2matrix &x, const dmatrix &y)
 Description not yet available. More...
 
df1b2vector elem_prod (const df1b2vector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector elem_prod (const df1b2vector &x, const dvector &y)
 Description not yet available. More...
 
df1b2vector elem_prod (const dvector &x, const df1b2vector &y)
 Description not yet available. More...
 
double evaluate_function (const dvector &x, function_minimizer *pfmin)
 Description not yet available. More...
 
double evaluate_function (double &fval, const dvector &x, function_minimizer *pfmin)
 Description not yet available. More...
 
double evaluate_function (double &fval, const dvector &x, const dvector &, function_minimizer *pfmin)
 Description not yet available. More...
 
double evaluate_function_no_derivatives (const dvector &x, function_minimizer *pfmin)
 Description not yet available. More...
 
double evaluate_function_quiet (const dvector &x, function_minimizer *pfmin)
 Description not yet available. More...
 
dvector evaluate_function_with_quadprior (const dvector &x, int usize, function_minimizer *pfmin)
 Description not yet available. More...
 
df1b2variable exp (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector exp (const df1b2vector &x)
 Description not yet available. More...
 
df1b2matrix exp (const df1b2matrix &M)
 Description not yet available. More...
 
df1b2matrix expm (const df1b2matrix &A)
 Matrix exponential. More...
 
df1b2variable fabs (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector fabs (const df1b2vector &t1)
 Description not yet available. More...
 
df1b2variable factln (const df1b2variable &n)
 Description not yet available. More...
 
df1b2vector first_difference (const df1b2vector &x)
 Returns a df1b2vector containing the differences of an _x(i) and _x(i + 1) for i = 1 to x.indexmax() - 1. More...
 
df1b2variable fourth (const df1b2variable &x)
 
df1b2variable gamma_density (const df1b2variable &_x, double r, double mu)
 Description not yet available. More...
 
df1b2variable gamma_density (const df1b2variable &_x, const df1b2variable &_r, const df1b2variable &_mu)
 Description not yet available. More...
 
df1b2variable gamma_deviate (const df1b2variable &_x, const df1b2variable &_a)
 Description not yet available. More...
 
df1b2variable gammln (const df1b2variable &_xx)
 Description not yet available. More...
 
df1b2vector gammln (const df1b2vector &_xx)
 Description not yet available. More...
 
dmatrix get_hessian (const init_df1b2vector &x)
 Description not yet available. More...
 
df1b2variable inv (const df1b2variable &x)
 Description not yet available. More...
 
df1b2variable inv_cumd_beta_stable (const df1b2variable &a, const df1b2variable &b, const df1b2variable &x, double eps=0)
 
df1b2variable inv_cumd_cauchy (const df1b2variable &n)
 
df1b2variable inv_cumd_exponential (const df1b2variable &y)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
df1b2variable inv_cumd_gamma (const df1b2variable &_y, const df1b2variable &_a)
 Description not yet available. More...
 
double inv_cumd_gamma (double y, double _a)
 
df1b2variable inv_cumd_normal_logistic_mixture (const df1b2variable &_x, double _a)
 Description not yet available. More...
 
df1b2variable inv_cumd_normal_mixture (const df1b2variable &_x, double _a)
 Description not yet available. More...
 
df1b2variable inv_cumd_t (const df1b2variable &n, const df1b2variable &u, double eps=1.e-7)
 Description not yet available. More...
 
df1b2variable invlogit (df1b2variable x)
 Description not yet available. More...
 
df1b2variable lgamma2 (const df1b2variable &_x)
 
df1b2variable ln_det (const df1b2matrix &m1)
 
df1b2variable ln_det (df1b2matrix &M, int &sgn)
 
df1b2variable log (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector log (const df1b2vector &x)
 Description not yet available. More...
 
df1b2matrix log (const df1b2matrix &M)
 Description not yet available. More...
 
df1b2variable log_comb (const df1b2variable &n, double k)
 Description not yet available. More...
 
df1b2variable log_comb (const df1b2variable &n, const df1b2variable &k)
 Description not yet available. More...
 
df1b2variable log_comb (double n, const df1b2variable &k)
 Description not yet available. More...
 
df1b2variable log_density_poisson (double x, const df1b2variable &mu)
 Log Poisson density; random effects objects. More...
 
df1b2variable log_der_logistic (double a, double b, const df1b2variable &x)
 Description not yet available. More...
 
df1b2variable log_gamma_density (const df1b2variable &_x, double r, double mu)
 Description not yet available. More...
 
df1b2variable log_gamma_density (const df1b2variable &_x, const df1b2variable &_r, const df1b2variable &_mu)
 Description not yet available. More...
 
df1b2variable log_negbinomial_density (double x, const df1b2variable &mu, const df1b2variable &tau)
 
df1b2variable logistic (double a, double b, const df1b2variable &x)
 Description not yet available. More...
 
df1b2variable lower_triangular_ln_det (const df1b2matrix &m)
 Description not yet available. More...
 
df1b2variable lower_triangular_ln_det (const df1b2matrix &m, int &sgn)
 Description not yet available. More...
 
df1b2vector lower_triangular_solve (const df1b2matrix &m, const df1b2vector &v)
 Description not yet available. More...
 
df1b2vector lower_triangular_solve_trans (const df1b2matrix &m, const df1b2vector &v)
 Description not yet available. More...
 
df1b2variable max (const df1b2vector &t1)
 Description not yet available. More...
 
df1b2variable mean (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable mean (const df1b2matrix &x)
 Description not yet available. More...
 
void memcpy (test_smartlist &, void *, const size_t nsize)
 memcpy for test_smartlist More...
 
void memcpy (void *, test_smartlist &, const size_t nsize)
 memcpy for test_smartlist More...
 
df1b2variable mfexp (const df1b2variable &x)
 Description not yet available. More...
 
df1b2variable mfexp (const df1b2variable &x, double b)
 Description not yet available. More...
 
df1b2vector mfexp (const df1b2vector &x)
 Description not yet available. More...
 
df1b2matrix mfexp (const df1b2matrix &M)
 Description not yet available. More...
 
df1b2variable mult_add (const df1b2variable &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable mypow (const df1b2variable &x, double y)
 Description not yet available. More...
 
void ncount_checker (int ncount, int ncount_check)
 
df1b2variable norm (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable norm (const df1b2matrix &x)
 Description not yet available. More...
 
df1b2variable norm2 (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable norm2 (const df1b2matrix &x)
 Description not yet available. More...
 
df1b2variable norm_to_gamma (const df1b2variable &v, const df1b2variable &alpha, double bound=0.999999)
 Description not yet available. More...
 
df1b2variable operator* (const df1b2variable &x, double y)
 Description not yet available. More...
 
df1b2variable operator* (const df1b2variable &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable operator* (double x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2vector operator* (double, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator* (const df1b2vector &y, const double)
 Description not yet available. More...
 
df1b2variable operator* (const df1b2vector &y, const dvector &)
 Description not yet available. More...
 
df1b2variable operator* (const dvector &, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator* (const df1b2vector &y, const df1b2variable &)
 Description not yet available. More...
 
df1b2vector operator* (const df1b2variable &, const df1b2vector &y)
 Description not yet available. More...
 
df1b2matrix operator* (const df1b2matrix &M, const df1b2variable &x)
 Description not yet available. More...
 
df1b2matrix operator* (const dmatrix &M, const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector operator* (const dmatrix &M, const df1b2vector &x)
 Description not yet available. More...
 
df1b2matrix operator* (const df1b2variable &x, const dmatrix &M)
 Description not yet available. More...
 
df1b2matrix operator* (const df1b2matrix &M, const df1b2matrix &x)
 Description not yet available. More...
 
df1b2matrix operator* (const dmatrix &M, const df1b2matrix &x)
 
df1b2matrix operator* (const df1b2variable &, const df1b2matrix &M)
 Description not yet available. More...
 
df1b2matrix operator* (const df1b2matrix &M, const double x)
 Description not yet available. More...
 
df1b2matrix operator* (const double, const df1b2matrix &M)
 Description not yet available. More...
 
df1b2vector operator* (const df1b2variable &y, const dvector &)
 Description not yet available. More...
 
df1b2vector operator* (const dvector &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2vector operator* (const dvector &, const df1b2matrix &)
 Vector and Matrix Multiplication. More...
 
df1b2vector operator* (const df1b2vector &, const df1b2matrix &)
 Vector and Matrix Multiplication. More...
 
df1b2vector operator* (const df1b2vector &, const dmatrix &)
 Vector and Matrix Multiplication. More...
 
df1b2variable operator* (const df1b2vector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator* (const df1b2matrix &M, const df1b2vector &x)
 Description not yet available. More...
 
df1b2vector operator* (const df1b2matrix &M, const dvector &x)
 Description not yet available. More...
 
df1b2variable operator+ (const df1b2variable &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable operator+ (double x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable operator+ (const df1b2variable &x, double y)
 Description not yet available. More...
 
df1b2matrix operator+ (const df1b2matrix &M, const df1b2variable &x)
 Description not yet available. More...
 
df1b2matrix operator+ (const df1b2matrix &M, const df1b2matrix &N)
 Description not yet available. More...
 
df1b2matrix operator+ (const df1b2matrix &M, const dmatrix &N)
 Description not yet available. More...
 
df1b2matrix operator+ (const dmatrix &M, const df1b2matrix &x)
 Description not yet available. More...
 
df1b2matrix operator+ (const df1b2variable &, const df1b2matrix &M)
 Description not yet available. More...
 
df1b2vector operator+ (const df1b2variable &, const dvector &M)
 Description not yet available. More...
 
df1b2matrix operator+ (const df1b2matrix &M, const double x)
 Description not yet available. More...
 
df1b2matrix operator+ (const double, const df1b2matrix &M)
 Description not yet available. More...
 
df1b2vector operator+ (const df1b2variable &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator+ (double x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator+ (const df1b2vector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator+ (const df1b2vector &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2vector operator+ (const dvector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator+ (const df1b2vector &y, const dvector &x)
 Description not yet available. More...
 
df1b2vector operator+ (const dvector &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable operator- (const df1b2variable &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable operator- (double x, const df1b2variable &y)
 
df1b2variable operator- (const df1b2variable &x, double y)
 
df1b2matrix operator- (const df1b2matrix &M, const dmatrix &x)
 Description not yet available. More...
 
df1b2matrix operator- (const df1b2matrix &M, const double x)
 
df1b2matrix operator- (const df1b2matrix &M, const df1b2variable &x)
 
df1b2matrix operator- (const df1b2matrix &M, const df1b2matrix &x)
 Description not yet available. More...
 
df1b2matrix operator- (const dmatrix &M, const df1b2matrix &x)
 Description not yet available. More...
 
df1b2matrix operator- (const df1b2variable &, const df1b2matrix &M)
 Description not yet available. More...
 
df1b2matrix operator- (const double, const df1b2matrix &M)
 Description not yet available. More...
 
df1b2vector operator- (const df1b2vector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator- (const dvector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator- (const df1b2variable &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2vector operator- (const df1b2variable &x, const dvector &y)
 Description not yet available. More...
 
df1b2vector operator- (const df1b2vector &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2vector operator- (const df1b2vector &x, const dvector &y)
 Description not yet available. More...
 
df1b2vector operator- (const dvector &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable operator- (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector operator- (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable operator/ (const df1b2variable &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable operator/ (const df1b2variable &x, double y)
 Description not yet available. More...
 
df1b2variable operator/ (double x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2vector operator/ (const df1b2variable &y, const df1b2vector &x)
 Description not yet available. More...
 
df1b2vector operator/ (const double &y, const df1b2vector &x)
 Description not yet available. More...
 
df1b2vector operator/ (const df1b2vector &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2vector operator/ (const df1b2vector &x, double y)
 Description not yet available. More...
 
df1b2vector operator/ (const dvector &x, const df1b2variable &y)
 Description not yet available. More...
 
ostream & operator<< (const ostream &_os, const df1b2variable &_x)
 Description not yet available. More...
 
ostream & operator<< (const ostream &_os, const df1b2vector &_x)
 Description not yet available. More...
 
ostream & operator<< (const ostream &_os, const df1b2matrix &_x)
 Description not yet available. More...
 
ostream & operator<< (const ostream &ostr, const df1b2_init_number_vector &z)
 Description not yet available. More...
 
ostream & operator<< (const ostream &ostr, const init_df1b2vector &z)
 Description not yet available. More...
 
ostream & operator<< (const ostream &ostr, const df1b2_init_bounded_number_vector &z)
 Description not yet available. More...
 
ofstream & operator<< (const ofstream &_s, const nested_calls_shape &m)
 
df1b2matrix outer_prod (const df1b2vector &x, const df1b2vector &y)
 Description not yet available. More...
 
df1b2variable pbeta (double x, const df1b2variable &a, const df1b2variable &b, int maxit=100)
 beta distribution function for df1b2variable objects (alias of betai). More...
 
df1b2variable pbeta (const df1b2variable &x, const df1b2variable &a, const df1b2variable &b, int maxit=100)
 
df1b2variable posfun (const df1b2variable &x, const double eps)
 Description not yet available. More...
 
df1b2variable posfun (const df1b2variable &x, const double eps, const df1b2variable &_pen)
 Description not yet available. More...
 
df1b2vector posfun (const df1b2vector &x, double eps, const df1b2variable &_pen)
 Description not yet available. More...
 
df1b2variable posfun2 (const df1b2variable &x, const double eps, const df1b2variable &_pen)
 Description not yet available. More...
 
df1b2variable pow (const df1b2variable &x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2variable pow (const df1b2variable &x, double y)
 Description not yet available. More...
 
df1b2variable pow (double x, const df1b2variable &y)
 Description not yet available. More...
 
df1b2vector pow (const df1b2vector &x, double y)
 Description not yet available. More...
 
df1b2vector pow (const df1b2vector &v, const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector pow (const df1b2vector &v, const df1b2vector &x)
 Description not yet available. More...
 
df1b2vector pow (const df1b2variable &v, const df1b2vector &x)
 Description not yet available. More...
 
df1b2vector pow (df1b2vector const &_x, dvector const &v)
 raise x to the power v. More...
 
df1b2vector pow (double v, const df1b2vector &x)
 Description not yet available. More...
 
df1b2vector pow (const dvector &x, const df1b2vector &a)
 raise x to the power a. More...
 
df1b2vector pow (const dvector &x, const df1b2variable &a)
 raise x to the power a. More...
 
void print_derivatives (const adstring &, double f, double df, double d2f, double d3f, int bflag=0)
 Description not yet available. More...
 
void print_derivatives (const adstring &, double f, double df1, double df2, double df11, double df12, double df22, double df111, double df112, double df122, double df222, int bflag=0)
 Description not yet available. More...
 
void print_derivatives (df1b2_header *px, const char *s, int bflag=0)
 Description not yet available. More...
 
void print_dot_derivatives (df1b2_header *px, const char *s)
 
void print_is_diagnostics (laplace_approximation_calculator *lapprox)
 
df1b2variable qbeta (df1b2variable x, df1b2variable a, df1b2variable b, double eps=0)
 
void read (const test_smartlist &, void *, int nsize)
 
void read_pass1_1 (void)
 Description not yet available. More...
 
void read_pass1_2 (void)
 Description not yet available. More...
 
df1b2variable robust_normal_logistic_mixture_deviate (const df1b2variable &x, double spread=3.0)
 Description not yet available. More...
 
df1b2variable robust_normal_mixture_deviate (const df1b2variable &x, double spread=3.0)
 Description not yet available. More...
 
df1b2vector rowsum (const df1b2matrix &)
 Description not yet available. More...
 
void set_dependent_variable (const df1b2variable &_x)
 Description not yet available. More...
 
void set_value (const df1b2variable &u, const init_df1b2vector &x, const int &_ii, double fmin, double fmax, const df1b2variable &fpen)
 Description not yet available. More...
 
void set_value (const df1b2variable &u, const init_df1b2vector &x, const int &_ii, double fmin, double fmax, const df1b2variable &fpen, double s)
 
df1b2variable sfabs (const df1b2variable &x)
 
df1b2variable sin (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector sin (const df1b2vector &x)
 Description not yet available. More...
 
int size_count (const df1b2matrix &x)
 Description not yet available. More...
 
int size_count (const df1b2vector &x)
 Description not yet available. More...
 
df1b2vector solve (const df1b2matrix &x, const dvector &)
 
df1b2vector solve (const df1b2matrix &x, const df1b2vector &)
 
dvar_vector solve (const named_dvar_matrix &, const random_effects_vector &)
 Description not yet available. More...
 
df1b2vector solve (df1b2matrix &M, df1b2vector &v, const df1b2variable &ln_det)
 
df1b2vector solve (df1b2matrix &M, df1b2vector &v, const df1b2variable &ln_det, const int &sgn)
 
df1b2matrix solve (const df1b2matrix &aa, const df1b2matrix &tz, df1b2variable ln_unsigned_det, df1b2variable &sign)
 Description not yet available. More...
 
df1b2matrix solve (const df1b2matrix &aa, const df1b2matrix &tz)
 Description not yet available. More...
 
df1b2vector solve (const df1b2matrix &aa, const df1b2vector &z, const df1b2variable &ld, df1b2variable &sign)
 
df1b2variable sqrt (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector sqrt (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable square (const df1b2variable &x)
 Description not yet available. More...
 
df1b2matrix square (const df1b2matrix &x)
 Description not yet available. More...
 
df1b2vector square (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable sum (const df1b2vector &x)
 Description not yet available. More...
 
df1b2variable sum (const df1b2matrix &x)
 Description not yet available. More...
 
df1b2variable sumsq (const df1b2vector &x)
 
df1b2variable sumsq (const df1b2matrix &x)
 
df1b2variable tan (const df1b2variable &x)
 Description not yet available. More...
 
df1b2vector tan (const df1b2vector &x)
 Description not yet available. More...
 
df1b2matrix trans (const df1b2matrix &M)
 Description not yet available. More...
 
double & value (const df1b2variable &_x)
 Description not yet available. More...
 
dvector value (const df1b2vector &_x)
 Description not yet available. More...
 
dmatrix value (const df1b2matrix &_x)
 Description not yet available. More...
 
int withinbound (int lb, int n, int ub)
 
void write (const test_smartlist &, void *, int nsize)
 

Variables

char AD_allocation_error_message []
 
df1b2_gradlistf1b2gradlist
 
df1b2_gradlist ** f1b2gradlist_stack
 
df1b2_gradlistglobalf1b2gradlist
 
df1b2_gradlistlocalf1b2gradlist
 
int make_sure_df1b2fun_gets_linked
 
int max_num_init_df1b2variable
 

Detailed Description

Description not yet available.

Definition in file df1b2fun.h.

Macro Definition Documentation

#define AD_ALLOCATE (   ptr,
  type,
  n,
  classname 
)
Value:
if ( (ptr = new type[n])==NULL) \
{ \
cerr << AD_allocation_error_message << "classname" << endl; \
ad_exit(1); \
}
char AD_allocation_error_message[]
Definition: df1b2fn2.cpp:32
exitptr ad_exit
Definition: gradstrc.cpp:53
prnstream & endl(prnstream &)

Definition at line 179 of file df1b2fun.h.

Referenced by fixed_smartlist::allocate(), fixed_smartlist2::allocate(), df1b2vector::noallocate(), and smartlist::smartlist().

#define ADUNCONST (   type,
  obj 
)    type & obj = (type&) _##obj;

Definition at line 188 of file df1b2fun.h.

#define TINY_AD_USE_TINY_VEC   1

Definition at line 92 of file df1b2fun.h.

#define USE_BARD_PEN

Definition at line 63 of file df1b2fun.h.

Typedef Documentation

typedef void(** ADprfptr)(void)

Definition at line 851 of file df1b2fun.h.

typedef void(* ADrfptr)(void)

Definition at line 585 of file df1b2fun.h.

Definition at line 1387 of file df1b2fun.h.

typedef void* & vreference

Definition at line 145 of file df1b2fun.h.

Function Documentation

int active ( const df1b2_init_vector x)

Description not yet available.

Parameters

Definition at line 730 of file df1b2f15.cpp.

int active ( const df1b2_init_number x)

Description not yet available.

Parameters

Definition at line 742 of file df1b2f15.cpp.

int active ( const df1b2_init_matrix x)

Description not yet available.

Parameters

Definition at line 754 of file df1b2f15.cpp.

void ADMB_getcallindex ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 833 of file f1b2vc1.cpp.

void ADMB_getcallindex ( const df1b2vector x)

Description not yet available.

Parameters

Definition at line 842 of file f1b2vc1.cpp.

void ADMB_getcallindex ( const df1b2matrix x)

Description not yet available.

Parameters

Definition at line 851 of file f1b2vc1.cpp.

int adptr_diff ( void *  x,
void *  y 
)
int allocated ( const df1b2_init_vector _x)

Description not yet available.

Parameters

Definition at line 217 of file df1b2f25.cpp.

int allocated ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 207 of file df1b2f25.cpp.

int allocated ( const df1b2_init_matrix _x)

Description not yet available.

Parameters

Definition at line 227 of file df1b2f25.cpp.

df1b2variable asin ( const df1b2variable _xx)

Description not yet available.

Parameters

Definition at line 18 of file df1b2f26.cpp.

df1b2variable atan ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 416 of file df1b2fun.cpp.

df1b2variable besselI ( df1b2variable  x,
int  nu 
)

Definition at line 265 of file df1b2bessel.cpp.

df1b2variable besselJ ( df1b2variable  x,
int  nu 
)

Definition at line 290 of file df1b2bessel.cpp.

df1b2variable besselK ( df1b2variable  x,
int  nu 
)

Definition at line 277 of file df1b2bessel.cpp.

df1b2variable besselY ( df1b2variable  x,
int  nu 
)

Definition at line 302 of file df1b2bessel.cpp.

df1b2variable beta_deviate ( const df1b2variable _a,
const df1b2variable _b,
const df1b2variable _x,
double  eps 
)

Description not yet available.

Parameters

Definition at line 15 of file df1b2betdev.cpp.

df1b2variable betai ( const df1b2variable a,
const df1b2variable b,
double  x,
int  maxit 
)

Incomplete beta function for df1b2variable objects.

Parameters
a$a$
b$b$
x$x$
maxitMaximum number of iterations for the continued fraction approximation in betacf.
Returns
Incomplete beta function $I_x(a,b)$



The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 2

Definition at line 56 of file df1b2bet.cpp.

df1b2variable bounded_cumd_norm ( const df1b2variable _x,
double  beta 
)

Definition at line 838 of file df3fun.cpp.

df1b2variable bounder ( const df1b2variable x,
double  min,
double  max,
double  scale 
)

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Description not yet available.

Parameters
x
min
max
mscale

Definition at line 14 of file df1b2-separable/bounder.cpp.

df1b2variable boundp ( const df1b2variable x,
double  fmin,
double  fmax 
)

Description not yet available.

Parameters

Definition at line 521 of file df1b2f15.cpp.

df1b2variable boundp ( const df1b2variable x,
double  fmin,
double  fmax,
const df1b2variable _fpen 
)

Bound model parameter.

Parameters
xVariable to bound
fminLower value
fmaxUpper value
_fpenPenalty to apply

Definition at line 418 of file df1b2f15.cpp.

df1b2variable boundp ( const df1b2variable _x,
double  fmin,
double  fmax,
const df1b2variable _fpen,
double  s 
)

Bound and scale model parameter.

Parameters
xVariable to bound
fminLower value
fmaxUpper value
_fpenPenalty to apply

Definition at line 469 of file df1b2f15.cpp.

double calculate_importance_sample ( 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 23 of file df1b2imp.cpp.

double calculate_importance_sample ( const dvector x,
const dvector u0,
const banded_symmetric_dmatrix bHess,
const dvector _xadjoint,
const dvector _uadjoint,
const banded_symmetric_dmatrix _bHessadjoint,
function_minimizer pmin 
)

Description not yet available.

Parameters

Definition at line 23 of file df1b2im2.cpp.

double calculate_importance_sample_block_diagonal ( 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 23 of file df1b2im3.cpp.

double calculate_importance_sample_block_diagonal_funnel ( 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 23 of file df1b2im3f.cpp.

Referenced by laplace_approximation_calculator::block_diagonal_calculations().

double calculate_importance_sample_block_diagonal_option2 ( 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 23 of file df1b2im4.cpp.

Referenced by laplace_approximation_calculator::block_diagonal_calculations().

double calculate_importance_sample_block_diagonal_option_antithetical ( 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 24 of file df1b2im5.cpp.

Referenced by laplace_approximation_calculator::block_diagonal_calculations().

double calculate_importance_sample_shess ( 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 25 of file df1b2impspf.cpp.

Referenced by laplace_approximation_calculator::banded_calculations().

void check_pool_depths ( void  )

Description not yet available.

Parameters

Definition at line 93 of file df1b2fnl.cpp.

dmatrix check_second_derivatives ( const init_df1b2vector x)

Description not yet available.

Parameters

Definition at line 807 of file df1b2fn2.cpp.

void check_shape ( const df1b2vector _x,
const df1b2vector _y,
const char *  s 
)
void check_shape ( const df1b2vector _x,
const dvector _y,
const char *  s 
)

Description not yet available.

Parameters

Definition at line 15 of file f1b2vc5.cpp.

void check_shape ( const dvector _x,
const df1b2vector _y,
const char *  s 
)

Description not yet available.

Parameters

Definition at line 45 of file f1b2vc5.cpp.

void check_shape ( const df1b2vector _x,
const df1b2matrix _y,
const char *  s 
)

Description not yet available.

Parameters

Definition at line 60 of file f1b2vc5.cpp.

d3_array check_third_derivatives ( const init_df1b2vector x)

Description not yet available.

Parameters

Definition at line 834 of file df1b2fn2.cpp.

void checkidentiferstring ( const char *  ids,
test_smartlist list 
)
df1b2matrix choleski_decomp ( const df1b2matrix MM)

Description not yet available.

Parameters

Definition at line 17 of file df1b2mat.cpp.

df1b2matrix choleski_decomp_extra ( const df1b2matrix M)
df1b2vector colsum ( const df1b2matrix _M)

Description not yet available.

Parameters

Definition at line 38 of file f1b2vc6.cpp.

df1b2vector column ( const df1b2matrix _M,
int  n 
)

Description not yet available.

Parameters

Definition at line 17 of file f1b2ma1.cpp.

df1b2variable cos ( const df1b2variable _xx)

Description not yet available.

Parameters

Definition at line 43 of file df1b2funx.cpp.

df1b2vector cos ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 179 of file f1b2vc1.cpp.

df1b2variable cube ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 850 of file df1b2fun.cpp.

df1b2vector cube ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 51 of file f1b2v11.cpp.

df1b2variable cumd_exponential ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 23 of file df1b2cum.cpp.

df1b2variable cumd_norm ( const df1b2variable _x)

Definition at line 806 of file df3fun.cpp.

void df1b2_gradcalc1 ( void  )
df1b2variable dflogistic ( double  a,
double  b,
const df1b2variable x 
)

Description not yet available.

Parameters

Definition at line 53 of file dflogistic.cpp.

df1b2variable dfposfun ( const df1b2variable x,
const double  eps 
)

Description not yet available.

Parameters

Definition at line 234 of file df1b2loc.cpp.

df1b2variable div ( const df1b2variable x,
const df1b2variable y 
)

Description not yet available.

Parameters

Definition at line 1282 of file df32fun.cpp.

Referenced by function_minimizer::get_particular_grad().

double do_gauss_hermite_block_diagonal ( 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 23 of file df1b2gh.cpp.

Referenced by laplace_approximation_calculator::block_diagonal_calculations().

double do_gauss_hermite_block_diagonal_multi ( 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 23 of file df1b2ghmult.cpp.

Referenced by laplace_approximation_calculator::block_diagonal_calculations().

df1b2matrix elem_div ( const df1b2matrix _MM,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 400 of file f1b2vc5.cpp.

df1b2matrix elem_div ( const dmatrix _MM,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 424 of file f1b2vc5.cpp.

df1b2matrix elem_div ( const df1b2matrix _MM,
const dmatrix _NN 
)

Description not yet available.

Parameters

Definition at line 448 of file f1b2vc5.cpp.

df1b2vector elem_div ( const df1b2vector _v,
const df1b2vector _w 
)

Description not yet available.

Parameters

Definition at line 491 of file f1b2vc5.cpp.

df1b2vector elem_div ( const dvector _v,
const df1b2vector _w 
)

Description not yet available.

Parameters

Definition at line 472 of file f1b2vc5.cpp.

df1b2vector elem_div ( const df1b2vector _v,
const dvector _w 
)

Description not yet available.

Parameters

Definition at line 567 of file f1b2vc5.cpp.

df1b2matrix elem_prod ( const df1b2matrix _MM,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 328 of file f1b2vc5.cpp.

df1b2matrix elem_prod ( const dmatrix _MM,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 352 of file f1b2vc5.cpp.

df1b2matrix elem_prod ( const df1b2matrix _MM,
const dmatrix _NN 
)

Description not yet available.

Parameters

Definition at line 376 of file f1b2vc5.cpp.

df1b2vector elem_prod ( const df1b2vector _v,
const df1b2vector _w 
)

Description not yet available.

Parameters

Definition at line 510 of file f1b2vc5.cpp.

df1b2vector elem_prod ( const df1b2vector _v,
const dvector _w 
)

Description not yet available.

Parameters

Definition at line 529 of file f1b2vc5.cpp.

df1b2vector elem_prod ( const dvector _v,
const df1b2vector _w 
)

Description not yet available.

Parameters

Definition at line 548 of file f1b2vc5.cpp.

double evaluate_function ( const dvector x,
function_minimizer pfmin 
)

Description not yet available.

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Parameters

Definition at line 2026 of file df1b2lap.cpp.

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

Description not yet available.

Parameters

Definition at line 2063 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 2100 of file df1b2lap.cpp.

double evaluate_function_no_derivatives ( const dvector x,
function_minimizer pfmin 
)

Description not yet available.

Parameters

Definition at line 2196 of file df1b2lap.cpp.

Referenced by laplace_approximation_calculator::local_minimization().

double evaluate_function_quiet ( const dvector x,
function_minimizer pfmin 
)
dvector evaluate_function_with_quadprior ( const dvector x,
int  usize,
function_minimizer pfmin 
)
df1b2variable exp ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 462 of file df1b2fun.cpp.

df1b2vector exp ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 84 of file f1b2vc1.cpp.

df1b2matrix exp ( const df1b2matrix _M)

Description not yet available.

Parameters

Definition at line 17 of file f1b2vc6.cpp.

df1b2variable fabs ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 428 of file df1b2fn3.cpp.

df1b2vector fabs ( const df1b2vector t1)

Description not yet available.

Parameters

Definition at line 440 of file df1b2fn3.cpp.

df1b2variable factln ( const df1b2variable n)

Description not yet available.

Parameters

Definition at line 137 of file df1b2f20.cpp.

df1b2vector first_difference ( const df1b2vector _x)

Returns a df1b2vector containing the differences of an _x(i) and _x(i + 1) for i = 1 to x.indexmax() - 1.

Parameters
_xinput.

Definition at line 13 of file f1b2v11.cpp.

df1b2variable fourth ( const df1b2variable x)
df1b2variable gamma_density ( const df1b2variable _x,
double  r,
double  mu 
)

Description not yet available.

Parameters

Definition at line 13 of file df1b2-separable/vgamdens.cpp.

df1b2variable gamma_density ( const df1b2variable _x,
const df1b2variable _r,
const df1b2variable _mu 
)

Description not yet available.

Parameters

Definition at line 24 of file df1b2-separable/vgamdens.cpp.

df1b2variable gamma_deviate ( const df1b2variable _x,
const df1b2variable _a 
)

Description not yet available.

Parameters

Definition at line 28 of file gammdev.cpp.

df1b2variable gammln ( const df1b2variable z)

Description not yet available.

Parameters

Definition at line 78 of file df1b2f20.cpp.

df1b2vector gammln ( const df1b2vector z)

Description not yet available.

Parameters

Definition at line 96 of file df1b2f20.cpp.

dmatrix get_hessian ( const init_df1b2vector _x)

Description not yet available.

Parameters

Definition at line 713 of file df1b2fn2.cpp.

df1b2variable inv ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 521 of file df1b2fun.cpp.

df1b2variable inv_cumd_beta_stable ( const df1b2variable a,
const df1b2variable b,
const df1b2variable x,
double  eps = 0 
)

Definition at line 47 of file df1b2invcumdbeta.cpp.

df1b2variable inv_cumd_cauchy ( const df1b2variable n)
df1b2variable inv_cumd_exponential ( const df1b2variable y)

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Description not yet available.

Parameters

Definition at line 11 of file df1b2cum.cpp.

df1b2variable inv_cumd_gamma ( const df1b2variable _y,
const df1b2variable _a 
)

Description not yet available.

Parameters

Definition at line 46 of file gammdev.cpp.

double inv_cumd_gamma ( double  y,
double  _a 
)

Definition at line 124 of file cgamdev.cpp.

df1b2variable inv_cumd_normal_logistic_mixture ( const df1b2variable _yy,
double  a 
)

Description not yet available.

Parameters

Definition at line 93 of file df1b2normmix2.cpp.

df1b2variable inv_cumd_normal_mixture ( const df1b2variable _yy,
double  a 
)

Description not yet available.

Parameters

Definition at line 68 of file df1b2normmix.cpp.

df1b2variable inv_cumd_t ( const df1b2variable n,
const df1b2variable u,
double  eps 
)

Description not yet available.

Parameters

Definition at line 17 of file dfinvcumdt.cpp.

df1b2variable invlogit ( df1b2variable  x)

Description not yet available.

Parameters

Definition at line 18 of file df1b2-separable/invlogit.cpp.

df1b2variable lgamma2 ( const df1b2variable _x)
df1b2variable ln_det ( const df1b2matrix m1)

Definition at line 324 of file f1b2lndt.cpp.

df1b2variable ln_det ( df1b2matrix M,
int &  sgn 
)
df1b2variable log ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 512 of file df1b2fun.cpp.

df1b2vector log ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 103 of file f1b2vc1.cpp.

df1b2matrix log ( const df1b2matrix _M)

Description not yet available.

Parameters

Definition at line 201 of file f1b2vc2.cpp.

df1b2variable log_comb ( const df1b2variable n,
double  k 
)

Description not yet available.

Parameters

Definition at line 110 of file df1b2f20.cpp.

df1b2variable log_comb ( const df1b2variable n,
const df1b2variable k 
)

Description not yet available.

Parameters

Definition at line 119 of file df1b2f20.cpp.

df1b2variable log_comb ( double  n,
const df1b2variable k 
)

Description not yet available.

Parameters

Definition at line 128 of file df1b2f20.cpp.

df1b2variable log_der_logistic ( double  a,
double  b,
const df1b2variable x 
)

Description not yet available.

Parameters

Definition at line 35 of file dflogistic.cpp.

df1b2variable log_gamma_density ( const df1b2variable _x,
double  r,
double  mu 
)

Description not yet available.

Parameters

Definition at line 37 of file df1b2-separable/vgamdens.cpp.

df1b2variable log_gamma_density ( const df1b2variable _x,
const df1b2variable _r,
const df1b2variable _mu 
)

Description not yet available.

Parameters

Definition at line 48 of file df1b2-separable/vgamdens.cpp.

df1b2variable log_negbinomial_density ( double  x,
const df1b2variable mu,
const df1b2variable tau 
)

Definition at line 15 of file df3gammp.cpp.

df1b2variable logistic ( double  a,
double  b,
const df1b2variable x 
)

Description not yet available.

Parameters

Definition at line 17 of file dflogistic.cpp.

df1b2variable lower_triangular_ln_det ( const df1b2matrix m)

Description not yet available.

Parameters

Definition at line 76 of file f1b2v12.cpp.

df1b2variable lower_triangular_ln_det ( const df1b2matrix m,
int &  sgn 
)

Description not yet available.

Parameters

Definition at line 86 of file f1b2v12.cpp.

df1b2vector lower_triangular_solve ( const df1b2matrix m,
const df1b2vector v 
)

Description not yet available.

Parameters

Definition at line 48 of file f1b2v12.cpp.

df1b2vector lower_triangular_solve_trans ( const df1b2matrix M,
const df1b2vector y 
)

Description not yet available.

Parameters

Definition at line 17 of file f1b2v12.cpp.

df1b2variable max ( const df1b2vector t1)

Description not yet available.

Parameters

Definition at line 455 of file df1b2fn3.cpp.

df1b2variable mean ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 827 of file f1b2vc5.cpp.

df1b2variable mean ( const df1b2matrix _x)

Description not yet available.

Parameters

Definition at line 938 of file f1b2vc5.cpp.

void memcpy ( test_smartlist ,
void *  ,
const size_t  nsize 
)

memcpy for test_smartlist

Definition at line 367 of file df1b2f10.cpp.

Referenced by df3_three_variable::df3_three_variable(), dv_assign(), dvdv_add(), DF_FILE::fread(), gradient_structure::funnel_gradcalc(), DF_FILE::fwrite(), memcpy(), dvector::operator=(), independent_variables::operator=(), dvar_vector::operator=(), read_pass1_1(), read_pass1_1_dv(), read_pass1_1x(), read_pass1_2(), read_pass1_2_dv(), read_pass1_2x(), read_pass1_3(), read_pass1_3_dv(), read_pass1_3x(), read_pass1_eq_1(), read_pass1_init_1(), read_pass2_1(), read_pass2_1_dvdv(), read_pass2_1_dvdvdv(), read_pass2_1_prod(), read_pass2_1_prod_vector(), read_pass2_1_prodc1(), read_pass2_1_prodc2(), read_pass2_2(), read_pass2_2_dvdv(), read_pass2_2_dvdvdv(), read_pass2_2_prod(), read_pass2_2_prod_vector(), read_pass2_2_prodc1(), read_pass2_2_prodc2(), read_pass2_3(), read_pass2_3_dvdv(), read_pass2_3_dvdvdv(), read_pass2_3_prod(), read_pass2_3_prod_vector(), read_pass2_3_prodc1(), read_pass2_3_prodc2(), read_tilde_values_2(), read_tilde_values_3(), gradient_structure::restore_arrays(), gradient_structure::save_arrays(), df1b2_gradlist::write_pass1(), df1b2_gradlist::write_pass1_eq(), df1b2_gradlist::write_pass1_initialize(), df1b2_gradlist::write_pass1_minus(), df1b2_gradlist::write_pass1_minuscv(), df1b2_gradlist::write_pass1_minuseq(), df1b2_gradlist::write_pass1_minusvc(), df1b2_gradlist::write_pass1_pluseq(), df1b2_gradlist::write_pass1_prod(), df1b2_gradlist::write_pass1_sum(), df1b2_gradlist::write_pass1x(), and df1b2_gradlist::write_save_pass2_tilde_values().

void memcpy ( void *  ,
test_smartlist ,
const size_t  nsize 
)

memcpy for test_smartlist

Definition at line 381 of file df1b2f10.cpp.

df1b2variable mfexp ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 471 of file df1b2fun.cpp.

df1b2variable mfexp ( const df1b2variable x,
double  b 
)

Description not yet available.

Parameters

Definition at line 492 of file df1b2fun.cpp.

df1b2vector mfexp ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 41 of file f1b2vc3.cpp.

df1b2matrix mfexp ( const df1b2matrix _M)

Description not yet available.

Parameters

Definition at line 177 of file f1b2vc2.cpp.

df1b2variable mult_add ( const df1b2variable x,
const df1b2variable y 
)

Description not yet available.

Parameters

Definition at line 749 of file df1b2fun.cpp.

df1b2variable mypow ( const df1b2variable x,
double  y 
)

Description not yet available.

Parameters

Definition at line 1321 of file df32fun.cpp.

void ncount_checker ( int  ncount,
int  ncount_check 
)
df1b2variable norm ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 865 of file f1b2vc5.cpp.

df1b2variable norm ( const df1b2matrix _x)

Description not yet available.

Parameters

Definition at line 902 of file f1b2vc5.cpp.

df1b2variable norm2 ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 846 of file f1b2vc5.cpp.

df1b2variable norm2 ( const df1b2matrix _x)

Description not yet available.

Parameters

Definition at line 883 of file f1b2vc5.cpp.

df1b2variable norm_to_gamma ( const df1b2variable v,
const df1b2variable alpha,
double  bound 
)

Description not yet available.

Parameters

Definition at line 17 of file df1b2normgam.cpp.

df1b2variable operator* ( const df1b2variable _x,
double  y 
)

Description not yet available.

Parameters

Definition at line 22 of file df1b2prb.cpp.

df1b2variable operator* ( const df1b2variable _x,
const df1b2variable _y 
)

Description not yet available.

Parameters

Definition at line 21 of file df1b2prd.cpp.

df1b2variable operator* ( double  x,
const df1b2variable _y 
)

Description not yet available.

Parameters

Definition at line 37 of file df1b2prc.cpp.

df1b2vector operator* ( double  v,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 302 of file f1b2vc3.cpp.

df1b2vector operator* ( const df1b2vector _v,
double  x 
)

Description not yet available.

Parameters

Definition at line 320 of file f1b2vc3.cpp.

df1b2variable operator* ( const df1b2vector _v,
const dvector _x 
)

Description not yet available.

Parameters

Definition at line 242 of file f1b2vc3.cpp.

df1b2variable operator* ( const dvector _v,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 224 of file f1b2vc3.cpp.

df1b2vector operator* ( const df1b2vector _x,
const df1b2variable _v 
)

Description not yet available.

Parameters

Definition at line 78 of file f1b2vc3.cpp.

df1b2vector operator* ( const df1b2variable _v,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 97 of file f1b2vc3.cpp.

df1b2matrix operator* ( const df1b2matrix _M,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 261 of file f1b2vc4.cpp.

df1b2matrix operator* ( const dmatrix _M,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 283 of file f1b2vc4.cpp.

df1b2vector operator* ( const dmatrix _M,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 139 of file f1b2vc5.cpp.

df1b2matrix operator* ( const df1b2variable _x,
const dmatrix _M 
)

Description not yet available.

Parameters

Definition at line 239 of file f1b2vc4.cpp.

df1b2matrix operator* ( const df1b2matrix _MM,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 273 of file f1b2vc5.cpp.

df1b2matrix operator* ( const dmatrix M,
const df1b2matrix x 
)
df1b2matrix operator* ( const df1b2variable _x,
const df1b2matrix _M 
)

Description not yet available.

Parameters

Definition at line 217 of file f1b2vc4.cpp.

df1b2matrix operator* ( const df1b2matrix _M,
const double  x 
)

Description not yet available.

Parameters

Definition at line 305 of file f1b2vc4.cpp.

df1b2matrix operator* ( const double  x,
const df1b2matrix _M 
)

Description not yet available.

Parameters

Definition at line 314 of file f1b2vc4.cpp.

df1b2vector operator* ( const df1b2variable _v,
const dvector _x 
)

Description not yet available.

Parameters

Definition at line 59 of file f1b2vc3.cpp.

df1b2vector operator* ( const dvector _v,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 119 of file f1b2vc8.cpp.

df1b2vector operator* ( const dvector _x,
const df1b2matrix _M 
)

Vector and Matrix Multiplication.

Parameters
_xis a vector with dimensions (m_min, m_max).
_Mis a matrix with dimensions (m_min, m_max, n_min, n_max).
Returns
vector result of _x * _M with dimensions (n_min, n_max)

Definition at line 245 of file f1b2vc5.cpp.

df1b2vector operator* ( const df1b2vector _x,
const df1b2matrix _M 
)

Vector and Matrix Multiplication.

Parameters
_xis a vector with dimensions (m_min, m_max).
_Mis a matrix with dimensions (m_min, m_max, n_min, n_max).
Returns
vector result of _x * _M with dimensions (n_min, n_max)

Definition at line 185 of file f1b2vc5.cpp.

df1b2vector operator* ( const df1b2vector _x,
const dmatrix _M 
)

Vector and Matrix Multiplication.

Parameters
_xis a vector with dimensions (m_min, m_max).
_Mis a matrix with dimensions (m_min, m_max, n_min, n_max).
Returns
vector result of _x * _M with dimensions (n_min, n_max)

Definition at line 215 of file f1b2vc5.cpp.

df1b2variable operator* ( const df1b2vector _x,
const df1b2vector _y 
)

Description not yet available.

Parameters

Definition at line 182 of file f1b2v10.cpp.

df1b2vector operator* ( const df1b2matrix _M,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 161 of file f1b2vc5.cpp.

df1b2vector operator* ( const df1b2matrix _M,
const dvector _x 
)

Description not yet available.

Parameters

Definition at line 308 of file f1b2vc5.cpp.

df1b2variable operator+ ( const df1b2variable _x,
const df1b2variable _y 
)

Description not yet available.

Parameters

Definition at line 17 of file df1b2sum.cpp.

df1b2variable operator+ ( double  x,
const df1b2variable _y 
)

Description not yet available.

Parameters

Definition at line 17 of file df1b2sumc.cpp.

df1b2variable operator+ ( const df1b2variable x,
double  y 
)
inline

Description not yet available.

Parameters

Definition at line 902 of file df1b2fun.h.

df1b2matrix operator+ ( const df1b2matrix _M,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 17 of file f1b2vc4.cpp.

df1b2matrix operator+ ( const df1b2matrix _MM,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 378 of file f1b2vc4.cpp.

df1b2matrix operator+ ( const df1b2matrix _M,
const dmatrix N 
)

Description not yet available.

Parameters

Definition at line 402 of file f1b2vc4.cpp.

df1b2matrix operator+ ( const dmatrix M,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 425 of file f1b2vc4.cpp.

df1b2matrix operator+ ( const df1b2variable _x,
const df1b2matrix _M 
)

Description not yet available.

Parameters

Definition at line 174 of file f1b2vc4.cpp.

df1b2vector operator+ ( const df1b2variable _x,
const dvector _v 
)

Description not yet available.

Parameters

Definition at line 17 of file f1b2vc8.cpp.

df1b2matrix operator+ ( const df1b2matrix _M,
const double  x 
)

Description not yet available.

Parameters

Definition at line 153 of file f1b2vc4.cpp.

df1b2matrix operator+ ( const double  x,
const df1b2matrix _M 
)

Description not yet available.

Parameters

Definition at line 196 of file f1b2vc4.cpp.

df1b2vector operator+ ( const df1b2variable _v,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 135 of file f1b2vc3.cpp.

df1b2vector operator+ ( double  v,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 154 of file f1b2vc3.cpp.

df1b2vector operator+ ( const df1b2vector _x,
const df1b2vector _y 
)

Description not yet available.

Parameters

Definition at line 18 of file f1b2vc1.cpp.

df1b2vector operator+ ( const df1b2vector _x,
const df1b2variable _v 
)

Description not yet available.

Parameters

Definition at line 116 of file f1b2vc3.cpp.

df1b2vector operator+ ( const dvector _x,
const df1b2vector _y 
)

Description not yet available.

Parameters

Definition at line 62 of file f1b2vc1.cpp.

df1b2vector operator+ ( const df1b2vector _x,
const dvector _y 
)

Description not yet available.

Parameters

Definition at line 40 of file f1b2vc1.cpp.

df1b2vector operator+ ( const dvector _v,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 102 of file f1b2vc8.cpp.

df1b2variable operator- ( const df1b2variable _x,
const df1b2variable _y 
)

Description not yet available.

Parameters

Definition at line 17 of file df1b2min.cpp.

df1b2variable operator- ( double  x,
const df1b2variable y 
)

Definition at line 13 of file df1b2min2.cpp.

df1b2variable operator- ( const df1b2variable x,
double  y 
)

Definition at line 13 of file df1b2min3.cpp.

df1b2matrix operator- ( const df1b2matrix _M,
const dmatrix N 
)

Description not yet available.

Parameters

Definition at line 472 of file f1b2vc4.cpp.

df1b2matrix operator- ( const df1b2matrix M,
const double  x 
)
df1b2matrix operator- ( const df1b2matrix M,
const df1b2variable x 
)
df1b2matrix operator- ( const df1b2matrix _MM,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 448 of file f1b2vc4.cpp.

df1b2matrix operator- ( const dmatrix M,
const df1b2matrix _NN 
)

Description not yet available.

Parameters

Definition at line 495 of file f1b2vc4.cpp.

df1b2matrix operator- ( const df1b2variable _x,
const df1b2matrix _M 
)

Description not yet available.

Parameters

Definition at line 335 of file f1b2vc4.cpp.

df1b2matrix operator- ( const double  x,
const df1b2matrix _M 
)

Description not yet available.

Parameters

Definition at line 357 of file f1b2vc4.cpp.

df1b2vector operator- ( const df1b2vector _x,
const df1b2vector _y 
)

Description not yet available.

Parameters

Definition at line 198 of file f1b2vc1.cpp.

df1b2vector operator- ( const dvector _x,
const df1b2vector _y 
)

Description not yet available.

Parameters

Definition at line 242 of file f1b2vc1.cpp.

df1b2vector operator- ( const df1b2variable _x,
const df1b2vector _v 
)

Description not yet available.

Parameters

Definition at line 51 of file f1b2vc8.cpp.

df1b2vector operator- ( const df1b2variable _x,
const dvector _v 
)

Description not yet available.

Parameters

Definition at line 68 of file f1b2vc8.cpp.

df1b2vector operator- ( const df1b2vector _v,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 34 of file f1b2vc8.cpp.

df1b2vector operator- ( const df1b2vector _x,
const dvector _y 
)

Description not yet available.

Parameters

Definition at line 220 of file f1b2vc1.cpp.

df1b2vector operator- ( const dvector _v,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 85 of file f1b2vc8.cpp.

df1b2variable operator- ( const df1b2variable x)
inline

Description not yet available.

Parameters

Definition at line 1713 of file df1b2fun.h.

df1b2vector operator- ( const df1b2vector x)
inline

Description not yet available.

Parameters

Definition at line 1722 of file df1b2fun.h.

df1b2variable operator/ ( const df1b2variable x,
const df1b2variable y 
)

Description not yet available.

Parameters

Definition at line 94 of file df1b2f28.cpp.

df1b2variable operator/ ( const df1b2variable x,
double  y 
)

Description not yet available.

Parameters

Definition at line 28 of file df1b2prc.cpp.

df1b2variable operator/ ( double  x,
const df1b2variable y 
)

Description not yet available.

Parameters

Definition at line 136 of file df1b2f28.cpp.

df1b2vector operator/ ( const df1b2variable x,
const df1b2vector _v 
)

Description not yet available.

Parameters

Definition at line 33 of file f1b2vc9.cpp.

df1b2vector operator/ ( const double &  x,
const df1b2vector _v 
)

Description not yet available.

Parameters

Definition at line 97 of file f1b2vc9.cpp.

df1b2vector operator/ ( const df1b2vector _v,
const df1b2variable x 
)

Description not yet available.

Parameters

Definition at line 17 of file f1b2vc9.cpp.

df1b2vector operator/ ( const df1b2vector _v,
double  x 
)

Description not yet available.

Parameters

Definition at line 81 of file f1b2vc9.cpp.

df1b2vector operator/ ( const dvector v,
const df1b2variable x 
)

Description not yet available.

Parameters

Definition at line 66 of file f1b2vc9.cpp.

ostream& operator<< ( const ostream &  _os,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 17 of file df1b2f16.cpp.

ostream& operator<< ( const ostream &  _os,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 34 of file df1b2f16.cpp.

ostream& operator<< ( const ostream &  _os,
const df1b2matrix _x 
)

Description not yet available.

Parameters

Definition at line 51 of file df1b2f16.cpp.

ostream& operator<< ( const ostream &  _os,
const df1b2_init_number_vector _x 
)

Description not yet available.

Parameters

Definition at line 69 of file df1b2f16.cpp.

ostream& operator<< ( const ostream &  _os,
const init_df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 104 of file df1b2f16.cpp.

ostream& operator<< ( const ostream &  _os,
const df1b2_init_bounded_number_vector _x 
)

Description not yet available.

Parameters

Definition at line 86 of file df1b2f16.cpp.

ofstream& operator<< ( const ofstream &  _s,
const nested_calls_shape m 
)
df1b2matrix outer_prod ( const df1b2vector _MM,
const df1b2vector _NN 
)

Description not yet available.

Parameters

Definition at line 17 of file f1b2vc3.cpp.

df1b2variable pbeta ( double  x,
const df1b2variable a,
const df1b2variable b,
int  maxit 
)

beta distribution function for df1b2variable objects (alias of betai).

Parameters
x$x$
a$a$
b$b$
maxitMaximum number of iterations for the continued fraction approximation in betacf.
Returns
Incomplete beta function $I_x(a,b)$



The implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter 2

Definition at line 81 of file df1b2bet.cpp.

df1b2variable pbeta ( const df1b2variable x,
const df1b2variable a,
const df1b2variable b,
int  maxit = 100 
)

Definition at line 104 of file df1b2bet.cpp.

df1b2variable posfun ( const df1b2variable x,
const double  eps 
)

Description not yet available.

Parameters

Definition at line 252 of file df1b2loc.cpp.

df1b2variable posfun ( const df1b2variable x,
const double  eps,
const df1b2variable _pen 
)

Description not yet available.

Parameters

Definition at line 215 of file df1b2loc.cpp.

df1b2vector posfun ( const df1b2vector x,
double  eps,
const df1b2variable _pen 
)

Description not yet available.

Parameters

Definition at line 198 of file df1b2loc.cpp.

df1b2variable posfun2 ( const df1b2variable x,
const double  eps,
const df1b2variable _pen 
)

Description not yet available.

Parameters

Definition at line 268 of file df1b2loc.cpp.

df1b2variable pow ( const df1b2variable x,
const df1b2variable y 
)

Description not yet available.

Parameters

Definition at line 17 of file df1b2f28.cpp.

df1b2variable pow ( const df1b2variable x,
double  y 
)

Description not yet available.

Parameters

Definition at line 172 of file df1b2f28.cpp.

df1b2variable pow ( double  x,
const df1b2variable y 
)

Description not yet available.

Parameters

Definition at line 63 of file df1b2f28.cpp.

df1b2vector pow ( const df1b2vector _v,
double  x 
)

Description not yet available.

Parameters

Definition at line 22 of file f1b2v10.cpp.

df1b2vector pow ( const df1b2vector _v,
const df1b2variable _x 
)

Description not yet available.

Parameters

Definition at line 56 of file f1b2v10.cpp.

df1b2vector pow ( const df1b2vector _x,
const df1b2vector _v 
)

Description not yet available.

Parameters

Definition at line 38 of file f1b2v10.cpp.

df1b2vector pow ( const df1b2variable _v,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 75 of file f1b2v10.cpp.

df1b2vector pow ( df1b2vector const &  _x,
dvector const &  v 
)

raise x to the power v.

Parameters
xvector of bases
vvector of exponents

Definition at line 167 of file f1b2v10.cpp.

df1b2vector pow ( const double  v,
const df1b2vector _x 
)

Description not yet available.

Parameters

Definition at line 94 of file f1b2v10.cpp.

df1b2vector pow ( const dvector x,
const df1b2vector a 
)

raise x to the power a.

Parameters
xvector of bases
avector of exponents

Definition at line 130 of file f1b2v10.cpp.

df1b2vector pow ( const dvector x,
const df1b2variable a 
)

raise x to the power a.

Parameters
xvector of bases
athe exponent

Definition at line 112 of file f1b2v10.cpp.

void print_derivatives ( const adstring s,
double  f,
double  df,
double  d2f,
double  d3f,
int  bflag 
)
void print_derivatives ( const adstring s,
double  f,
double  df1,
double  df2,
double  df11,
double  df12,
double  df22,
double  df111,
double  df112,
double  df122,
double  df222,
int  bflag 
)

Description not yet available.

Parameters

Definition at line 44 of file df1b2fn3.cpp.

void print_derivatives ( df1b2_header px,
const char *  s,
int  bflag 
)

Description not yet available.

Parameters

Definition at line 70 of file df1b2fn3.cpp.

void print_dot_derivatives ( df1b2_header px,
const char *  s 
)
void print_is_diagnostics ( laplace_approximation_calculator lapprox)

Definition at line 880 of file xmodelm3.cpp.

Referenced by function_minimizer::minimize().

df1b2variable qbeta ( df1b2variable  x,
df1b2variable  a,
df1b2variable  b,
double  eps = 0 
)

Definition at line 380 of file df1b2invcumdbeta.cpp.

void read ( const test_smartlist ,
void *  ,
int  nsize 
)
void read_pass1_1 ( void  )

Description not yet available.

Parameters

Definition at line 101 of file df1b2f11.cpp.

Referenced by ad_read_pass1().

void read_pass1_2 ( void  )

Description not yet available.

Parameters

Definition at line 229 of file df1b2f11.cpp.

Referenced by ad_read_pass1().

df1b2variable robust_normal_logistic_mixture_deviate ( const df1b2variable x,
double  spread 
)

Description not yet available.

Parameters

Definition at line 17 of file df1b2norlogmix.cpp.

df1b2variable robust_normal_mixture_deviate ( const df1b2variable x,
double  spread 
)

Description not yet available.

Parameters

Definition at line 30 of file df1b2norlogmix.cpp.

df1b2vector rowsum ( const df1b2matrix _M)

Description not yet available.

Parameters

Definition at line 59 of file f1b2vc6.cpp.

void set_dependent_variable ( const df1b2variable _x)
void set_value ( const df1b2variable _u,
const init_df1b2vector _x,
const int &  _ii,
double  fmin,
double  fmax,
const df1b2variable _fpen 
)

Description not yet available.

Parameters

Definition at line 354 of file df1b2f15.cpp.

void set_value ( const df1b2variable u,
const init_df1b2vector x,
const int &  _ii,
double  fmin,
double  fmax,
const df1b2variable fpen,
double  s 
)

Definition at line 382 of file df1b2f15.cpp.

df1b2variable sfabs ( const df1b2variable x)
df1b2variable sin ( const df1b2variable _xx)

Description not yet available.

Parameters

Definition at line 17 of file df1b2funx.cpp.

df1b2vector sin ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 122 of file f1b2vc1.cpp.

int size_count ( const df1b2matrix _x)

Description not yet available.

Parameters

Definition at line 270 of file f1b2vc3.cpp.

int size_count ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 260 of file f1b2vc3.cpp.

df1b2vector solve ( const df1b2matrix x,
const dvector  
)

Definition at line 36 of file f1b2solv.cpp.

df1b2vector solve ( const df1b2matrix x,
const df1b2vector  
)

Definition at line 42 of file f1b2sol2.cpp.

dvar_vector solve ( const named_dvar_matrix M,
const random_effects_vector v 
)

Description not yet available.

Parameters

Definition at line 17 of file f1b2sol3.cpp.

df1b2vector solve ( df1b2matrix M,
df1b2vector v,
const df1b2variable ln_det 
)

Definition at line 385 of file f1b2lndt.cpp.

df1b2vector solve ( df1b2matrix M,
df1b2vector v,
const df1b2variable ln_det,
const int &  sgn 
)

Definition at line 407 of file f1b2lndt.cpp.

df1b2matrix solve ( const df1b2matrix aa,
const df1b2matrix tz,
df1b2variable  ln_unsigned_det,
df1b2variable sign 
)

Description not yet available.

Parameters
\n\nThe implementation of this algorithm was inspired by "Numerical Recipes in C", 2nd edition, Press, Teukolsky, Vetterling, Flannery, chapter xx

Definition at line 33 of file df1b2-separable/expm.cpp.

df1b2matrix solve ( const df1b2matrix aa,
const df1b2matrix tz 
)

Description not yet available.

Parameters

Definition at line 19 of file df1b2-separable/expm.cpp.

df1b2vector solve ( const df1b2matrix aa,
const df1b2vector z,
const df1b2variable ld,
df1b2variable sign 
)

Definition at line 27 of file f1b2sol2.cpp.

df1b2variable sqrt ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 37 of file df1b2f19.cpp.

df1b2vector sqrt ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 160 of file f1b2vc1.cpp.

df1b2variable square ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 838 of file df1b2fun.cpp.

df1b2matrix square ( const df1b2matrix _M)

Description not yet available.

Parameters

Definition at line 133 of file f1b2vc2.cpp.

df1b2vector square ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 32 of file f1b2v11.cpp.

df1b2variable sum ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 809 of file f1b2vc5.cpp.

df1b2variable sum ( const df1b2matrix _x)

Description not yet available.

Parameters

Definition at line 920 of file f1b2vc5.cpp.

df1b2variable sumsq ( const df1b2vector x)

Definition at line 859 of file f1b2vc5.cpp.

df1b2variable sumsq ( const df1b2matrix x)

Definition at line 896 of file f1b2vc5.cpp.

df1b2variable tan ( const df1b2variable x)

Description not yet available.

Parameters

Definition at line 425 of file df1b2fun.cpp.

df1b2vector tan ( const df1b2vector _x)

Description not yet available.

Parameters

Definition at line 141 of file f1b2vc1.cpp.

df1b2matrix trans ( const df1b2matrix _m1)

Description not yet available.

Parameters

Definition at line 41 of file f1b2ma1.cpp.

double& value ( const df1b2variable _x)

Description not yet available.

Parameters

Definition at line 476 of file df1b2fn2.cpp.

dvector value ( const df1b2vector _t1)

Description not yet available.

Parameters

Definition at line 17 of file f1b2vc2.cpp.

dmatrix value ( const df1b2matrix _m)

Description not yet available.

Parameters

Definition at line 33 of file f1b2vc2.cpp.

int withinbound ( int  lb,
int  n,
int  ub 
)

Definition at line 45 of file model.cpp.

void write ( const test_smartlist ,
void *  ,
int  nsize 
)

Variable Documentation

char AD_allocation_error_message[]

Definition at line 32 of file df1b2fn2.cpp.

df1b2_gradlist* f1b2gradlist

Definition at line 49 of file df1b2glo.cpp.

Referenced by df1b2variable::allocate(), funnel_init_var::allocate_all(), asin(), betacf(), laplace_approximation_calculator::check_pool_size(), check_second_derivatives(), check_third_derivatives(), cos(), df1b2variable::deallocate(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), df1b2_gradcalc1(), df1b2variable::df1b2variable(), div(), laplace_approximation_calculator::do_separable_stuff(), laplace_approximation_calculator::do_separable_stuff_hessian_type_information(), laplace_approximation_calculator::do_separable_stuff_laplace_approximation_banded(), laplace_approximation_calculator::do_separable_stuff_laplace_approximation_banded_adjoint(), laplace_approximation_calculator::do_separable_stuff_laplace_approximation_block_diagonal(), laplace_approximation_calculator::do_separable_stuff_laplace_approximation_importance_sampling_adjoint(), laplace_approximation_calculator::do_separable_stuff_newton_raphson_banded(), laplace_approximation_calculator::do_separable_stuff_newton_raphson_block_diagonal(), laplace_approximation_calculator::do_separable_stuff_x_u_block_diagonal(), gammlnguts(), laplace_approximation_calculator::get_block_diagonal_hessian(), laplace_approximation_calculator::get_complete_hessian(), laplace_approximation_calculator::get_newton_raphson_info(), inv_cumd_beta_stable(), inv_cumd_gamma(), inv_cumd_normal_logistic_mixture(), inv_cumd_normal_mixture(), laplace_approximation_calculator::laplace_approximation_calculator(), mypow(), df1b2function1::operator()(), df1b2function2::operator()(), operator*(), operator+(), df1b2variable::operator+=(), operator-(), df1b2variable::operator-=(), operator/(), df1b2variable::operator=(), pow(), read_pass1_1(), read_pass1_1_dv(), read_pass1_1x(), read_pass1_2(), read_pass1_2_dv(), read_pass1_2x(), read_pass1_3(), read_pass1_3_dv(), read_pass1_3x(), read_pass1_eq_1(), read_pass1_eq_2(), read_pass1_eq_3(), read_pass1_init_1(), read_pass1_init_2(), read_pass1_init_3(), read_pass1_minus_eq_1(), read_pass1_minus_eq_2(), read_pass1_minus_eq_3(), read_pass1_plus_eq_1(), read_pass1_plus_eq_2(), read_pass1_plus_eq_3(), read_pass2_1(), read_pass2_1_dvdv(), read_pass2_1_dvdvdv(), read_pass2_1_minus(), read_pass2_1_minuscv(), read_pass2_1_minusvc(), read_pass2_1_prod(), read_pass2_1_prod_vector(), read_pass2_1_prodc1(), read_pass2_1_prodc2(), read_pass2_1_sum(), read_pass2_1_sumc(), read_pass2_2(), read_pass2_2_dvdv(), read_pass2_2_dvdvdv(), read_pass2_2_minus(), read_pass2_2_minuscv(), read_pass2_2_minusvc(), read_pass2_2_prod(), read_pass2_2_prod_vector(), read_pass2_2_prodc1(), read_pass2_2_prodc2(), read_pass2_2_sum(), read_pass2_2_sumc(), read_pass2_3(), read_pass2_3_dvdv(), read_pass2_3_dvdvdv(), read_pass2_3_minus(), read_pass2_3_minuscv(), read_pass2_3_minusvc(), read_pass2_3_prod(), read_pass2_3_prod_vector(), read_pass2_3_prodc1(), read_pass2_3_prodc2(), read_pass2_3_sum(), read_pass2_3_sumc(), read_tilde_values_1(), read_tilde_values_2(), read_tilde_values_3(), sin(), laplace_approximation_calculator::test_trust_region_method(), df1b2_gradlist::write_pass1_minuseq(), df1b2_gradlist::write_pass1_pluseq(), and laplace_approximation_calculator::~laplace_approximation_calculator().

df1b2_gradlist** f1b2gradlist_stack
df1b2_gradlist* globalf1b2gradlist

Definition at line 51 of file df1b2glo.cpp.

df1b2_gradlist* localf1b2gradlist

Definition at line 50 of file df1b2glo.cpp.

int make_sure_df1b2fun_gets_linked
int max_num_init_df1b2variable

Definition at line 30 of file df1b2fn2.cpp.

Referenced by init_df1b2vector::allocate().