ADMB Documentation  11.1x.2730
 All Classes Files Functions Variables Typedefs Friends Defines
Classes | Defines | Typedefs | Functions | Variables
fvar.hpp File Reference

(* $Id: fvar.hpp 2716 2014-11-24 21:33:14Z johnoel $)

AUTODIF classes. More...

#include <math.h>
#include <fcntl.h>
#include <fstream.h>
#include <stdio.h>
#include <iomanip.h>
#include <strstream.h>
#include <dfpool.h>
#include <ivector.h>
#include <gradient_structure.h>
#include "vector_shapex.h"
#include "dvector.h"
#include <stdlib.h>
#include "factors.h"
#include <imatrix.h>
#include <adstring.hpp>
#include <sys/time.h>
#include <iostream>

Go to the source code of this file.

Classes

class  ad_comm
 Description not yet available. More...
class  ad_double
 Stores double value. More...
class  ad_integer
 Stores integer. More...
class  adkludge
 Description not yet available. More...
class  adtimer
 Description not yet available. More...
class  arr_link
 Description not yet available. More...
class  arr_list
 Description not yet available. More...
class  banded_lower_triangular_dmatrix
 Description not yet available. More...
class  banded_lower_triangular_dvar_matrix
 Description not yet available. More...
class  banded_symmetric_dmatrix
 Description not yet available. More...
class  banded_symmetric_dvar_matrix
 Description not yet available. More...
class  cubic_spline_function
 Description not yet available. More...
class  d3_array
 Description not yet available. More...
class  d3_array_position
 Description not yet available. More...
class  d3_index
 Description not yet available. More...
class  d4_array
 Description not yet available. More...
class  d5_array
 Description not yet available. More...
class  d6_array
 Description not yet available. More...
class  d7_array
 Description not yet available. More...
class  dcompressed_triplet
 Description not yet available. More...
class  dependent_variables_information
 Description not yet available. More...
class  dfsdmat
 Description not yet available. More...
class  dfunction_tweaker
 Description not yet available. More...
class  dlink
 Description not yet available. More...
class  dlist
 Link list. More...
class  dmatrix
 Description not yet available. More...
class  dmatrix_index
 Description not yet available. More...
class  dmatrix_position
 Description not yet available. More...
class  double_and_int
 Holds the data for the prevariable class. More...
class  double_index
 Description not yet available. More...
class  double_index_guts
 Description not yet available. More...
class  double_index_type
 Description not yet available. More...
class  dvar3_array
 Description not yet available. More...
class  dvar4_array
 Description not yet available. More...
class  dvar5_array
 Description not yet available. More...
class  dvar6_array
 Description not yet available. More...
class  dvar7_array
 Description not yet available. More...
class  dvar_compressed_triplet
 Description not yet available. More...
class  dvar_matrix
 Class definition of matrix with derivitive information . More...
class  dvar_matrix_position
 Description not yet available. More...
class  dvar_vector
 Description not yet available. More...
class  dvar_vector_position
 Description not yet available. More...
class  dvariable
 Fundamental data type for reverse mode automatic differentiation. More...
class  dvector_index
 Description not yet available. More...
class  dvector_position
 Description not yet available. More...
class  fmm
 Functions and variables for function minimizer. More...
class  fmm_control
 Function minimizer control. More...
class  fmmc
 Description not yet available. More...
class  fmmq
 Description not yet available. More...
class  fmmt
 Description not yet available. More...
class  fmmt1
 Description not yet available. More...
class  four_array_shape
 Description not yet available. More...
class  function_minimizer_exception
 Description not yet available. More...
class  function_tweaker
 Description not yet available. More...
class  funnel_dvariable
 Description not yet available. More...
class  grad_stack
 Description not yet available. More...
class  grad_stack_entry
 Holds derivative information for arithmetic operators and math library functions. More...
class  hs_symbolic
 Description not yet available. More...
class  i3_array
 Description not yet available. More...
class  i3_index
 Description not yet available. More...
class  i4_array
 Description not yet available. More...
class  i4_index
 Description not yet available. More...
class  i5_array
 Description not yet available. More...
class  independent_variables
 Description not yet available. More...
class  index_guts
 Description not yet available. More...
class  index_type
 Description not yet available. More...
class  indvar_offset_list
 Description not yet available. More...
class  ivector_position
 Description not yet available. More...
class  kkludge_object
 Null class to allow specialized function overloads. More...
class  lmatrix
 Description not yet available. More...
class  lmatrix_position
 Description not yet available. More...
class  lower_triangular_dmatrix
 Description not yet available. More...
class  lvector
 Description not yet available. More...
class  lvector_position
 Description not yet available. More...
class  mat_shape
 Description not yet available. More...
class  mat_shapex
 Description not yet available. More...
class  matrix_index
 Description not yet available. More...
class  multi_index
 Description not yet available. More...
class  number_index
 Description not yet available. More...
class  pre_column_print
 Description not yet available. More...
class  pre_double_index_type
 Description not yet available. More...
class  pre_index_type
 Description not yet available. More...
class  pre_zero_print
 Description not yet available. More...
class  predvar_vector
 Description not yet available. More...
class  predvector
 Description not yet available. More...
class  prefixed
class  preivector
 Description not yet available. More...
class  prescientific
class  preshowpoint
class  prevariable
 Base class for dvariable. More...
class  prevariable_position
 Description not yet available. More...
class  ptr_vector
 Description not yet available. More...
class  random_number_generator
 Description not yet available. More...
class  sdmatrix
 Description not yet available. More...
class  sing_val_decomp
 Description not yet available. More...
class  smart_counter
 Description not yet available. More...
class  spdll_exception
 Description not yet available. More...
class  three_array_shape
 Description not yet available. More...
class  ts_vector_shape_pool
 Description not yet available. More...
class  uistream
 Description not yet available. More...
class  uostream
 Description not yet available. More...
class  vcubic_spline_function
 Description not yet available. More...
class  vector_index
 Description not yet available. More...
class  vector_range_exception
 Description not yet available. More...
class  vector_shape
 Description not yet available. More...
class  vector_shape_pool
 Description not yet available. More...

Defines

#define __GNU__
#define __NUMBERVECTOR__
#define __USE_IOSTREAM__
#define _VECTOR_SHAPE
#define AD_LONG_INT   long int
#define AD_SET_DERIVATIVES1(depvar, indvar, df)
#define AD_SET_DERIVATIVES2(depvar, indvar1, df1, indvar2, df2)
#define AD_SET_DERIVATIVES3(depvar, indvar1, df1, indvar2, df2, indvar3, df3)
#define AD_SET_DERIVATIVES4(depvar, indvar1, df1, indvar2, df2, indvar3, df3, indvar4, df4)
#define ADJOINT_CODE(x)   gradient_structure::GRAD_STACK1->set_gradient_stack(x);
#define ADUNCONST(type, obj)   type & obj = (type&) _##obj;
 Creates a shallow copy of obj that is not CONST.
#define BEGIN_MINIMIZATION(nvar, objective_function, ind_vars, gradient, cntrl)
#define END_MINIMIZATION(nvar, gradient)
#define M_PI   3.14159265358979323846
#define MFCL2_CONSTRUCTORS
#define NO_DERIVS
#define O_BINARY   0
#define PI   3.14159265358979323846
#define USE_HIGHER_ARRAYS
#define USE_VECTOR_SHAPE_POOL

Typedefs

typedef struct cs_symbolic css
typedef void(* exitptr )(int)
typedef int(* fptr )(const char *format,...)

Functions

long int _farptr_tolong (void *)
 Description not yet available.
dvector acos (const dvector &t1)
 Description not yet available.
dvar_vector acos (const dvar_vector &t1)
 Description not yet available.
void ad_begin_funnel (void)
 Description not yet available.
int ad_chdir (const char *s)
 Description not yet available.
void ad_getcd (const adstring &s)
 Description not yet available.
void ad_set_new_handler (void)
 Description not yet available.
double * address (const prevariable &v1)
int admax (int i, int j)
void ADMB_getcallindex (int)
void ADMB_getcallindex (double)
void ADMB_getcallindex (const dvector &)
void ADMB_getcallindex (const dmatrix &)
void ADMB_getcallindex (const d3_array &)
void ADMB_getcallindex (const d4_array &)
void ADMB_getcallindex (const prevariable &)
void ADMB_getcallindex (const dvar_vector &)
void ADMB_getcallindex (const dvar_matrix &)
void ADMB_getcallindex (const dvar3_array &)
void ADMB_getcallindex (dvar4_array &)
int admin (int i, int j)
int allocated (const ivector &v)
 Description not yet available.
int allocated (const lvector &v)
 Description not yet available.
int allocated (const dvector &v)
 Description not yet available.
int allocated (const dvar_vector &v)
 Description not yet available.
int allocated (const imatrix &v)
 Description not yet available.
int allocated (const dmatrix &v)
int allocated (const dvar_matrix &v)
 Description not yet available.
int allocated (const i3_array &v)
 Description not yet available.
int allocated (const d3_array &v)
 Description not yet available.
int allocated (const dvar3_array &v)
 Description not yet available.
int allocated (const i4_array &v)
 Description not yet available.
int allocated (const d4_array &v)
 Description not yet available.
int allocated (const dvar4_array &v)
 Description not yet available.
int allocated (const d5_array &v)
 Description not yet available.
int allocated (const dvar5_array &v)
 Description not yet available.
int allocated (const d6_array &v)
 Description not yet available.
int allocated (const dvar6_array &v)
 Description not yet available.
int allocated (const d7_array &v)
 Description not yet available.
int allocated (const dvar7_array &v)
 Description not yet available.
int allocated (const dcompressed_triplet &t)
int allocated (const dvar_compressed_triplet &t)
void arr_free (double_and_int *)
 Description not yet available.
double_and_intarr_new (unsigned int sz)
 Description not yet available.
ivector as_factor (const dvector &v, const double eps=1.0e-6)
dvector asin (const dvector &t1)
 Description not yet available.
dvar_vector asin (const dvar_vector &t1)
 Description not yet available.
dvector atan (const dvector &t1)
 Description not yet available.
dvar_vector atan (const dvar_vector &t1)
 Description not yet available.
dvector atan2 (const dvector &t1, const dvector &t2)
dvector atan2 (const dvector &t1, double t2)
dvector atan2 (double t1, const dvector &t2)
dvar_vector atan2 (const dvar_vector &t1, const dvar_vector &t2)
dvar_vector atan2 (const dvar_vector &t1, double t2)
dvar_vector atan2 (double t1, const dvar_vector &t2)
dvector atlas_solve_spd (const dmatrix &M, const dvector &x)
dvector atlas_solve_spd (const dmatrix &M, const dvector &x, int &ierr)
dmatrix atlas_solve_spd (const dmatrix &M, const dmatrix &x)
dmatrix atlas_solve_spd_trans (const dmatrix &M, const dmatrix &x)
dvariable avg (const prevariable &x, const prevariable &y)
 Description not yet available.
double avg (double x, double y)
 Average of two numbers; constant objects.
dvariable beta_deviate (const prevariable &_x, const prevariable &_a, const prevariable &_b, double eps=1.e-7)
 Description not yet available.
double beta_deviate (double x, double a, double b, double eps=1.e-7)
 Description not yet available.
double betacf (const double _a, const double _b, double _x, int maxit=100)
 Incomplete beta function for constant objects.
dvariable betacf (const dvariable &_a, const dvariable &_b, const dvariable &_x, int maxit=100)
 Incomplete beta function for variable objects.
dvariable betai (const dvariable a, const dvariable b, const dvariable x, int maxit=100)
 Incomplete beta function for variable objects.
double betai (const double a, const double b, const double x, int maxit=100)
 Incomplete beta function for constant objects.
prevariablebounded_cumd_norm (const prevariable &x, double)
 Description not yet available.
double bounded_cumd_norm (double x, double)
 Description not yet available.
double bounder (double x, double min, double max, double scale)
 Description not yet available.
dvariable bounder (const prevariable &x, double min, double max, double scale)
 Description not yet available.
double boundp (double x, double fmin, double fmax, const double &fpen)
 Compute penalty for exceeding bounds on parameter; constant ojbects.
double boundp (double x, double fmin, double fmax)
 Return scaled variable to original units; constant objects.
dvariable boundp (const prevariable &x, double fmin, double fmax, const prevariable &fpen)
 Compute penalty for exceeding bounds on parameter; variable ojbects.
dvariable boundp (const prevariable &x, double fmin, double fmax, const prevariable &fpen, double s)
 Compute penalty for exceeding bounds on parameter; variable ojbects.
dvariable boundp (double, double, double, double *)
double boundpin (double x, double fmin, double fmax)
 Scale model variable over [-1,1]; constant objects.
double boundpin (const prevariable &x, double fmin, double fmax)
 Scale model variable over [-1,1]; variable objects.
double boundpin (const prevariable &x, double fmin, double fmax, double s)
 Scale model variable over [-1,1]; variable objects.
void check_choleski_decomp (const banded_symmetric_dvar_matrix &MM, int &ierr)
void check_derivative_values (const char *s)
 Description not yet available.
void check_derivative_values (const char *s, int i)
 Description not yet available.
void check_derivative_values_break (const char *s, int i, int b)
 Description not yet available.
dmatrix choleski_decomp (const dmatrix &M)
 Description not yet available.
dvar_matrix choleski_decomp (const dvar_matrix &M)
 Description not yet available.
banded_lower_triangular_dmatrix choleski_decomp (const banded_symmetric_dmatrix &S, const int &ierr)
 Description not yet available.
banded_lower_triangular_dvar_matrix choleski_decomp (const banded_symmetric_dvar_matrix &S, const int &ierr)
 Description not yet available.
dmatrix choleski_decomp_error (const dmatrix &M, int &ierror)
 Description not yet available.
dmatrix choleski_decomp_neghess_error (const dmatrix &M, int &ierror)
 Description not yet available.
dmatrix choleski_decomp_positive (const dmatrix &MM, const int &ierr)
 Description not yet available.
dmatrix choleski_decomp_positive (const dmatrix &MM, double bound)
 Description not yet available.
banded_lower_triangular_dvar_matrix choleski_decomp_positive (const banded_symmetric_dvar_matrix &S, double eps, dvariable &fpen)
 Description not yet available.
banded_lower_triangular_dmatrix choleski_decomp_trust_bound (const banded_symmetric_dmatrix &_M, const int &_ierr)
 Description not yet available.
dvector choleski_solve_error (dmatrix M, dvector &v, int &ierror)
 Description not yet available.
dvector choleski_solve_neghess_error (dmatrix M, dvector &v, int &ierror)
 Description not yet available.
void clean (ivector &v, int level)
 Description not yet available.
dvar_vector colsum (const dvar_matrix &)
 Description not yet available.
dvector colsum (const dmatrix &)
 Description not yet available.
ivector colsum (const imatrix &)
 Description not yet available.
int colsum (const imatrix &, int column)
 Description not yet available.
double colsum (const dmatrix &, int column)
 Description not yet available.
dvariable colsum (const dvar_matrix &, int column)
 Description not yet available.
ivector column (const imatrix &m, int i)
 Return copy of jth column vector from matrix m.
dvector column (const dmatrix &m, int i)
 Return copy of jth column vector from matrix m.
dvar_vector column (const dvar_matrix &m, int i)
 Description not yet available.
pre_column_print column_print (const dvector &v)
 Description not yet available.
dvector column_value (const dvar_matrix &m, int i)
 Description not yet available.
dmatrix column_vector (const dvector &)
 Description not yet available.
dvar_matrix column_vector (const dvar_vector &)
 Description not yet available.
dvector cos (const dvector &t1)
 Description not yet available.
dvar_vector cos (const dvar_vector &t1)
 Description not yet available.
dmatrix cos (const dmatrix &m)
 Description not yet available.
dvar_matrix cos (const dvar_matrix &m)
 Description not yet available.
d3_array cos (const d3_array &m)
 Description not yet available.
dvar3_array cos (const dvar3_array &m)
 Description not yet available.
dvector cosh (const dvector &t1)
 Description not yet available.
dvar_vector cosh (const dvar_vector &t1)
 Description not yet available.
int count_factor (const dvector &v, const double &eps)
int count_factor (const ivector &v)
dvector csolve (const dmatrix &aa, const dvector &z)
 Solve a linear system using LU decomposition.
double cube (double x)
 Cube of a number; constant objects.
dvector cube (const dvector &x)
 Description not yet available.
dmatrix cube (const dmatrix &x)
 Description not yet available.
d3_array cube (const d3_array &x)
 Description not yet available.
prevariablecube (const prevariable &x)
 Cube of a number; variable object.
dvar_vector cube (const dvar_vector &x)
 Description not yet available.
dvar_matrix cube (const dvar_matrix &x)
 Description not yet available.
dvar3_array cube (const dvar3_array &x)
 Description not yet available.
dvariable cumbvn (const dvariable &x, const dvariable &y, const dvariable &rho)
 Cumulative bivariate normal distribution.
dvariable cumbvn (const dvariable &xl, const dvariable &yl, const dvariable &xu, const dvariable &yu, const dvariable &rho)
 Cumulative bivariate normal distribution.
dvariable cumd_bivariate_normal (const prevariable &xu, const prevariable &yu, const prevariable &rho, int nbox)
double cumd_cauchy (const double &x)
 Description not yet available.
dvariable cumd_cauchy (const prevariable &x)
 Description not yet available.
dvariable cumd_exponential (const prevariable &x)
 Description not yet available.
double cumd_exponential (double x)
 Description not yet available.
dvariable cumd_gamma (const dvariable &x, const dvariable &a)
double cumd_gamma (double x, double a)
double cumd_logistic (const double &x)
 Description not yet available.
dvariable cumd_logistic (const prevariable &x)
 Description not yet available.
double cumd_norm (const double &x)
 Culative normal distribution; constant objects.
double cumd_norm (const double &x, double)
prevariablecumd_norm (const prevariable &x)
 Culative normal distribution; variable objects.
prevariablecumd_norm_logistic (const prevariable &x, double)
 Description not yet available.
double cumd_norm_logistic (double x, double)
 Description not yet available.
dvariable cumd_normal_cauchy_mixture (const prevariable &_x, double _a)
dvar_vector cumd_normal_cauchy_mixture (const dvar_vector &_x, double _a)
dvariable cumd_normal_mixture (const prevariable &_x, double _a)
dvar_vector cumd_normal_mixture (const dvar_vector &_x, double _a)
dvector cumd_pareto (const dvector &_y, double alpha, double xm)
dvar_vector cumd_pareto (const dvar_vector &_y, const prevariable &alpha, const prevariable &xm)
dvariable cumd_pareto (const prevariable &_y, const prevariable &alpha, const prevariable &xm)
double cumd_pareto (double _y, double alpha, double xm)
dvector cumd_upper_trunc_pareto (const dvector &_y, double alpha, double xm)
dvar_vector cumd_upper_trunc_pareto (const dvar_vector &_y, const prevariable &alpha, const prevariable &xmin, const prevariable &xmax)
dvariable cumd_upper_trunc_pareto (const prevariable &_y, const prevariable &alpha, const prevariable &xmin, const prevariable &xmax)
void default_evaluation (void)
 Description not yet available.
void default_evaluation0 (void)
 Description not yet available.
void default_evaluation1 (void)
 Description not yet available.
void default_evaluation1m (void)
 Description not yet available.
void default_evaluation2 (void)
 Description not yet available.
void default_evaluation3 (void)
 Description not yet available.
void default_evaluation3ind (void)
 Description not yet available.
void default_evaluation4 (void)
 Description not yet available.
void default_evaluation4ind (void)
 Description not yet available.
void default_evaluation4m (void)
 Description not yet available.
double density_cauchy (const double &x)
 Description not yet available.
void derch (const double &f, const independent_variables &x, const dvector &g, int n, const int &ireturn)
 Description not yet available.
void derch (const double &f, const dvector &x, const dvector &gg, int n, const int &ireturn)
void df_check_derivative_values (void)
 Description not yet available.
void df_check_derivative_values_indexed (void)
 Description not yet available.
void df_check_derivative_values_indexed_break (void)
 Description not yet available.
dvariable dfatan1 (dvariable, double, double, const prevariable &fpen)
 Scale input variable between upper and lower bounds and compute a penalty for exceeding the bounds.
dvariable dfatan1 (dvariable, double, double, double *)
dvariable dfboundp (double, double, double, double *)
dvariable dfboundp (const prevariable &, double, double)
 Computes the derivative of dvariable boundp(const prevariable& x, double fmin, double fmax,const prevariable& _fpen)
void dfinvpret (void)
 Adjoint code for dvar_matrix inv(const dvar_matrix& aa).
double dflogistic (double a, double b, const double &x)
dvariable dflogistic (double a, double b, const prevariable &x)
 Description not yet available.
double dfposfun (const double &x, const double eps)
 Adjoint code for posfun; possibly not used.
dvariable dfposfun (const prevariable &x, const double eps)
 Adjoint code for posfun; possibly not used.
double dfposfun1 (const double &x, const double eps)
 Adjoint code for posfun; possibly not used.
double dftinv (double, double, double)
 Inverse of dvariable dfatan1(dvariable x, double fmin, double fmax, const prevariable& _fpen)
dvector diagonal (const dmatrix &)
 Description not yet available.
ivector diagonal (const imatrix &)
 Description not yet available.
dvar_vector diagonal (const dvar_matrix &)
 Description not yet available.
dmatrix diagonal_matrix (const dvector &v)
dvar_matrix diagonal_matrix (const dvar_vector &v)
double dmax (double i, double j)
 Returns the maximum of two numbers.
void dmdm_prod (void)
 Description not yet available.
double dmin (double, double)
 Returns the minimum of two numbers.
double dot (const dmatrix &M, const dmatrix &d2)
 Description not yet available.
void dv_init (void)
 Description not yet available.
void dvdv_dot (void)
dvector eigenvalues (const dmatrix &m1)
 Eigenvalues.
dvar_vector eigenvalues (const dvar_matrix &m1)
dvector eigenvalues (const banded_symmetric_dmatrix &_SS)
 Description not yet available.
dmatrix eigenvectors (const dmatrix &m1)
 Eigenvectors.
dmatrix eigenvectors (const dmatrix &m1, const dvector &eigenvalues)
 Eigenvectors.
dvar_matrix eigenvectors (const dvar_matrix &m1)
 Eigenvectors.
dmatrix eigenvectors (const banded_symmetric_dmatrix &_SS, const dvector &e)
 Description not yet available.
dmatrix elem_div (const dmatrix &m, const dmatrix &m2)
 Description not yet available.
dvar_matrix elem_div (const dvar_matrix &m, const dvar_matrix &m2)
 Description not yet available.
dvar_matrix elem_div (const dvar_matrix &m, const dmatrix &m2)
 Description not yet available.
dvar_matrix elem_div (const dmatrix &m, const dvar_matrix &m2)
 Description not yet available.
d3_array elem_div (const d3_array &m1, const d3_array &m2)
 Description not yet available.
dvar3_array elem_div (const dvar3_array &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array elem_div (const d3_array &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array elem_div (const dvar3_array &m1, const d3_array &m2)
 Description not yet available.
dmatrix elem_prod (const dmatrix &m, const dmatrix &m2)
 Description not yet available.
dvar_matrix elem_prod (const dvar_matrix &m, const dvar_matrix &m2)
 Description not yet available.
dvar_matrix elem_prod (const dvar_matrix &m, const dmatrix &m2)
 Description not yet available.
dvar_matrix elem_prod (const dmatrix &m, const dvar_matrix &m2)
 Description not yet available.
d3_array elem_prod (const d3_array &m1, const d3_array &m2)
 Description not yet available.
dvar3_array elem_prod (const dvar3_array &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array elem_prod (const d3_array &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array elem_prod (const dvar3_array &m1, const d3_array &m2)
 Description not yet available.
dvar_matrix empirical_covariance (const dvar_matrix &v1)
 Description not yet available.
dvar_matrix empirical_covariance (const dvar_matrix &v1, const imatrix &missflags)
 Description not yet available.
void exit_handler (int k)
 Description not yet available.
dvector exp (const dvector &t1)
 Description not yet available.
dvar_vector exp (const dvar_vector &t1)
 Description not yet available.
dmatrix exp (const dmatrix &m)
 Description not yet available.
dvar_matrix exp (const dvar_matrix &m)
 Description not yet available.
d3_array exp (const d3_array &m)
 Description not yet available.
dvar3_array exp (const dvar3_array &m)
 Description not yet available.
d4_array exp (const d4_array &x)
 Description not yet available.
dvar4_array exp (const dvar4_array &x)
 Description not yet available.
d5_array exp (const d5_array &x)
dvar5_array exp (const dvar5_array &x)
 Description not yet available.
double expdev (const random_number_generator &_rng)
 Description not yet available.
dmatrix expm (const dmatrix &A)
 Matrix exponential.
dvar_matrix expm (const dvar_matrix &A)
 Matrix exponential.
dvector extract_column (const dmatrix &m, int i)
 Extract copy of jth column vector from matrix m.
dvar_vector extract_column (const dvar_matrix &m, int i)
 Description not yet available.
dvector extract_row (const dmatrix &m, int j)
 Description not yet available.
dvar_vector extract_row (const dvar_matrix &m, int j)
 Description not yet available.
dmatrix fabs (const dmatrix &m)
 Description not yet available.
d3_array fabs (const d3_array &m)
dvar3_array fabs (const dvar3_array &m)
dvariable factln (const dvariable &n)
 Log-factorial $\ln(n!)$.
double factln (double n)
 Log-factorial $\ln(n!)$.
dvar_vector factln (const dvar_vector &n)
 Log-factorial of an array.
dvector factln (const dvector &n)
 Log-factorial of an array.
void * farptr_norm (void *)
long int farptr_tolong (void *)
dmatrix fillout (const lower_triangular_dmatrix &M)
 Description not yet available.
dmatrix fillout_trans (const lower_triangular_dmatrix &M)
 Description not yet available.
void fmin (double f, const independent_variables &x, const dvector &g, const int &n, const dvector &w, const dvector &h, const fmm_control &fmc)
void fmmdisp (const dvector &x, const dvector &g, const int &nvar, int scroll_flag, int noprintx=0)
 Description not yet available.
void fmmdisp (const double *x, const double *g, const int &nvar, int scroll_flag, int noprintx=0)
 Description not yet available.
double fourth (double x)
 Fourth power of a number; constant objects.
double gamma_density (double _x, double r, double mu)
 Gamma probability density function; constant objects.
dvariable gamma_density (const prevariable &_x, double r, double mu)
 Gamma probability density function; variable objects.
dvariable gamma_density (const dvariable &_x, const dvariable &_r, const dvariable &_mu)
 Gamma probability density function; variable objects.
double gamma_deviate (double _x, double _a)
dvariable gamma_deviate (const prevariable &_x, const prevariable &_a)
dvar_vector gammln (const dvar_vector &n)
 Log-Gamma of an array.
dvector gammln (const dvector &n)
 Log-Gamma of an array.
double gammln (double xx)
 Log gamma function.
dvariable gammln (const prevariable &xx)
double gasdev (const random_number_generator &_rng)
 Description not yet available.
void gauss_hermite (const dvector &_x, const dvector &_w)
 Gauss-Hermite quadature.
void gauss_legendre (double x1, double x2, const dvector &_x, const dvector &_w)
 Gauss-Legendre quadature.
void gauss_legendre (const dvector &_x, const dvector &_w)
 Gauss-Legendre quadature.
dvector get_eigen_values (const dvector &_d, const dvector &_e)
 Eigenvalues.
dvar_vector get_eigen_values (const dvar_vector &_d, const dvar_vector &_e)
 Eigenvalues and eigenvectors.
dvector get_eigen_values (const dvector &_d, const dvector &_e, const dmatrix &_z)
 Eigenvalues and eigenvectors.
adstring get_string_marker (void)
 Description not yet available.
double ghk (const dvector &lower, const dvector &upper, const dmatrix &Sigma, const dmatrix &eps)
 Description not yet available.
double ghk (const dvector &lower, const dvector &upper, const dmatrix &Sigma, const dmatrix &eps, int i)
 Description not yet available.
dvariable ghk (const dvar_vector &lower, const dvar_vector &upper, const dvar_matrix &Sigma, const dmatrix &eps)
 Description not yet available.
dvariable ghk (const dvar_vector &lower, const dvar_vector &upper, const dvar_matrix &Sigma, const dmatrix &eps, int i)
 Description not yet available.
double ghk_choleski (const dvector &lower, const dvector &upper, const dmatrix &ch, const dmatrix &eps)
dvariable ghk_choleski_m (const dvar_vector &upper, const dvar_matrix &ch, const dmatrix &eps)
 Description not yet available.
dvariable ghk_choleski_m_cauchy (const dvar_vector &upper, const dvar_matrix &ch, const dmatrix &eps)
 Description not yet available.
dvariable ghk_choleski_m_logistic (const dvar_vector &upper, const dvar_matrix &ch, const dmatrix &eps)
 Description not yet available.
void grad_chk (void)
 Description not yet available.
void gradcalc (int nvar, const dvector &g)
 Compute the gradient from the data stored in the global gradient_structure.
double gradcalc (int nvar, const dvector &g, dvariable &f)
 Compute the gradient from the data stored in the global gradient_structure.
void gradfree (dlink *)
 Description not yet available.
ivector histogram (double min, double max, int nbin, const dvector &input)
 Description not yet available.
dmatrix identity_matrix (int min, int max)
 Create a Identity matrix.
void insert_identifier_string (const char *s)
 Description not yet available.
dvariable inv (const prevariable &x)
dmatrix inv (const dmatrix &m1, const double &_ln_det, const int &_sgn)
 Inverse of a constant matrix by LU decomposition.
double inv_cumd_beta_stable (double a, double b, double y, double eps=1.e-7)
dvariable inv_cumd_beta_stable (const prevariable &_a, const prevariable &_b, const prevariable &_y, double eps=1.e-7)
double inv_cumd_cauchy (const double &x)
 Description not yet available.
dvariable inv_cumd_cauchy (const prevariable &x)
 Description not yet available.
dvariable inv_cumd_exponential (const prevariable &y)
 Description not yet available.
double inv_cumd_exponential (double y)
 Description not yet available.
dvariable inv_cumd_gamma (const prevariable &_y, const prevariable &_a)
double inv_cumd_gamma (double _y, double _a)
double inv_cumd_logistic (const double &x)
 Description not yet available.
dvariable inv_cumd_logistic (const prevariable &x)
 Description not yet available.
double inv_cumd_norm (const double &x)
 Description not yet available.
dvariable inv_cumd_norm (const prevariable &x)
 Description not yet available.
dvar_vector inv_cumd_norm (const dvar_vector &x)
 Description not yet available.
dvariable inv_cumd_norm_logistic (const prevariable &x, double)
 Description not yet available.
double inv_cumd_norm_logistic (double x, double)
 Description not yet available.
dvariable inv_cumd_normal_logistic_mixture (const prevariable &_x, double _a)
double inv_cumd_normal_logistic_mixture (double _x, double _a)
 Description not yet available.
dvariable inv_cumd_normal_mixture (const prevariable &_x, double _a)
 Description not yet available.
double inv_cumd_normal_mixture (double _x, double _a)
 Description not yet available.
dvector inv_cumd_pareto (const dvector &_y, double alpha, double xm)
dvar_vector inv_cumd_pareto (const dvar_vector &_y, const prevariable &alpha, const prevariable &xm)
dvariable inv_cumd_pareto (const prevariable &_y, const prevariable &alpha, const prevariable &xm)
double inv_cumd_pareto (double _y, double alpha, double xm)
double inv_cumd_t (double n, double y, double eps=1.e-7)
 Description not yet available.
dvariable inv_cumd_t (const prevariable &n, const prevariable &y, double eps=1.e-7)
 Description not yet available.
dvector inv_cumd_upper_trunc_pareto (const dvector &_y, double alpha, double xmin, double xmax)
dvar_vector inv_cumd_upper_trunc_pareto (const dvar_vector &_y, const prevariable &alpha, const prevariable &xmin, const prevariable &xmax)
double inv_cumd_upper_trunc_pareto (double _y, double alpha, double xmin, double xmax)
void jacobcalc (int nvar, const dmatrix &g)
 Description not yet available.
void jacobcalc (int nvar, const ofstream &ofs)
 Description not yet available.
void jacobcalc (int nvar, const uostream &ofs)
 Description not yet available.
dvariable kludge_cumd_cauchy (const prevariable &x)
 Description not yet available.
dvariable ln_det (const dvar_matrix &)
double ln_det (const dcompressed_triplet &)
double ln_det (const dcompressed_triplet &, const hs_symbolic &)
double ln_det (const dcompressed_triplet &, int &ierr)
dvariable ln_det (const dvar_compressed_triplet &, int &ierr)
dvariable ln_det (dvar_compressed_triplet &, hs_symbolic &, laplace_approximation_calculator *)
dvariable ln_det (dvar_compressed_triplet &)
dvariable ln_det (dvar_compressed_triplet &, hs_symbolic &)
dvariable ln_det (dvar_compressed_triplet &, hs_symbolic &, dcompressed_triplet &)
dvariable ln_det_choleski (const banded_symmetric_dvar_matrix &S, const int &ierr)
 Description not yet available.
double ln_det_choleski (const banded_symmetric_dmatrix &S, const int &ierr)
dvariable ln_det_choleski (const dvar_matrix &M)
 Description not yet available.
dvariable ln_det_choleski_error (const dvar_matrix &, int &ierr)
 Description not yet available.
dvar_vector ln_pareto_density (const dvar_vector &_y, const prevariable &alpha, const prevariable &xm)
dvariable ln_pareto_density (const prevariable &_y, const prevariable &alpha, const prevariable &xm)
dvar_vector ln_pareto_upper_trunc_density (const dvar_vector &y, const prevariable &alpha, const prevariable &xmin, const prevariable &xmax)
dvar_vector ln_upper_trunc_pareto_density (const dvar_vector &_y, const prevariable &alpha, const prevariable &xm)
dvariable ln_upper_trunc_pareto_density (const prevariable &_y, const prevariable &alpha, const prevariable &xmin, const prevariable &xmax)
dvector log (const dvector &t1)
 Description not yet available.
dvar_vector log (const dvar_vector &t1)
 Description not yet available.
dmatrix log (const dmatrix &m)
 Description not yet available.
dvar_matrix log (const dvar_matrix &m)
 Description not yet available.
d3_array log (const d3_array &m)
 Description not yet available.
dvar3_array log (const dvar3_array &m)
 Description not yet available.
d4_array log (const d4_array &x)
 Description not yet available.
dvar4_array log (const dvar4_array &x)
 Description not yet available.
d5_array log (const d5_array &x)
dvar5_array log (const dvar5_array &x)
 Description not yet available.
dvector log10 (const dvector &t1)
 Description not yet available.
dvar_vector log10 (const dvar_vector &t1)
 Description not yet available.
dvar_vector log_comb (const dvar_vector &n, const dvector &k)
 Log-binomial of two arrays.
dvariable log_comb (double n, const dvariable &k)
 Log of the binomial coefficent i.e log of 'n choose k'.
dvar_vector log_comb (const dvar_vector &n, const dvar_vector &k)
 Log-binomial of two arrays.
dvar_vector log_comb (const dvector &n, const dvar_vector &k)
 Log-binomial of a number with an arrays.
dvar_vector log_comb (double n, const dvar_vector &k)
 Log-binomial of a number with an arrays.
dvar_vector log_comb (const dvariable &n, const dvector &k)
 Log-binomial of a number with an arrays.
dvar_vector log_comb (const dvariable &n, const dvar_vector &k)
 Log-binomial of a number with an arrays.
dvariable log_comb (const dvariable &n, double k)
 Log of the binomial coefficent i.e log of 'n choose k'.
dvariable log_comb (const dvariable &n, const dvariable &k)
 Log of the binomial coefficent i.e log of 'n choose k'.
dvector log_comb (const dvector &n, const dvector &k)
 Log-binomial of two arrays.
dvector log_comb (double n, const dvector &k)
 Log-binomial of a number with an arrays.
double log_comb (double n, double k)
 Log of the binomial coefficent; i.e log of 'n choose k'.
double log_density_cauchy (const double &x)
 Description not yet available.
double log_density_negbinomial (double x, double mu, double tau)
 Log negative bionomial density; constant objects.
dvariable log_density_poisson (double x, const prevariable &mu)
 Log Poisson density; variable objects.
double log_density_poisson (double x, double mu)
 Log Poisson density; constant objects.
dvariable log_der_logistic (double a, double b, const prevariable &x)
 Description not yet available.
double log_gamma_density (double _x, double r, double mu)
 Log gamma probability density function; constant objects.
dvariable log_gamma_density (const prevariable &_x, double r, double mu)
 Log gamma probability density function; variable objects.
dvariable log_gamma_density (const dvariable &_x, const dvariable &_r, const dvariable &_mu)
 Log gamma probability density function; variable objects.
double log_negbinomial_density (double x, double mu, double tau)
dvariable log_negbinomial_density (double x, const prevariable &mu, const prevariable &tau)
 Log negative bionomial density; variable objects.
double logistic (double a, double b, const double &x)
dvariable logistic (double a, double b, const prevariable &x)
 Description not yet available.
dvector lower_triagnular_solve_trans (const dmatrix &M, const dvector &y)
dvector lower_triagular_solve (const dmatrix &m, const dvector &v)
lower_triangular_dmatrix lower_triangular_choleski_decomp_positive (const dmatrix &MM, const int &_ierr)
 Description not yet available.
double lower_triangular_ln_det (const dmatrix &m)
double lower_triangular_ln_det (const dmatrix &m, int &sgn)
dvariable lower_triangular_ln_det (const dvar_matrix &m)
 Description not yet available.
dvariable lower_triangular_ln_det (const dvar_matrix &m, int &sgn)
 Description not yet available.
dvector lower_triangular_solve (const dmatrix &M, const dvector &v)
 Description not yet available.
dvar_vector lower_triangular_solve (const dvar_matrix &M, const dvar_vector &v)
 Description not yet available.
void ludcmp (const dmatrix &a, const ivector &indx, const double &d)
 Lu decomposition of a constant matrix.
void ludcmp_index (const dmatrix &a, const ivector &indx, const double &d)
 LU decomposition.
dmatrix make_dmatrix (dcompressed_triplet &M)
int make_sub_directory (const char *s)
 Description not yet available.
dmatrix MAT (const dvector &, int i, int j)
 The MAT operator is the inverse of the VEC operator.
dvar_matrix MAT (const dvar_vector &, int i, int j)
 The MAT operator is the inverse of the VEC operator.
double max (const dmatrix &)
 Description not yet available.
int max (const imatrix &)
 Description not yet available.
double max (const dvector &)
 Description not yet available.
dvariable max (const dvar_vector &)
 Maximum of a dvar_vector.
int max (const ivector &t1)
 Description not yet available.
int Max (const ivector &t1)
 Description not yet available.
unsigned long max (unsigned long u, unsigned long v)
 Description not yet available.
double max (const double u, const double v)
 Description not yet available.
int max (int i, int j, int k)
 Description not yet available.
int max (int i, int j)
 Largest of two integer; constant objects.
double mean (const dvector &)
 Description not yet available.
double mean (const dmatrix &)
 Compute the mean of the matrix m.
double mean (const d3_array &)
 Description not yet available.
dvariable mean (const dvar_vector &)
 Description not yet available.
dvariable mean (const dvar_matrix &)
 Description not yet available.
dvariable mean (const dvar3_array &)
 Description not yet available.
dvariable mf_upper_bound (const prevariable &x, double M, prevariable &fpen)
 Description not yet available.
double mf_upper_bound (const double &x, double M, prevariable &fpen)
dvector mfexp (const dvector &t1)
 Safe version of exp that interpolates values greater than equal to 60 in each element of a vector v1.
dvector mfexp (const dvector &t1, double d)
 Safe version of exp that interpolates values greater than equal to 60 in each element of a vector v1.
dvar_vector mfexp (const dvar_vector &t1)
 Description not yet available.
dvar_vector mfexp (const dvar_vector &t1, double d)
 Description not yet available.
dmatrix mfexp (const dmatrix &m)
 Description not yet available.
dmatrix mfexp (const dmatrix &m, double d)
 Description not yet available.
dvar_matrix mfexp (const dvar_matrix &m)
 Description not yet available.
dvar_matrix mfexp (const dvar_matrix &m, double d)
 Description not yet available.
double mfexp (double)
 Robust exponential function for constant argument > 60 or < -60.
double mfexp (double, double bound)
 Robust exponential function for constant argument with user specified domain bound.
dvariable mfexp (const prevariable &)
 Robust exponential function for variable argument > 60 or < -60.
dvariable mfexp (const prevariable &, double bound)
 Robust exponential function for variable argument with user specified domain bound.
d3_array mfexp (const d3_array &m)
 Description not yet available.
d3_array mfexp (const d3_array &m, double d)
 Description not yet available.
dvar3_array mfexp (const dvar3_array &m)
 Description not yet available.
dvar3_array mfexp (const dvar3_array &m, double d)
 Description not yet available.
d4_array mfexp (const d4_array &x)
 Description not yet available.
dvar4_array mfexp (const dvar4_array &x)
 Description not yet available.
d5_array mfexp (const d5_array &x)
dvar5_array mfexp (const dvar5_array &x)
 Description not yet available.
double min (const dmatrix &)
 Description not yet available.
dvariable min (const dvar_vector &)
 Minimum of a dvar_vector.
int min (const ivector &t1)
 Description not yet available.
int min (int, int)
 Smallest of two integers.
unsigned long min (unsigned long u, unsigned long v)
 Description not yet available.
double min (const double u, const double v)
 Description not yet available.
void myheapcheck (char *)
 Does nothing.
double nd2fboundp (double x, double minb, double maxb, const double &pen)
 Scale input variable between upper and lower bounds and compute a penalty for exceeding the bounds.
dvar_matrix nograd_assign (const dmatrix &)
 Description not yet available.
dvariable nograd_assign (double tmp)
 Description not yet available.
dvar_vector nograd_assign (dvector tmp)
 Description not yet available.
void nograd_assign_column (const dvar_matrix &m, const dvector &v, const int &ii)
 Description not yet available.
void nograd_assign_row (const dvar_matrix &m, const dvector &v, const int &ii)
 Description not yet available.
dvar_matrix nograd_assign_trans (const dmatrix &m)
 Description not yet available.
double norm (const d3_array &)
 Description not yet available.
dvariable norm (const dvar3_array &m)
 Description not yet available.
double norm (const banded_symmetric_dmatrix &B)
dvariable norm (const banded_symmetric_dvar_matrix &B)
 Description not yet available.
double norm2 (const d3_array &)
 Description not yet available.
dvariable norm2 (const dvar3_array &m)
 Description not yet available.
double norm2 (const banded_symmetric_dmatrix &B)
dvariable norm2 (const banded_symmetric_dvar_matrix &B)
 Description not yet available.
int norm2 (const ivector &)
 Description not yet available.
dvariable norm_to_gamma (const prevariable &v, const prevariable &alpha, double bound=0.999999)
 Description not yet available.
double norm_to_gamma (double v, double alpha, double bound=0.999999)
 Description not yet available.
double normal_tail_right (const double &x)
 Description not yet available.
void normalized_gauss_hermite (const dvector &_x, const dvector &_w)
 Gauss-Hermite quadature.
int operator!= (double v0, const prevariable &v1)
 Description not yet available.
dvector operator& (const dvector &t1, const dvector &t2)
 Description not yet available.
dvar_vector operator& (const dvar_vector &t1, const dvar_vector &t2)
 Description not yet available.
dvar_vector operator* (const dvar_vector &t1, double x)
 Description not yet available.
dvar_vector operator* (const dvar_vector &t1, const prevariable &x)
 Description not yet available.
dvar_vector operator* (const dvector &t1, const prevariable &x)
 Description not yet available.
dvar_vector operator* (const prevariable &x, const dvector &t1)
 Description not yet available.
dvector operator* (const dvector &t1, double x)
 Description not yet available.
dmatrix operator* (double x, const dmatrix &m)
 Description not yet available.
dmatrix operator* (const dmatrix &m, double d)
 Description not yet available.
dvar_matrix operator* (const prevariable &x, const dmatrix &m)
 Description not yet available.
dvar_matrix operator* (const dvar_matrix &m, const prevariable &x)
 Description not yet available.
dvar_matrix operator* (const prevariable &x, const dvar_matrix &m)
 Description not yet available.
dvar_matrix operator* (double x, const dvar_matrix &m)
 Description not yet available.
dvar_matrix operator* (const dvar_matrix &t1, double x)
 Description not yet available.
imatrix operator* (const imatrix &, const imatrix &)
 Returns matrix multiplication (m1 x m2).
d3_array operator* (const d3_array &m1, const d3_array &m2)
dmatrix operator* (const d3_array &m1, const dvector &m2)
 Description not yet available.
d3_array operator* (const d3_array &m1, double m2)
 Description not yet available.
d3_array operator* (double m1, const d3_array &m2)
 Description not yet available.
dvar3_array operator* (const dvar3_array &m1, const d3_array &m2)
dvar3_array operator* (const dvar3_array &m1, const dvariable &m2)
 Description not yet available.
dvar3_array operator* (const dvariable &m1, const d3_array &m2)
 Description not yet available.
dvar3_array operator* (const dvariable &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array operator* (double m1, const dvar3_array &m2)
 Description not yet available.
dvar_vector operator+ (double x, const dvar_vector &t1)
 Description not yet available.
dvar_vector operator+ (const dvar_vector &t1, double x)
 Description not yet available.
dvar_vector operator+ (const prevariable &x, const dvar_vector &t1)
 Description not yet available.
dvar_vector operator+ (const dvar_vector &t1, const prevariable &x)
 Description not yet available.
dvector operator+ (double x, const dvector &t1)
 Description not yet available.
dvector operator+ (const dvector &t1, double x)
 Description not yet available.
dmatrix operator+ (double x, const dmatrix &m)
 Description not yet available.
dvar_matrix operator+ (const dvariable &x, const dmatrix &m)
 Description not yet available.
dmatrix operator+ (const dmatrix &m, double d)
 Description not yet available.
d3_array operator+ (const d3_array &m1, const d3_array &m2)
 Description not yet available.
d3_array operator+ (const d3_array &m1, double m2)
 Description not yet available.
d3_array operator+ (double m1, const d3_array &m2)
 Description not yet available.
dvar3_array operator+ (const dvar3_array &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array operator+ (const d3_array &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array operator+ (const dvar3_array &m1, const d3_array &m2)
 Description not yet available.
dvar3_array operator+ (const dvar3_array &m1, const dvariable &m2)
 Description not yet available.
dvar3_array operator+ (const dvariable &d1, const dvar3_array &m1)
 Description not yet available.
dvar3_array operator+ (const dvariable &m1, const d3_array &m2)
 Description not yet available.
dvar3_array operator+ (double m1, const dvar3_array &m2)
 Description not yet available.
dvar_vector operator- (double x, const dvar_vector &t1)
 Description not yet available.
dvar_vector operator- (const dvar_vector &t1, double x)
 Description not yet available.
dvar_vector operator- (const dvar_vector &t1)
 Description not yet available.
dvar_vector operator- (const prevariable &x, const dvar_vector &t1)
 Description not yet available.
dvar_vector operator- (const dvar_vector &t1, const prevariable &x)
 Description not yet available.
dvar_vector operator- (const dvector &t1, const prevariable &x)
 Description not yet available.
dvector operator- (double x, const dvector &t1)
 Description not yet available.
dvector operator- (const dvector &t1, double x)
 Description not yet available.
dvector operator- (const dvector &t1)
dvar_matrix operator- (const dvariable &x, const dmatrix &m)
 Description not yet available.
dmatrix operator- (double x, const dmatrix &m)
 Description not yet available.
dmatrix operator- (const dmatrix &m, double d)
 Description not yet available.
d3_array operator- (const d3_array &m1, const d3_array &m2)
 Description not yet available.
d3_array operator- (const d3_array &m1, double m2)
 Description not yet available.
d3_array operator- (double m1, const d3_array &m2)
 Description not yet available.
dvar3_array operator- (const dvar3_array &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array operator- (const d3_array &m1, const dvar3_array &m2)
 Description not yet available.
dvar3_array operator- (const dvar3_array &m1, const d3_array &m2)
 Description not yet available.
dvar3_array operator- (const dvar3_array &m1, const dvariable &m2)
 Description not yet available.
dvar3_array operator- (const dvariable &m1, const d3_array &m2)
 Description not yet available.
dvar3_array operator- (const dvariable &m1, const dvar3_array &m2)
dvar3_array operator- (double m1, const dvar3_array &m2)
 Description not yet available.
dmatrix operator- (const dmatrix &m)
 Description not yet available.
dvar_matrix operator- (const dvar_matrix &m)
 Description not yet available.
dvar_vector operator/ (double x, const dvar_vector &t1)
 Description not yet available.
dvar_vector operator/ (const dvar_vector &t1, double x)
 Description not yet available.
dvar_vector operator/ (const prevariable &x, const dvar_vector &t1)
 Description not yet available.
dvar_vector operator/ (const dvar_vector &t1, const prevariable &x)
 Description not yet available.
dvector operator/ (double x, const dvector &t1)
 Description not yet available.
dvector operator/ (const dvector &t1, double x)
 Description not yet available.
dmatrix operator/ (const dmatrix &m, double d)
 Description not yet available.
dmatrix operator/ (double d, const dmatrix &m)
 Description not yet available.
dvar_matrix operator/ (const dvar_matrix &m, const prevariable &x)
 Description not yet available.
dvar_matrix operator/ (const dmatrix &m, const prevariable &x)
 Description not yet available.
dvar_matrix operator/ (const dvar_matrix &m, double x)
 Description not yet available.
dvar_matrix operator/ (double x, const dvar_matrix &m)
 Description not yet available.
dvar_matrix operator/ (const prevariable &x, const dvar_matrix &m)
 Description not yet available.
d3_array operator/ (const d3_array &m1, double m2)
 Description not yet available.
d3_array operator/ (double m2, const d3_array &m1)
dvar3_array operator/ (const prevariable &m2, const dvar3_array &m1)
 Description not yet available.
dvar3_array operator/ (const prevariable &m2, const d3_array &m1)
 Description not yet available.
dvar3_array operator/ (double m2, const dvar3_array &m1)
 Description not yet available.
dvar3_array operator/ (const dvar3_array &m1, const prevariable &m2)
 Description not yet available.
dvar3_array operator/ (const d3_array &m1, const prevariable &m2)
 Description not yet available.
dvar3_array operator/ (const dvar3_array &m1, double m2)
 Description not yet available.
d4_array operator/ (const d4_array &m, double d)
 Description not yet available.
d4_array operator/ (double d, const d4_array &m)
 Description not yet available.
dvar4_array operator/ (const d4_array &m, const prevariable &d)
 Description not yet available.
dvar4_array operator/ (const dvar4_array &m, double d)
 Description not yet available.
dvar4_array operator/ (const dvar4_array &m, const prevariable &d)
 Description not yet available.
dvar5_array operator/ (const d5_array &m, const prevariable &d)
 Description not yet available.
dvar5_array operator/ (const dvar5_array &m, double d)
 Description not yet available.
dvar5_array operator/ (const dvar5_array &m, const prevariable &d)
 Description not yet available.
d5_array operator/ (const d5_array &m, double d)
 Description not yet available.
d6_array operator/ (const d6_array &m, double d)
 Description not yet available.
dvar6_array operator/ (const d6_array &m, const prevariable &d)
 Description not yet available.
dvar6_array operator/ (const dvar6_array &m, double d)
 Description not yet available.
dvar6_array operator/ (const dvar6_array &m, const prevariable &d)
 Description not yet available.
d7_array operator/ (const d7_array &m, double d)
 Description not yet available.
dvar7_array operator/ (const d7_array &m, const prevariable &d)
 Description not yet available.
dvar7_array operator/ (const dvar7_array &m, double d)
 Description not yet available.
dvar7_array operator/ (const dvar7_array &m, const prevariable &d)
 Description not yet available.
int operator< (double v0, const prevariable &v1)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const dmatrix &z)
 Description not yet available.
uostreamoperator<< (const uostream &ostr, const dmatrix &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const d3_array &z)
 Description not yet available.
uostreamoperator<< (const uostream &ostr, const d3_array &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const dvar3_array &z)
 Description not yet available.
uostreamoperator<< (const uostream &ostr, const dvar3_array &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const ivector &z)
 Insertion operator for ivector z.
uostreamoperator<< (const uostream &ostr, const ivector &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const lvector &z)
 Description not yet available.
uostreamoperator<< (const uostream &ostr, const lvector &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const dvector &z)
 Description not yet available.
uostreamoperator<< (const uostream &ostr, const dvector &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const dvar_vector &z)
 Description not yet available.
uostreamoperator<< (const uostream &ostr, const dvar_vector &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const dvar_matrix &z)
 Description not yet available.
uostreamoperator<< (const uostream &ostr, const dvar_matrix &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const prevariable &z)
 Description not yet available.
uostreamoperator<< (const uostream &ostr, const prevariable &z)
 Description not yet available.
ostream & operator<< (const ostream &, preshowpoint)
 Description not yet available.
ostream & operator<< (const ostream &, prefixed)
 Description not yet available.
ostream & operator<< (const ostream &, prescientific)
 Description not yet available.
ostream & operator<< (const ostream &istr, const imatrix &z)
 Description not yet available.
ostream & operator<< (const ostream &istr, const i3_array &z)
 Description not yet available.
prevariableoperator<< (const prevariable &v1, const prevariable &v2)
 Description not yet available.
dvar_vectoroperator<< (const dvar_vector &v1, const dvar_vector &v2)
 Description not yet available.
dvar_matrixoperator<< (const dvar_matrix &v1, const dvar_matrix &v2)
 Description not yet available.
ostream & operator<< (const ostream &s, const ptr_vector &v)
 Description not yet available.
uostreamoperator<< (const uostream &, const dfsdmat &)
 Description not yet available.
ostream & operator<< (const ostream &s, const fmm_control &fmc)
 << operator to write function minimizer details
ostream & operator<< (const ostream &, const dvar_matrix_position &)
ostream & operator<< (const ostream &ostr, const d4_array &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const d5_array &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const d6_array &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const dvar4_array &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const dvar5_array &z)
 Description not yet available.
ostream & operator<< (const ostream &ostr, const dvar6_array &z)
 Description not yet available.
ostream & operator<< (const ostream &istr, const i5_array &z)
 Description not yet available.
ostream & operator<< (const ostream &istr, const i4_array &z)
 Description not yet available.
ostream & operator<< (const ostream &ofs, const banded_symmetric_dmatrix &S)
 Description not yet available.
ostream & operator<< (const ostream &ofs, const banded_symmetric_dvar_matrix &S)
 Description not yet available.
ostream & operator<< (const ostream &ofs, const banded_lower_triangular_dmatrix &S)
 Description not yet available.
ostream & operator<< (const ostream &ofs, const banded_lower_triangular_dvar_matrix &S)
 Description not yet available.
ostream & operator<< (const ostream &, const pre_column_print &)
 Description not yet available.
ostream & operator<< (const ostream &, const pre_zero_print &)
 Description not yet available.
int operator<= (double v0, const prevariable &v1)
 Description not yet available.
int operator== (double v0, const prevariable &v1)
 Description not yet available.
int operator> (double v0, const prevariable &v1)
 Description not yet available.
int operator>= (double v0, const prevariable &v1)
 Description not yet available.
istream & operator>> (const istream &istr, const dmatrix &z)
 Description not yet available.
uistreamoperator>> (const uistream &istr, const dmatrix &z)
 Description not yet available.
istream & operator>> (const istream &istr, const d3_array &z)
 Description not yet available.
uistreamoperator>> (const uistream &istr, const d3_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const dvar3_array &z)
 Description not yet available.
uistreamoperator>> (const uistream &istr, const dvar3_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const ivector &z)
 Extraction operator for ivector _z.
uistreamoperator>> (const uistream &istr, const ivector &z)
 Description not yet available.
istream & operator>> (const istream &istr, const lvector &z)
 Description not yet available.
uistreamoperator>> (const uistream &istr, const lvector &z)
 Description not yet available.
istream & operator>> (const istream &istr, const dvector &z)
 Description not yet available.
uistreamoperator>> (const uistream &istr, const dvector &z)
 Description not yet available.
istream & operator>> (const istream &istr, const dvar_vector &z)
 Description not yet available.
uistreamoperator>> (const uistream &istr, const dvar_vector &z)
 Description not yet available.
istream & operator>> (const istream &istr, const dvar_matrix &z)
 Description not yet available.
uistreamoperator>> (const uistream &istr, const dvar_matrix &z)
 Description not yet available.
istream & operator>> (const istream &istr, const prevariable &z)
 Description not yet available.
uistreamoperator>> (const uistream &istr, const prevariable &z)
 Description not yet available.
istream & operator>> (const istream &istr, const imatrix &z)
 Description not yet available.
istream & operator>> (const istream &istr, const i3_array &z)
 Description not yet available.
istream & operator>> (const istream &s, const ptr_vector &v)
uistreamoperator>> (const uistream &, const dfsdmat &)
 Description not yet available.
istream & operator>> (const istream &istr, const d4_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const d5_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const d6_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const dvar4_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const dvar5_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const dvar6_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const i5_array &z)
 Description not yet available.
istream & operator>> (const istream &istr, const i4_array &z)
 Description not yet available.
int option_match (int argc, char *argv[], const char *string)
 Checks if the program has been invoked with a particular command line argument ("string").
int option_match (int argc, char *argv[], const char *string, const int &nopt)
 Checks if the program has been invoked with a particular command line argument ("string").
int option_match (char *s, const char *string, const int &_nopt)
 Description not yet available.
int option_match (char *s, const char *string)
 Description not yet available.
dmatrix orthpoly (int n, int deg)
 Description not yet available.
dmatrix orthpoly (int n, int deg, int skip)
 Description not yet available.
d4_array orthpoly2 (int n, int m, int d1, int d2)
 Description not yet available.
dmatrix orthpoly_constant_begin (int n, int deg, int nconst)
 Description not yet available.
dmatrix orthpoly_constant_begin_end (int n, int deg, int nconst_begin, int enddeg, int nconst_end)
 Description not yet available.
dmatrix outer_prod (const dvector &t1, const dvector &t2)
 Description not yet available.
dvar_matrix outer_prod (const dvar_vector &t1, const dvar_vector &t2)
 Description not yet available.
dvar_matrix outer_prod (const dvector &t1, const dvar_vector &t2)
 Description not yet available.
dvar_matrix outer_prod (const dvar_vector &t1, const dvector &t2)
 Description not yet available.
dvar_vector pareto_density (const dvar_vector &_y, const prevariable &alpha, const prevariable &xm)
dvariable pareto_density (const prevariable &_y, const prevariable &alpha, const prevariable &xm)
dvar_vector posfun (const dvar_vector &x, double eps, const prevariable &pen)
 Description not yet available.
dvariable posfun (const dvariable &x, const double eps, const prevariable &pen)
 Retuns a positive function of the argument $x$ and sets a penalty for $x<0$.
double posfun (const double &x, const double eps, const double &_pen)
 Retuns a positive function of the argument $x$ and sets a penalty for $x<0$.
dvariable posfun2 (const dvariable &x, const double eps, const prevariable &pen)
 Retuns a positive function of the argument $x$ and sets a penalty for $x<0$.
double posfun2 (const double &x, const double eps, const double &_pen)
 Retuns a positive function of the argument $x$ and sets a penalty for $x<0$.
dvar_matrix positive_definite_matrix (const dvar_matrix &MM, double eps, dvariable &fpen)
 Description not yet available.
dvector pow (const dvector &t1, double)
 Description not yet available.
dvector pow (const dvector &t1, int)
 Description not yet available.
dvector pow (double, const dvector &t1)
 Description not yet available.
ivector pow (const ivector &v1, int x)
 Returns integer vector with all the base elements in ivector v1 base raised to the power exponent x.
ivector pow (int x, const ivector &v1)
 Returns integer vector with base x raised with all the elements in exponent ivector x.
dvar_vector pow (const dvar_vector &, const dvar_vector &t1)
 Description not yet available.
dvar_vector pow (const dvar_vector &, const dvector &t1)
 raise v1 to the power v2.
dvar_vector pow (const dvector &, const dvar_vector &t1)
dvector pow (const dvector &, const dvector &t1)
 Description not yet available.
dvar_vector pow (const dvar_vector &t1, double)
 Description not yet available.
dvar_vector pow (const dvar_vector &t1, int)
 Description not yet available.
dvar_vector pow (const dvar_vector &t1, const prevariable &)
 Description not yet available.
dvar_vector pow (const dvector &t1, const prevariable &)
 Description not yet available.
dvar_vector pow (const prevariable &, const dvar_vector &t1)
 Description not yet available.
dmatrix pow (const dmatrix &m, double e)
 Description not yet available.
dmatrix pow (const dmatrix &m, int e)
 Description not yet available.
dvar_matrix pow (const dvar_matrix &m, double e)
 Description not yet available.
dvar_matrix pow (const dvar_matrix &m, const prevariable &e)
 Description not yet available.
dvar_matrix pow (const dmatrix &m, const prevariable &e)
 Description not yet available.
dvar_matrix pow (const dvar_matrix &m, int e)
 Description not yet available.
d3_array pow (const d3_array &x, int e)
 Description not yet available.
dvar3_array pow (const dvar3_array &x, int e)
 Description not yet available.
double randn (const random_number_generator &rng)
 Normal number generator.
double randnegbinomial (double mu, double tau, const random_number_generator &rng)
 Description not yet available.
double randpoisson (double lambda, const random_number_generator &rng)
 Poisson random deviates.
double randu (const random_number_generator &rng)
 Uniform random number generator.
dvariable regression (const dvector &obs, const dvar_vector &pred)
 Description not yet available.
double regression (const dvector &obs, const dvector &pred)
 Description not yet available.
void report_gradstack_flag (void)
 Description not yet available.
void reset_gradient_stack (void)
 Rewind buffer.
long int reset_gs_stack (void)
void reset_gs_stack (long int)
void * restore_ad_pointer (void)
 Description not yet available.
banded_lower_triangular_dmatrix restore_banded_lower_triangular_dvar_matrix_derivatives (const dvar_matrix_position &pos)
 Description not yet available.
banded_lower_triangular_dmatrix restore_banded_lower_triangular_dvar_matrix_value (const dvar_matrix_position &pos)
 Description not yet available.
banded_symmetric_dmatrix restore_banded_symmetric_dvar_matrix_value (const dvar_matrix_position &mpos)
 Description not yet available.
banded_symmetric_dmatrix restore_bounded_symmetric_dvar_matrix_derivatives (const dvar_matrix_position &pos)
 Description not yet available.
d3_array_position restore_d3_array_position (void)
 Description not yet available.
d3_array restore_d3_array_value (const d3_array_position &)
 Description not yet available.
dmatrix_position restore_dmatrix_position (void)
 Description not yet available.
dmatrix restore_dmatrix_value (const dmatrix_position &)
 Description not yet available.
double restore_double_value (void)
 Description not yet available.
dmatrix restore_dvar_matrix_der_nozero (const dvar_matrix_position &pos)
 Description not yet available.
dvector restore_dvar_matrix_derivative_column (const dvar_matrix_position &pos, const int &ii)
 Description not yet available.
dvector restore_dvar_matrix_derivative_row (const dvar_matrix_position &pos, const int &ii)
 Description not yet available.
dmatrix restore_dvar_matrix_derivatives (const dvar_matrix_position &pos)
 Description not yet available.
dmatrix restore_dvar_matrix_derivatives (void)
dvector restore_dvar_matrix_derivatives (const dvar_matrix_position &pos, const int &ii)
dvar_matrix_position restore_dvar_matrix_position (void)
 Description not yet available.
dmatrix restore_dvar_matrix_value (const dvar_matrix_position &mpos)
 Description not yet available.
dvector restore_dvar_vector_der_nozero (const dvar_vector_position &tmp)
 Description not yet available.
dvector restore_dvar_vector_derivatives (void)
dvector restore_dvar_vector_derivatives (const dvar_vector_position &tmp)
 Description not yet available.
dvar_vector_position restore_dvar_vector_position (void)
 Description not yet available.
dvector restore_dvar_vector_value (const dvar_vector_position &tmp)
 Restores the size, address, and value information for a dvar_vector.
dvector_position restore_dvector_position (void)
 Description not yet available.
dvector restore_dvector_value (const dvector_position &)
 Restores the size, address, and value information for a dvector.
int restore_int_value (void)
 Description not yet available.
ivector_position restore_ivector_position (void)
 Description not yet available.
ivector restore_ivector_value (const ivector_position &)
 Description not yet available.
lmatrix_position restore_lmatrix_position (void)
lmatrix restore_lmatrix_value (const lmatrix_position &)
void * restore_pointer_value (void)
 Description not yet available.
double restore_prevariable_derivative (const prevariable_position &pre)
 Description not yet available.
double restore_prevariable_derivative (void)
 Description not yet available.
prevariable_position restore_prevariable_position (void)
 Description not yet available.
double restore_prevariable_value (void)
 Description not yet available.
void RETURN_ARRAYS_DECREMENT (void)
 Decrements gradient_structure::RETURN_ARRAYS_PTR.
void RETURN_ARRAYS_INCREMENT (void)
 Increments gradient_structure::RETURN_ARRAYS_PTR.
hs_smatrix * return_choleski_decomp (dcompressed_triplet &st)
dvar_hs_smatrix * return_choleski_decomp (dvar_compressed_triplet &st)
dvector return_choleski_decomp_solve (dcompressed_triplet &dct, dvector &eps)
dvector return_choleski_factor_solve (hs_smatrix *PL, dvector &eps)
dvar_vector return_choleski_factor_solve (dvar_hs_smatrix *PL, dvector &eps)
double robust_normal_logistic_mixture_deviate (double x, double spread=3.0)
 Description not yet available.
double robust_normal_mixture_deviate (double x, double spread=3.0)
 Description not yet available.
dvariable robust_normal_mixture_deviate (const prevariable &x, double spread=3.0)
 Description not yet available.
dvariable robust_regression (const dvector &obs, const dvar_vector &pred, double a=0.7)
 Description not yet available.
dvariable robust_regression (const dvector &obs, const dvar_vector &pred, const dvariable &cutoff)
 Description not yet available.
dvariable robust_regression_fixed (const dvector &obs, const dvar_vector &pred, double a=0.7)
dvector row (const dmatrix &m, int j)
 Description not yet available.
dvar_vector row (const dvar_matrix &m, int j)
 Description not yet available.
dmatrix row_vector (const dvector &)
 Description not yet available.
dvar_matrix row_vector (const dvar_vector &)
 Description not yet available.
dvar_vector rowsum (const dvar_matrix &)
 Description not yet available.
dvector rowsum (const dmatrix &)
 Description not yet available.
ivector rowsum (const imatrix &)
 Description not yet available.
void save_ad_pointer (void *)
 Description not yet available.
void save_dmatrix_derivatives (const dvar_matrix_position &pos, double x, const int &i, int &j)
 Description not yet available.
void save_double_derivative (double x, const prevariable_position &pos)
 Description not yet available.
void save_double_value (double x)
 Description not yet available.
int save_identifier_string (const char *)
 Writes a gradient stack verification string.
void save_int_value (int x)
 Description not yet available.
void save_pointer_value (void *ptr)
 Description not yet available.
void send_dv3_to_master (const dvar3_array &v)
void set_gradstack_flag (char *str, int i, int j)
 Description not yet available.
void set_gradstack_flag (char *str)
 Description not yet available.
void set_value (const dvar_matrix &x, const dvar_vector &v, const int &_ii, double s)
 Description not yet available.
void set_value (const dvar_matrix &x, const dvar_vector &v, const int &ii, double fmin, double fmax, const dvariable &fpen, double s)
 Description not yet available.
void set_value (const dvar_vector &x, const dvar_vector &v, const int &_ii, double s)
 Description not yet available.
void set_value (const dvar_vector &_x, const dvar_vector &v, const int &_ii, double fmin, double fmax, const dvariable &fpen, double s)
 Description not yet available.
void set_value (const prevariable &x, const dvar_vector &v, const int &ii)
 Description not yet available.
void set_value (const prevariable &x, const dvar_vector &v, const int &ii, double s)
 Description not yet available.
void set_value (const dvar_vector &x, const dvar_vector &v, const int &ii)
 Description not yet available.
void set_value (const prevariable &_x, const dvar_vector &v, const int &_ii, double fmin, double fmax, const dvariable &fpen, double s)
 Description not yet available.
void set_value (const prevariable &x, const dvar_vector &v, const int &ii, double fmin, double fmax, const dvariable &fpen)
 Description not yet available.
void set_value (const dvar_vector &x, const dvar_vector &v, const int &ii, double fmin, double fmax, const dvariable &fpen)
 Description not yet available.
void set_value (const dvar_matrix &x, const dvar_vector &v, const int &ii)
 Description not yet available.
void set_value (const dvar_matrix &x, const dvar_vector &v, const int &ii, double fmin, double fmax, const dvariable &fpen)
 Description not yet available.
void set_value (dvar3_array &x, const dvar_vector &v, const int &ii)
 Description not yet available.
void set_value (dvar3_array &x, const dvar_vector &v, const int &ii, double fmin, double fmax, const dvariable &fpen)
 Description not yet available.
void set_value_exp (const prevariable &_x, const dvar_vector &v, const int &_ii, double fmin, double fmax, const dvariable &fpen, double s)
void set_value_inv (const dvar_matrix &x, const dvector &v, const int &ii, double s)
 Description not yet available.
void set_value_inv (const dvar_matrix &x, const dvector &v, const int &ii, double fmin, double fmax, double s)
 Description not yet available.
void set_value_inv (const dvar_vector &x, const dvector &_v, const int &_ii, double s)
 Description not yet available.
void set_value_inv (const dvar_vector &x, const dvector &_v, const int &_ii, double fmin, double fmax, double s)
 Description not yet available.
void set_value_inv (const dvar_matrix &x, const dvector &v, const int &ii)
 Description not yet available.
void set_value_inv (const prevariable &x, const dvector &v, const int &ii, double s)
 Description not yet available.
void set_value_inv (const prevariable &x, const dvector &v, const int &ii)
 Description not yet available.
void set_value_inv (const dvar_matrix &u, const dvector &x, const int &ii, double fmin, double fmax)
 Description not yet available.
void set_value_inv (const dvar3_array &u, const dvector &x, const int &ii, double fmin, double fmax)
 Description not yet available.
void set_value_inv (const dvar3_array &u, const dvector &x, const int &ii)
 Description not yet available.
void set_value_inv (double x, const dvector &v, const int &ii)
 Description not yet available.
void set_value_inv (const prevariable &x, const dvector &_v, const int &_ii, double fmin, double fmax, double s)
 Description not yet available.
void set_value_inv (const prevariable &u, const dvector &x, const int &ii, double fmin, double fmax)
 Description not yet available.
void set_value_inv (double u, const dvector &x, const int &ii, double fmin, double fmax)
 Description not yet available.
void set_value_inv (const dvector &x, const dvector &v, const int &ii)
 Description not yet available.
void set_value_inv (const dvar_vector &x, const dvector &v, const int &ii)
 Description not yet available.
void set_value_inv (const dvar_vector &x, const dvector &v, const int &ii, double fmin, double fmax)
 Description not yet available.
void set_value_inv (const dvector &x, const dvector &v, const int &ii, double fmin, double fmax)
 Description not yet available.
void set_value_inv (const dmatrix &x, const dvector &v, const int &ii)
 Description not yet available.
void set_value_inv (const dmatrix &x, const dvector &v, const int &ii, double fmin, double fmax)
 Description not yet available.
void set_value_inv (const d3_array &x, const dvector &v, const int &ii)
 Description not yet available.
void set_value_inv (const d3_array &x, const dvector &v, const int &ii, double fmin, double fmax)
 Description not yet available.
void set_value_inv_exp (const prevariable &x, const dvector &_v, const int &_ii, double fmin, double fmax, double s)
void set_value_inv_partial (const dvector &x, const dvector &v, const int &ii, int n)
 Description not yet available.
void set_value_inv_partial (const dvector &x, const dvector &v, const int &ii, int n, double fmin, double fmax)
 Description not yet available.
void set_value_inv_partial (const dmatrix &x, const dvector &v, const int &ii, int n)
void set_value_inv_partial (const dvar_matrix &x, const dvector &v, const int &ii, int n)
 Description not yet available.
void set_value_inv_partial (const d3_array &x, const dvector &v, const int &ii, int n)
void set_value_inv_partial (const dvar_vector &x, const dvector &v, const int &ii, int n)
 Description not yet available.
void set_value_inv_partial (const dvar_vector &x, const dvector &v, const int &ii, int n, double fmin, double fmax)
 Description not yet available.
void set_value_partial (const dvar_vector &x, const dvar_vector &v, const int &ii, int n)
 Description not yet available.
void set_value_partial (const dvar_vector &x, const dvar_vector &v, const int &ii, int n, double fmin, double fmax, const dvariable &fpen)
 Description not yet available.
void set_value_partial (const dvar_matrix &x, const dvar_vector &v, const int &ii, int n)
 Description not yet available.
void set_value_partial (dvar3_array &x, const dvar_vector &v, const int &ii, int n)
ostream & setfixed (const ostream &s)
prefixed setfixed (void)
 Description not yet available.
ostream & setscientific (const ostream &s)
prescientific setscientific (void)
 Description not yet available.
preshowpoint setshowpoint (void)
 Description not yet available.
double sfabs (double t1)
 Description not yet available.
dvector sfabs (const dvector &t1)
 Description not yet available.
double sgamma (double a, const random_number_generator &_rng)
 Description not yet available.
ivector sgn (const dvector &)
 Description not yet available.
ivector sgn (const dvar_vector &)
 Description not yet available.
double sigmoid (double t1)
 Description not yet available.
dvector sin (const dvector &t1)
 Description not yet available.
dvar_vector sin (const dvar_vector &t1)
 Description not yet available.
dmatrix sin (const dmatrix &m)
 Description not yet available.
dvar_matrix sin (const dvar_matrix &m)
 Description not yet available.
d3_array sin (const d3_array &m)
 Description not yet available.
dvar3_array sin (const dvar3_array &m)
 Description not yet available.
sing_val_decomp singval_decomp (const dmatrix &_a)
 Singular value decomposition.
dvector sinh (const dvector &t1)
 Description not yet available.
dvar_vector sinh (const dvar_vector &t1)
 Description not yet available.
int size_count (const dvar_vector &x)
 Description not yet available.
int size_count (const dvar_matrix &x)
 Description not yet available.
int size_count (const dvar3_array &x)
 Description not yet available.
int size_count (const dvar4_array &x)
 Description not yet available.
int size_count (const dvector &x)
 Description not yet available.
int size_count (const dmatrix &x)
 Description not yet available.
int size_count (const d3_array &x)
 Description not yet available.
int size_count (const d4_array &x)
 Description not yet available.
int size_count_partial (const dvar_vector &x, int)
 Description not yet available.
int size_count_partial (const dvar_matrix &x, int)
 Description not yet available.
int size_count_partial (const dvar3_array &x, int)
 Description not yet available.
int size_count_partial (const dvector &x, int)
 Description not yet available.
int size_count_partial (const dmatrix &x, int)
 Description not yet available.
int size_count_partial (const d3_array &x, int)
 Description not yet available.
void slave_gradcalc (void)
int smbfct_ (int *neqns, ivector &xadj, ivector &adjncy, ivector &perm, ivector &invp, ivector &xlnz, int *maxlnz, ivector &xnzsub, ivector &nzsub, int *maxsub, ivector &rchlnk, ivector &mrglnk, ivector &marker, int *flag__)
dvar_vector solve (const dvar_matrix &aa, const dvar_vector &z)
 Solve a linear system using LU decomposition.
dvar_vector solve (const dvar_matrix &aa, const dvar_vector &z, prevariable &ln_unsigned_det, const prevariable &sign)
 Solve a linear sysgem using LU decomposition.
dvector solve (const dmatrix &aa, const dvector &z)
 Solve a linear system using LU decomposition.
dvector solve (const dmatrix &aa, const dvector &z, const double &ln_unsigned_det, double &sign)
 Solve a linear system using LU decomposition.
dvar_matrix solve (const dvar_matrix &aa, const dvar_matrix &zz)
dmatrix solve (const banded_symmetric_dmatrix &m, const dmatrix &M)
 Description not yet available.
dmatrix solve (const dmatrix &m, const dmatrix &M)
 /param aa /param tz
dvector solve (const banded_symmetric_dmatrix &m, const dvector &v)
 Description not yet available.
dvar_vector solve (const banded_lower_triangular_dvar_matrix &m, const dvar_vector &v)
 Description not yet available.
dvector solve (const banded_lower_triangular_dmatrix &m, const dvector &v)
 Description not yet available.
dvector solve (const lower_triangular_dmatrix &M, const dvector &v)
 Description not yet available.
dvector solve (const dcompressed_triplet &, const dmatrix &, const dvector &)
dvector solve (const dcompressed_triplet &, const dvector &, const hs_symbolic &, int &ierr)
dvector solve (const dcompressed_triplet &, const dvector &, const hs_symbolic &)
dvector solve (const dcompressed_triplet &, const dmatrix &, const dvector &, const hs_symbolic &)
dvector solve_trans (const banded_lower_triangular_dmatrix &m, const dvector &v)
 Description not yet available.
dvector solve_trans (const lower_triangular_dmatrix &M, const dvector &v)
 Description not yet available.
dvar_vector solve_trans (const banded_lower_triangular_dvar_matrix &M, const dvector &y)
 Description not yet available.
dvar_vector sort (const dvar_vector &, int NSTACK=60)
dvector sort (const dvector &, int NSTACK=60)
 Quicksort.
ivector sort (const ivector &, int NSTACK=60)
 Quicksort.
dvector sort (const dvector &, const ivector &index, int NSTACK=60)
 Quicksort.
ivector sort (const ivector &, const ivector &index, int NSTACK=60)
 Quicksort.
dmatrix sort (const dmatrix &, int column, int NSTACK=60)
 Description not yet available.
imatrix sort (const imatrix &, int column, int NSTACK=60)
 Description not yet available.
void spdll_exit (int)
dvector sqr (const dvector &t1)
 Description not yet available.
dvar_vector sqr (const dvar_vector &t1)
 Description not yet available.
dmatrix sqr (const dmatrix &m)
 Description not yet available.
dvar_matrix sqr (const dvar_matrix &m)
 Description not yet available.
d3_array sqr (const d3_array &m)
 Description not yet available.
dvar3_array sqr (const dvar3_array &m)
 Description not yet available.
dvector sqrt (const dvector &t1)
 Description not yet available.
dvar_vector sqrt (const dvar_vector &t1)
 Description not yet available.
dmatrix sqrt (const dmatrix &m)
 Description not yet available.
dvar_matrix sqrt (const dvar_matrix &m)
 Description not yet available.
d3_array sqrt (const d3_array &m)
 Description not yet available.
dvar3_array sqrt (const dvar3_array &m)
 Description not yet available.
d4_array sqrt (const d4_array &x)
 Description not yet available.
dvar4_array sqrt (const dvar4_array &x)
 Description not yet available.
d5_array sqrt (const d5_array &x)
dvar5_array sqrt (const dvar5_array &x)
 Description not yet available.
ivector square (const ivector &x)
double square (double x)
 Square of a number; constant object.
dvector square (const dvector &x)
 Square of elements in a vector; constant vector object.
dmatrix square (const dmatrix &x)
 Square of a elements in a matrix; constant matrix object.
d3_array square (const d3_array &x)
 Square of elements in a 3-dimensional array; constant 3-dimensionsal array.
dvariablesquare (const prevariable &x)
 Description not yet available.
dvar_vector square (const dvar_vector &x)
 Description not yet available.
dvar_matrix square (const dvar_matrix &x)
 Description not yet available.
dvar3_array square (const dvar3_array &x)
 Description not yet available.
double std_dev (const dvector &)
 Description not yet available.
dvariable std_dev (const dvar_vector &)
 Description not yet available.
int sub_unallocated (const dvar_vector &m)
 Description not yet available.
int sub_unallocated (const dvar_matrix &m)
 Description not yet available.
int sub_unallocated (const dvar3_array &m)
 Description not yet available.
int sub_unallocated (const dvar4_array &m)
 Description not yet available.
int sub_unallocated (const dvar5_array &m)
 Description not yet available.
int sub_unallocated (const dvector &m)
 Description not yet available.
int sub_unallocated (const dmatrix &m)
 Description not yet available.
int sub_unallocated (const d3_array &m)
 Description not yet available.
int sub_unallocated (const d4_array &m)
 Description not yet available.
int sub_unallocated (const d5_array &m)
 Description not yet available.
int sub_unallocated (const ivector &m)
 Description not yet available.
int sub_unallocated (const imatrix &m)
 Description not yet available.
int sub_unallocated (const i3_array &m)
 Description not yet available.
int sub_unallocated (const i4_array &m)
 Description not yet available.
AD_LONG_INT sum (const lvector &)
dvariable sum (const dvar_vector &)
 Compute the sum of a variable type vector.
double sum (const dvector &)
 Description not yet available.
int sum (const ivector &)
 Return integer sum of all the elements in ivector v.
int sum (const imatrix &)
 Description not yet available.
double sum (const dmatrix &)
 Description not yet available.
double sum (const d3_array &)
 Description not yet available.
double sum (const d4_array &)
 Description not yet available.
double sum (const d5_array &)
 Description not yet available.
double sum (const d6_array &)
 Description not yet available.
double sum (const d7_array &)
 Description not yet available.
dvariable sum (const dvar_matrix &)
 Compute the sum of a variable type matrix.
dvariable sum (const dvar3_array &)
 Description not yet available.
dvariable sum (const dvar4_array &)
 Description not yet available.
dvariable sum (const dvar5_array &)
 Description not yet available.
dvariable sum (const dvar6_array &)
 Description not yet available.
dvariable sum (const dvar7_array &)
 Description not yet available.
double sumsq (const d3_array &)
dvariable sumsq (const dvar3_array &m)
double sumsq (const banded_symmetric_dmatrix &B)
dvariable sumsq (const banded_symmetric_dvar_matrix &B)
int sumsq (const ivector &v)
dmatrix symmetrize (const dmatrix &m1)
 Description not yet available.
dvar_matrix symmetrize (const dvar_matrix &m1)
 Description not yet available.
dmatrix symmetrize (const lower_triangular_dmatrix &M)
 Description not yet available.
dvector tan (const dvector &t1)
 Description not yet available.
dvar_vector tan (const dvar_vector &t1)
 Description not yet available.
dmatrix tan (const dmatrix &m)
 Description not yet available.
dvar_matrix tan (const dvar_matrix &m)
 Description not yet available.
d3_array tan (const d3_array &m)
 Description not yet available.
dvar3_array tan (const dvar3_array &m)
 Description not yet available.
dvector tanh (const dvector &t1)
 Description not yet available.
dvar_vector tanh (const dvar_vector &t1)
 Description not yet available.
dvar_matrix tensor_prod (const dvar_matrix &a, const dvar_matrix &b)
 The tensor product of two dvar_matrixes.
void test_the_pointer (void)
void tracing_message (int traceflag, const char *s)
 Description not yet available.
void tracing_message (int traceflag, const char *s, int *pn)
 Description not yet available.
void tracing_message (int traceflag, const char *s, double *pd)
 Description not yet available.
void tracing_message (int traceflag, const char *s, double d)
 Description not yet available.
dmatrix trans (const dmatrix &m1)
 Transpose of a matrix; constant objects.
imatrix trans (const imatrix &m1)
 Description not yet available.
dvar_matrix use_shape (const dvar_matrix &m)
 Description not yet available.
dmatrix use_shape (const dmatrix &m)
 Description not yet available.
double & value (const prevariable &v1)
dmatrix value (const dvar_matrix &m)
 Description not yet available.
d3_array value (const dvar3_array &a)
 Description not yet available.
banded_symmetric_dmatrix value (const banded_symmetric_dvar_matrix &v)
 Description not yet available.
double var (const dvector &)
 Description not yet available.
dvariable var (const dvar_vector &)
 Description not yet available.
dvector VEC (const dmatrix &)
 The VEC operator concatenates the columns of matrix M into a column vector.
dvar_vector VEC (const dvar_matrix &)
 The VEC operator concatenates the columns of matrix M into a column vector.
void verify_identifier_string (const char *)
 Verifies gradient stack string.
char which_library ()
 Get ADMB library mode.
pre_zero_print zero_print (const dvector &v)
 Description not yet available.

Variables

exitptr ad_exit
int ad_kill_flag
fptr ad_printf
int just_to_link_fvar1

Detailed Description

AUTODIF classes.

Class definitions for reverse mode automatic differentiation. Function prototypes for math functions. Macro definitions.

Definition in file fvar.hpp.


Define Documentation

#define __GNU__

Definition at line 127 of file fvar.hpp.

Definition at line 91 of file fvar.hpp.

Definition at line 104 of file fvar.hpp.

#define _VECTOR_SHAPE

Definition at line 451 of file fvar.hpp.

#define AD_LONG_INT   long int
#define AD_SET_DERIVATIVES1 (   depvar,
  indvar,
  df 
)
Value:

Definition at line 8546 of file fvar.hpp.

#define AD_SET_DERIVATIVES2 (   depvar,
  indvar1,
  df1,
  indvar2,
  df2 
)
Value:

Definition at line 8550 of file fvar.hpp.

#define AD_SET_DERIVATIVES3 (   depvar,
  indvar1,
  df1,
  indvar2,
  df2,
  indvar3,
  df3 
)
Value:
gradient_structure::GRAD_STACK1->set_gradient_stack(default_evaluation3ind,\
      &(value(depvar)), &(value(indvar1)),df1,&(value(indvar2)),df2, \
      &(value(indvar3)),df3);

Definition at line 8554 of file fvar.hpp.

#define AD_SET_DERIVATIVES4 (   depvar,
  indvar1,
  df1,
  indvar2,
  df2,
  indvar3,
  df3,
  indvar4,
  df4 
)
Value:
gradient_structure::GRAD_STACK1->set_gradient_stack(default_evaluation4ind,\
      &(value(depvar)), &(value(indvar1)),df1,&(value(indvar2)),df2, \
      &(value(indvar3)),df3, \
      &(value(indvar4)),df4);

Definition at line 8559 of file fvar.hpp.

#define ADJOINT_CODE (   x)    gradient_structure::GRAD_STACK1->set_gradient_stack(x);

Definition at line 8566 of file fvar.hpp.

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

Creates a shallow copy of obj that is not CONST.

Definition at line 96 of file fvar.hpp.

Referenced by nested_calls_indices::allocate(), allocated(), asin(), laplace_approximation_calculator::banded_calculations(), laplace_approximation_calculator::banded_calculations_lme(), laplace_approximation_calculator::block_diagonal_calculations(), boundp(), calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), check_shape(), choleski_decomp(), choleski_decomp_trust_bound(), colsum(), column(), df1b2vector::copy(), cos(), cs_ereach(), cs_etree(), cs_transpose(), cube(), d1F(), d2F(), d3_np_fs(), d3F(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), eigenvectors(), elem_div(), elem_prod(), exp(), fill(), first_difference(), funnel_init_bounded_df1b2vector::funnel_init_bounded_df1b2vector(), funnel_init_df1b2matrix::funnel_init_df1b2matrix(), funnel_init_df1b2variable::funnel_init_df1b2variable(), funnel_init_df1b2vector::funnel_init_df1b2vector(), gammlnguts(), gcf(), get_eigen(), get_eigen_values(), get_eigenv(), laplace_approximation_calculator::get_gradient_lme_hp(), get_hessian(), get_newton_raphson_info(), get_second_ders(), gser(), hs_symperm(), init_df1_one_variable::init_df1_one_variable(), init_df1_three_variable::init_df1_three_variable(), init_df1_two_variable::init_df1_two_variable(), init_df3_one_variable::init_df3_one_variable(), init_df3_three_variable::init_df3_three_variable(), init_df3_two_variable::init_df3_two_variable(), inv_cumd_beta_stable(), inv_cumd_normal_logistic_mixture(), inv_cumd_normal_mixture(), gradient_structure::jacobcalc(), ln_det(), log(), log_negbinomial_density(), ludcmp(), make_preliminary_hist(), mean(), memcpy(), mfexp(), norm(), norm2(), df1b2function1::operator()(), df1b2function2::operator()(), operator*(), df1b2vector::operator*=(), df1b2matrix::operator*=(), operator+(), df1b2variable::operator+=(), df1b2vector::operator+=(), df1b2matrix::operator+=(), operator-(), df1b2variable::operator-=(), df1b2vector::operator-=(), df1b2matrix::operator-=(), operator/(), df1b2vector::operator/=(), df1b2matrix::operator/=(), operator<<(), df1b2variable::operator=(), ptr_vector::operator=(), df1b2vector::operator=(), df1b2matrix::operator=(), operator>>(), positivize(), pow(), funnel_init_df1b2variable::preallocate(), quiet_choleski_decomp(), ivector::read_from(), dvector::read_from(), lvector::read_from(), initial_df1b2params::reset(), restore_value_from_vector(), rowsum(), initial_params::save_all(), param_init_vector::save_value(), param_init_bounded_vector::save_value(), param_init_number::save_value(), param_init_matrix::save_value(), df1b2_init_vector::set_index(), df1b2_init_matrix::set_index(), df1b2_init_number::set_index(), funnel_init_df1b2variable::set_value(), funnel_init_bounded_df1b2vector::set_value(), funnel_init_df1b2vector::set_value(), funnel_init_df1b2matrix::set_value(), df1b2_init_vector::set_value(), df1b2_init_matrix::set_value(), df1b2_init_number::set_value(), df1b2_init_bounded_number::set_value(), random_effects_bounded_vector_info::set_value(), re_df1b2_init_bounded_vector::set_value(), df1b2_init_bounded_dev_vector::set_value(), set_value(), set_value_mc(), param_init_vector::shared_set_value(), param_init_matrix::shared_set_value(), param_init_bounded_matrix::shared_set_value(), param_init_d3array::shared_set_value(), param_init_vector::shared_set_value_inv(), param_init_matrix::shared_set_value_inv(), param_init_bounded_matrix::shared_set_value_inv(), param_init_d3array::shared_set_value_inv(), sin(), size_count(), solve(), safe_choleski_solver::solve(), sqrt(), square(), sum(), svd(), svd_mln(), svd_nlm(), tan(), laplace_approximation_calculator::test_trust_region_method(), trans(), tri_dag(), tri_dagv(), value(), ivector::write_on(), dvector::write_on(), lvector::write_on(), df1b2_gradlist::write_pass1(), df1b2_gradlist::write_pass1_eq(), 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().

#define BEGIN_MINIMIZATION (   nvar,
  objective_function,
  ind_vars,
  gradient,
  cntrl 
)
Value:
gradient_structure gs; \
while (cntrl.ireturn >= 0) \
{ \
  cntrl.fmin(objective_function,ind_vars,gradient ); \
  if (cntrl.ireturn > 0) \
  {

Definition at line 332 of file fvar.hpp.

#define END_MINIMIZATION (   nvar,
  gradient 
)
Value:
gradcalc(nvar, gradient); \
  } \
}

Definition at line 340 of file fvar.hpp.

#define M_PI   3.14159265358979323846

Definition at line 53 of file fvar.hpp.

Referenced by dlnorm(), dnorm(), multifan(), nllLognormal(), nllLognormal2(), nllNormal(), and nllNormal2().

Definition at line 98 of file fvar.hpp.

#define NO_DERIVS

Definition at line 136 of file fvar.hpp.

#define O_BINARY   0
#define PI   3.14159265358979323846

Definition at line 112 of file fvar.hpp.

Definition at line 71 of file fvar.hpp.


Typedef Documentation

typedef struct cs_symbolic css

Definition at line 9151 of file fvar.hpp.

typedef void(* exitptr)(int)

Definition at line 144 of file fvar.hpp.

typedef int(* fptr)(const char *format,...)

Definition at line 142 of file fvar.hpp.


Function Documentation

long int _farptr_tolong ( void *  ptr)
dvector acos ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 182 of file dvect6.cpp.

Referenced by acos().

dvar_vector acos ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 148 of file fvar_ar8.cpp.

void ad_begin_funnel ( void  )

Description not yet available.

Parameters:

Definition at line 386 of file xgradclc.cpp.

Referenced by calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_funnel(), and calculate_importance_sample_shess().

int ad_chdir ( const char *  s)

Description not yet available.

Parameters:

Definition at line 44 of file makesub.cpp.

Referenced by ad_comm::ad_comm(), and make_sub_directory().

void ad_getcd ( const adstring _s)

Description not yet available.

Parameters:

Definition at line 57 of file makesub.cpp.

Referenced by ad_comm::ad_comm(), DF_FILE::DF_FILE(), grad_stack::grad_stack(), make_sub_directory(), and DF_FILE::~DF_FILE().

void ad_set_new_handler ( void  )

Description not yet available.

Parameters:

Definition at line 46 of file newhand.cpp.

double* address ( const prevariable v1) [inline]

Definition at line 1451 of file fvar.hpp.

int admax ( int  i,
int  j 
) [inline]
void ADMB_getcallindex ( int  ) [inline]

Definition at line 8990 of file fvar.hpp.

void ADMB_getcallindex ( double  ) [inline]

Definition at line 8994 of file fvar.hpp.

void ADMB_getcallindex ( const dvector ) [inline]

Definition at line 8998 of file fvar.hpp.

void ADMB_getcallindex ( const dmatrix ) [inline]

Definition at line 9002 of file fvar.hpp.

void ADMB_getcallindex ( const d3_array ) [inline]

Definition at line 9006 of file fvar.hpp.

void ADMB_getcallindex ( const d4_array ) [inline]

Definition at line 9010 of file fvar.hpp.

void ADMB_getcallindex ( const prevariable ) [inline]

Definition at line 9014 of file fvar.hpp.

void ADMB_getcallindex ( const dvar_vector ) [inline]

Definition at line 9018 of file fvar.hpp.

void ADMB_getcallindex ( const dvar_matrix ) [inline]

Definition at line 9022 of file fvar.hpp.

void ADMB_getcallindex ( const dvar3_array ) [inline]

Definition at line 9026 of file fvar.hpp.

void ADMB_getcallindex ( dvar4_array ) [inline]

Definition at line 9030 of file fvar.hpp.

int admin ( int  i,
int  j 
) [inline]

Definition at line 8739 of file fvar.hpp.

Referenced by choleski_decomp_trust_bound(), and solve_trans().

int allocated ( const ivector v)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_a59.cpp.

Referenced by dll_param_vector::allocate(), dll_param_matrix::allocate(), dll_param_init_vector::allocate(), dll_param_init_bounded_vector::allocate(), param_init_matrix::allocate(), dll_param_init_matrix::allocate(), param_init_bounded_matrix::allocate(), dll_data_matrix::allocate(), dll_data_3array::allocate(), quadratic_prior::allocate(), param_init_d3array::allocate(), dll_param_init_d3array::allocate(), dll_param_d3array::allocate(), allocated(), laplace_approximation_calculator::block_diagonal_calculations(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_shess(), calculate_laplace_approximation(), laplace_approximation_calculator::check_hessian_type(), laplace_approximation_calculator::check_hessian_type2(), laplace_approximation_calculator::check_sparse_matrix_structure(), laplace_approximation_calculator::default_calculations(), laplace_approximation_calculator::default_calculations_check_derivatives(), dfcholeski_sparse(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), laplace_approximation_calculator::do_separable_stuff_hessian_type_information(), dvar_matrix_position::dvar_matrix_position(), imatrix::fill_seqadd(), gauss_hermite_stuff::gauss_hermite_stuff(), laplace_approximation_calculator::generate_antithetical_rvs(), function_minimizer::get_bigS(), quadratic_prior::get_cHessian_contribution(), df1b2quadratic_prior::get_Lxu(), laplace_approximation_calculator::get_newton_raphson_info_banded(), laplace_approximation_calculator::get_newton_raphson_info_block_diagonal(), function_minimizer::hess_routine_noparallel_random_effects(), dvar_matrix::initialize(), i4_array::initialize(), laplace_approximation_calculator::laplace_approximation_calculator(), operator<<(), imatrix::operator=(), dvar_matrix::operator=(), dmatrix::operator=(), banded_symmetric_dmatrix::operator=(), cifstream::operator>>(), operator>>(), dvar_vector::read_from(), dvar_matrix::read_from(), dmatrix::save_dmatrix_derivatives(), dmatrix::save_dmatrix_derivatives_na(), param_init_vector::sd_scale(), param_init_bounded_vector::sd_scale(), param_init_matrix::sd_scale(), param_init_bounded_matrix::sd_scale(), param_init_d3array::sd_scale(), param_init_vector::sd_vscale(), param_init_bounded_vector::sd_vscale(), param_init_matrix::sd_vscale(), param_init_bounded_matrix::sd_vscale(), param_init_d3array::sd_vscale(), function_minimizer::set_runtime_crit(), function_minimizer::set_runtime_maxfn(), param_init_bounded_matrix::set_value(), set_value_inv(), param_init_bounded_matrix::set_value_inv(), imatrix::sub(), dvar_matrix::sub(), dmatrix::sub(), d3_array::sub(), dvar3_array::sub(), d4_array::sub(), dvar4_array::sub(), dvar5_array::sub(), sub_unallocated(), sum(), dvar_vector::write_on(), dvar_matrix::write_on(), dll_data_3array::~dll_data_3array(), dll_param_d3array::~dll_param_d3array(), and dll_param_init_d3array::~dll_param_init_d3array().

int allocated ( const lvector v)

Description not yet available.

Parameters:

Definition at line 26 of file fvar_a59.cpp.

int allocated ( const dvector v)

Description not yet available.

Parameters:

Definition at line 35 of file fvar_a59.cpp.

int allocated ( const dvar_vector v)

Description not yet available.

Parameters:

Definition at line 44 of file fvar_a59.cpp.

int allocated ( const imatrix v)

Description not yet available.

Parameters:

Definition at line 53 of file fvar_a59.cpp.

int allocated ( const dmatrix v)

Definition at line 58 of file fvar_a59.cpp.

int allocated ( const dvar_matrix v)

Description not yet available.

Parameters:

Definition at line 67 of file fvar_a59.cpp.

int allocated ( const i3_array v)

Description not yet available.

Parameters:

Definition at line 76 of file fvar_a59.cpp.

int allocated ( const d3_array v)

Description not yet available.

Parameters:

Definition at line 85 of file fvar_a59.cpp.

int allocated ( const dvar3_array v)

Description not yet available.

Parameters:

Definition at line 94 of file fvar_a59.cpp.

int allocated ( const i4_array v)

Description not yet available.

Parameters:

Definition at line 103 of file fvar_a59.cpp.

int allocated ( const d4_array v)

Description not yet available.

Parameters:

Definition at line 112 of file fvar_a59.cpp.

int allocated ( const dvar4_array v)

Description not yet available.

Parameters:

Definition at line 121 of file fvar_a59.cpp.

int allocated ( const d5_array v)

Description not yet available.

Parameters:

Definition at line 130 of file fvar_a59.cpp.

int allocated ( const dvar5_array v)

Description not yet available.

Parameters:

Definition at line 139 of file fvar_a59.cpp.

int allocated ( const d6_array v)

Description not yet available.

Parameters:

Definition at line 148 of file fvar_a59.cpp.

int allocated ( const dvar6_array v)

Description not yet available.

Parameters:

Definition at line 157 of file fvar_a59.cpp.

int allocated ( const d7_array v)

Description not yet available.

Parameters:

Definition at line 166 of file fvar_a59.cpp.

int allocated ( const dvar7_array v)

Description not yet available.

Parameters:

Definition at line 175 of file fvar_a59.cpp.

int allocated ( const dcompressed_triplet t)

Definition at line 2855 of file hs_sparse.cpp.

int allocated ( const dvar_compressed_triplet t)

Definition at line 2860 of file hs_sparse.cpp.

void arr_free ( double_and_int varr)

Description not yet available.

Parameters:

Definition at line 243 of file newdar.cpp.

Referenced by dvar_vector::deallocate().

double_and_int* arr_new ( unsigned int  sz)

Description not yet available.

Parameters:

Definition at line 87 of file newdar.cpp.

Referenced by dvar_vector::allocate(), and dvar_vector::dvar_vector().

ivector as_factor ( const dvector v,
const double  eps = 1.0e-6 
)

Definition at line 34 of file factors.cpp.

dvector asin ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 168 of file dvect6.cpp.

Referenced by asin(), boundpin(), cmvbvu_(), and mvbvu_().

dvar_vector asin ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 132 of file fvar_ar8.cpp.

dvector atan ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 196 of file dvect6.cpp.

dvar_vector atan ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 314 of file fvar_a29.cpp.

dvector atan2 ( const dvector t1,
const dvector t2 
)
dvector atan2 ( const dvector t1,
double  t2 
)
dvector atan2 ( double  t1,
const dvector t2 
)
dvar_vector atan2 ( const dvar_vector t1,
const dvar_vector t2 
)
dvar_vector atan2 ( const dvar_vector t1,
double  t2 
)
dvar_vector atan2 ( double  t1,
const dvar_vector t2 
)
dvector atlas_solve_spd ( const dmatrix M,
const dvector x 
)
dvector atlas_solve_spd ( const dmatrix M,
const dvector x,
int &  ierr 
)
dmatrix atlas_solve_spd ( const dmatrix M,
const dmatrix x 
)
dmatrix atlas_solve_spd_trans ( const dmatrix M,
const dmatrix x 
)
dvariable avg ( const prevariable x,
const prevariable y 
)

Description not yet available.

Parameters:

Definition at line 24 of file fvar_fn2.cpp.

dvariable beta_deviate ( const prevariable _a,
const prevariable _b,
const prevariable _x,
double  eps 
)

Description not yet available.

Parameters:

Definition at line 17 of file vbetdev.cpp.

double beta_deviate ( double  a,
double  b,
double  x,
double  eps 
)

Description not yet available.

Parameters:

Definition at line 17 of file cbetdev.cpp.

double betacf ( const double  a,
const double  b,
const double  x,
int  MAXIT 
)

Incomplete beta function for constant objects.

Parameters:
a$a$
b$b$
x$x$ Evaluates the continued fraction approximation for imcomplete beta function.



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

Definition at line 22 of file cbetacf.cpp.

Referenced by betai().

dvariable betacf ( const dvariable _a,
const dvariable _b,
const dvariable _x,
int  MAXIT 
)

Incomplete beta function for variable objects.

Evaluates the continued fraction for imcomplete beta function.

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 24 of file vbetacf.cpp.

dvariable betai ( const dvariable  a,
const dvariable  b,
const dvariable  x,
int  maxit 
)

Incomplete beta function for variable objects.

Id:
vbetai.cpp 789 2010-10-05 01:01:09Z johnoel

Author: David Fournier Copyright (c) 2009, 2010 ADMB Foundation

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 21 of file vbetai.cpp.

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

Incomplete beta function for constant objects.

Id:
cbetai.cpp 789 2010-10-05 01:01:09Z johnoel

Author: David Fournier Copyright (c) 2009, 2010 ADMB Foundation

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 21 of file cbetai.cpp.

Referenced by inv_cumd_beta_stable().

prevariable& bounded_cumd_norm ( const prevariable _x,
double  beta 
)

Description not yet available.

Parameters:

Definition at line 273 of file vcumdist.cpp.

double bounded_cumd_norm ( const double  x,
double  beta 
)

Description not yet available.

Parameters:

Definition at line 119 of file cumdist.cpp.

Referenced by norm_to_gamma().

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

Description not yet available.

Parameters:

Definition at line 17 of file linad99/bounder.cpp.

dvariable bounder ( const prevariable x,
double  min,
double  max,
double  scale 
)

Description not yet available.

Parameters:

Definition at line 36 of file linad99/bounder.cpp.

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

Compute penalty for exceeding bounds on parameter; constant ojbects.

Inverse of double boundp(const double& x, double fmin, double fmax, const double& _fpen).

Parameters:
xModel variable
fminLower bound of x
fminUpper bound of x
_fpenOn return, contains penalty if x > fmax or x < fmin
Returns:
The variable x in original units

Definition at line 316 of file boundfun.cpp.

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

Return scaled variable to original units; constant objects.

Parameters:
xVariable scaled between [-1,1]
fminLower bound of x
fminUpper bound of x
Returns:
The variable x in original units

Definition at line 250 of file boundfun.cpp.

dvariable boundp ( const prevariable x,
double  fmin,
double  fmax,
const prevariable _fpen 
)

Compute penalty for exceeding bounds on parameter; variable ojbects.

Parameters:
xVariable scaled between [-1,1]
fminLower bound of x
fminUpper bound of x
_fpenOn return, contains penalty if x > 1 or x < -1
Returns:
The variable x in original units

Definition at line 108 of file boundfun.cpp.

dvariable boundp ( const prevariable x,
double  fmin,
double  fmax,
const prevariable _fpen,
double  s 
)

Compute penalty for exceeding bounds on parameter; variable ojbects.

Parameters:
xVariable scaled between [-1,1]
fminLower bound of x
fminUpper bound of x
_fpenOn return, contains penalty if x > 1 or x < -1
sDivide x by s before scaling and setting bounds
Returns:
The variable x in original units

Definition at line 95 of file boundfun.cpp.

Referenced by boundp(), nd2fboundp(), funnel_init_df1b2variable::set_value(), funnel_init_bounded_df1b2vector::set_value(), random_effects_bounded_vector_info::set_value(), re_df1b2_init_bounded_vector::set_value(), set_value(), set_value_partial(), and param_init_bounded_matrix::shared_set_value().

dvariable boundp ( double  ,
double  ,
double  ,
double *   
)
double boundpin ( double  x,
double  fmin,
double  fmax 
)

Scale model variable over [-1,1]; constant objects.

Inverse of double boundp(double x, double fmin, double fmax)

Parameters:
xModel variable
fminLower bound of x
fminUpper bound of x
Returns:
Scaled model variable over [-1,1].

Definition at line 397 of file boundfun.cpp.

double boundpin ( const prevariable xx,
double  fmin,
double  fmax 
)

Scale model variable over [-1,1]; variable objects.

Inverse of dvariable boundp(const prevariable& x, double fmin, double fmax,const prevariable& _fpen).

Parameters:
xModel variable
fminLower bound of x
fminUpper bound of x
Returns:
Scaled model variable over [-1,1].

Definition at line 457 of file boundfun.cpp.

double boundpin ( const prevariable x,
double  fmin,
double  fmax,
double  s 
)

Scale model variable over [-1,1]; variable objects.

Inverse of dvariable boundp(const prevariable& x, double fmin, double fmax,const prevariable& _fpen, double s).

Parameters:
xModel variable
fminLower bound of x
fminUpper bound of x
sDivide x by s before scaling and setting bounds
Returns:
Scaled model variable over [-1,1].

Definition at line 444 of file boundfun.cpp.

void check_choleski_decomp ( const banded_symmetric_dvar_matrix MM,
int &  ierr 
)
void check_derivative_values ( const char *  _s)

Description not yet available.

Parameters:

Definition at line 322 of file newdar.cpp.

void check_derivative_values ( const char *  _s,
int  i 
)

Description not yet available.

Parameters:

Definition at line 335 of file newdar.cpp.

void check_derivative_values_break ( const char *  _s,
int  i,
int  b 
)

Description not yet available.

Parameters:

Definition at line 363 of file newdar.cpp.

dmatrix choleski_decomp ( const dmatrix MM)

Description not yet available.

Parameters:

Definition at line 33 of file dmat15.cpp.

Description not yet available.

Parameters:

Definition at line 34 of file fvar_m39.cpp.

Description not yet available.

Parameters:

Definition at line 298 of file dmat28.cpp.

Description not yet available.

Parameters:

Definition at line 275 of file fvar_m40.cpp.

dmatrix choleski_decomp_error ( const dmatrix MM,
int &  ierror 
)

Description not yet available.

Parameters:

Definition at line 111 of file dmat15.cpp.

Referenced by choleski_solve_error().

dmatrix choleski_decomp_neghess_error ( const dmatrix MM,
int &  ierror 
)

Description not yet available.

Parameters:

Definition at line 176 of file dmat15.cpp.

Referenced by choleski_solve_neghess_error().

dmatrix choleski_decomp_positive ( const dmatrix MM,
const int &  _ierr 
)

Description not yet available.

Parameters:

Definition at line 98 of file dmat35.cpp.

dmatrix choleski_decomp_positive ( const dmatrix MM,
double  bound 
)

Description not yet available.

Parameters:

Definition at line 33 of file dmat35.cpp.

Description not yet available.

Parameters:

Definition at line 20 of file fvar_m50.cpp.

Description not yet available.

Parameters:

Definition at line 48 of file dmat43.cpp.

dvector choleski_solve_error ( dmatrix  M,
dvector v,
int &  ierror 
)

Description not yet available.

Parameters:

Definition at line 198 of file dmat37.cpp.

Referenced by laplace_approximation_calculator::default_calculations().

dvector choleski_solve_neghess_error ( dmatrix  M,
dvector v,
int &  ierror 
)

Description not yet available.

Parameters:

Definition at line 216 of file dmat37.cpp.

Referenced by laplace_approximation_calculator::default_calculations().

void clean ( ivector v,
int  level 
)

Description not yet available.

Parameters:

Definition at line 371 of file ivector.cpp.

dvar_vector colsum ( const dvar_matrix v)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_a31.cpp.

dvector colsum ( const dmatrix v)

Description not yet available.

Parameters:

Definition at line 31 of file dvect12.cpp.

ivector colsum ( const imatrix v)

Description not yet available.

Parameters:

Definition at line 17 of file imat8.cpp.

int colsum ( const imatrix m,
int  col 
)

Description not yet available.

Parameters:

Definition at line 34 of file imat7.cpp.

double colsum ( const dmatrix m,
int  col 
)

Description not yet available.

Parameters:

Definition at line 17 of file dmat27.cpp.

Referenced by laplace_approximation_calculator::do_newton_raphson_state_space(), and get_ft().

dvariable colsum ( const dvar_matrix m,
int  col 
)

Description not yet available.

Parameters:

Definition at line 18 of file fvar_m35.cpp.

ivector column ( const imatrix m,
int  col 
)

Return copy of jth column vector from matrix m.

/param m matrix /param j column index to return

Definition at line 58 of file imat7.cpp.

dvector column ( const dmatrix m,
int  j 
)

Return copy of jth column vector from matrix m.

/param m matrix /param j column index to return

Definition at line 20 of file dmat6.cpp.

Referenced by param_init_bounded_number_vector::allocate(), derch(), operator*(), df1b2quadratic_prior::operator=(), and sort().

dvar_vector column ( const dvar_matrix m,
int  j 
)

Description not yet available.

Parameters:

Definition at line 18 of file fvar_ar7.cpp.

Description not yet available.

Parameters:

Definition at line 33 of file dvect23.cpp.

dvector column_value ( const dvar_matrix m,
int  j 
)

Description not yet available.

Parameters:

Definition at line 57 of file fvar_ar7.cpp.

Referenced by operator*().

dmatrix column_vector ( const dvector v)

Description not yet available.

Parameters:

Definition at line 17 of file dvect13.cpp.

Description not yet available.

Parameters:

Definition at line 49 of file dvect13.cpp.

dvector cos ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 40 of file dvect6.cpp.

dvar_vector cos ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 161 of file fvar_a29.cpp.

dmatrix cos ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 132 of file dmat20.cpp.

dvar_matrix cos ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 177 of file fvar_m27.cpp.

d3_array cos ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 62 of file d3arr2a.cpp.

Referenced by cos(), DF_dvsin(), DF_dvtan(), dfboundp(), ncos(), ndfboundp(), randn(), sin(), and tan().

dvar3_array cos ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 102 of file f3arr2.cpp.

dvector cosh ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 82 of file dvect6.cpp.

Referenced by cosh(), and sinh().

dvar_vector cosh ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 65 of file fvar_ar8.cpp.

int count_factor ( const dvector v,
const double &  eps 
)

Definition at line 14 of file factors.cpp.

Referenced by as_factor().

int count_factor ( const ivector v)

Definition at line 65 of file factors.cpp.

dvector csolve ( const dmatrix aa,
const dvector z 
)

Solve a linear system using LU decomposition.

Definition at line 28 of file dmat34.cpp.

dvector cube ( const dvector m)

Description not yet available.

Parameters:

Definition at line 410 of file dmat.cpp.

dmatrix cube ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 425 of file dmat.cpp.

d3_array cube ( const d3_array m)
dvar_vector cube ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 71 of file fvar_a44.cpp.

dvar_matrix cube ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr7.cpp.

dvar3_array cube ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 32 of file f3arr7.cpp.

dvariable cumbvn ( const dvariable x,
const dvariable y,
const dvariable rho 
)

Cumulative bivariate normal distribution.

Assumes two distributions X and Y both N(0,1).

Parameters:
xUpper limit of inetegration on X.
yUpper limit of inetegration on Y
rhocorrelation coefficient.
Returns:
Probability that X is larger than x; and Y is larger than y

Definition at line 262 of file vbivnorm.cpp.

dvariable cumbvn ( const dvariable xl,
const dvariable yl,
const dvariable xu,
const dvariable yu,
const dvariable rho 
)

Cumulative bivariate normal distribution.

Assumes two distributions X and Y both N(0,1).

Parameters:
xlLower limit of inetegration on X.
ylLower limit of inetegration on Y.
xuUpper limit of inetegration on X.
yuUpper limit of inetegration on Y.
rhocorrelation coefficient.
Returns:
Probability that X is between xl and xu and Y is between yl and yu

Definition at line 282 of file vbivnorm.cpp.

dvariable cumd_bivariate_normal ( const prevariable xu,
const prevariable yu,
const prevariable rho,
int  nbox 
)
double cumd_cauchy ( const double &  x)

Description not yet available.

Parameters:

Definition at line 17 of file cumd_cau.cpp.

Description not yet available.

Parameters:

Definition at line 17 of file vcumdcau.cpp.

Description not yet available.

Parameters:

Definition at line 29 of file vcumdexp.cpp.

double cumd_exponential ( double  x)

Description not yet available.

Parameters:

Definition at line 29 of file ccumdexp.cpp.

dvariable cumd_gamma ( const dvariable x,
const dvariable a 
)

Definition at line 100 of file dfgammp.cpp.

double cumd_gamma ( double  x,
double  a 
)

Definition at line 39 of file cgamdev.cpp.

Referenced by inv_cumd_gamma().

double cumd_logistic ( const double &  x)

Description not yet available.

Parameters:

Definition at line 19 of file ccumdlog.cpp.

Referenced by cumd_norm_logistic(), and ghk_choleski_m_logistic().

Description not yet available.

Parameters:

Definition at line 17 of file vcumdlog.cpp.

double cumd_norm ( const double &  x,
double   
)
prevariable& cumd_norm_logistic ( const prevariable _x,
double  p 
)

Description not yet available.

Parameters:

Definition at line 376 of file vcumdist.cpp.

double cumd_norm_logistic ( double  _x,
double  p 
)

Description not yet available.

Parameters:

Definition at line 84 of file ccumdlog.cpp.

Referenced by inv_cumd_norm_logistic().

dvariable cumd_normal_cauchy_mixture ( const prevariable _x,
double  _a 
)
dvar_vector cumd_normal_cauchy_mixture ( const dvar_vector _x,
double  _a 
)
dvariable cumd_normal_mixture ( const prevariable _x,
double  _a 
)
dvar_vector cumd_normal_mixture ( const dvar_vector _x,
double  _a 
)
dvector cumd_pareto ( const dvector _y,
double  alpha,
double  xm 
)
dvar_vector cumd_pareto ( const dvar_vector _y,
const prevariable alpha,
const prevariable xm 
)
dvariable cumd_pareto ( const prevariable _y,
const prevariable alpha,
const prevariable xm 
)
double cumd_pareto ( double  _y,
double  alpha,
double  xm 
)
dvector cumd_upper_trunc_pareto ( const dvector _y,
double  alpha,
double  xm 
)
dvar_vector cumd_upper_trunc_pareto ( const dvar_vector _y,
const prevariable alpha,
const prevariable xmin,
const prevariable xmax 
)
dvariable cumd_upper_trunc_pareto ( const prevariable _y,
const prevariable alpha,
const prevariable xmin,
const prevariable xmax 
)
void default_evaluation ( void  )
void default_evaluation0 ( void  )

Description not yet available.

Parameters:

Definition at line 131 of file def_eval.cpp.

Referenced by dvariable::dvariable().

void default_evaluation1 ( void  )

Description not yet available.

Parameters:

Definition at line 98 of file def_eval.cpp.

Referenced by dvariable::dvariable(), operator+(), operator-(), prevariable::operator=(), and dvariable::operator=().

void default_evaluation1m ( void  )

Description not yet available.

Parameters:

Definition at line 115 of file def_eval.cpp.

Referenced by operator-().

void default_evaluation2 ( void  )

Description not yet available.

Parameters:

Definition at line 141 of file def_eval.cpp.

Referenced by cube(), fourth(), operator*(), and square().

void default_evaluation3 ( void  )

Description not yet available.

Parameters:

Definition at line 162 of file def_eval.cpp.

Referenced by operator*(), and operator/().

void default_evaluation3ind ( void  )

Description not yet available.

Parameters:

Definition at line 179 of file def_eval.cpp.

Referenced by betacf(), inv_cumd_beta_stable(), and dvariable::operator=().

void default_evaluation4 ( void  )

Description not yet available.

Parameters:

Definition at line 260 of file def_eval.cpp.

Referenced by operator+().

void default_evaluation4ind ( void  )

Description not yet available.

Parameters:

Definition at line 212 of file def_eval.cpp.

void default_evaluation4m ( void  )

Description not yet available.

Parameters:

Definition at line 274 of file def_eval.cpp.

Referenced by operator-().

double density_cauchy ( const double &  x)

Description not yet available.

Parameters:

Definition at line 29 of file cumd_cau.cpp.

void derch ( const double &  _f,
const independent_variables _x,
const dvector _gg,
int  n,
const int &  _ireturn 
)

Description not yet available.

Parameters:

Definition at line 38 of file derch.cpp.

Referenced by fmm::fmin(), and fmmt1::fmin().

void derch ( const double &  f,
const dvector x,
const dvector gg,
int  n,
const int &  ireturn 
)
void df_check_derivative_values ( void  )

Description not yet available.

Parameters:

Definition at line 378 of file newdar.cpp.

Referenced by check_derivative_values().

Description not yet available.

Parameters:

Definition at line 442 of file newdar.cpp.

Referenced by check_derivative_values().

Description not yet available.

Parameters:

Definition at line 491 of file newdar.cpp.

Referenced by check_derivative_values_break().

dvariable dfatan1 ( dvariable  x,
double  fmin,
double  fmax,
const prevariable _fpen 
)

Scale input variable between upper and lower bounds and compute a penalty for exceeding the bounds.

Parameters:
xVariable to be scaled
fminLower bound of x
fminUpper bound of x
_fpenOn return, contains penalty if x > fmax or x < fmin
Returns:
Scaled value of x between fmin and fmax in the range [-1,1]

Definition at line 40 of file boundfun.cpp.

dvariable dfatan1 ( dvariable  ,
double  ,
double  ,
double *   
)
dvariable dfboundp ( double  ,
double  ,
double  ,
double *   
)
dvariable dfboundp ( const prevariable x,
double  fmin,
double  fmax 
)

Computes the derivative of dvariable boundp(const prevariable& x, double fmin, double fmax,const prevariable& _fpen)

Parameters:
xVariable to be scaled
fminLower bound of x
fminUpper bound of x
Returns:
Derivative of scaled variable

Definition at line 176 of file boundfun.cpp.

Referenced by param_init_bounded_vector::sd_vscale(), param_init_bounded_number::sd_vscale(), and param_init_bounded_matrix::sd_vscale().

void dfinvpret ( void  )

Adjoint code for dvar_matrix inv(const dvar_matrix& aa).

Definition at line 212 of file fvar_m15.cpp.

Referenced by inv().

double dflogistic ( double  a,
double  b,
const double &  x 
)
dvariable dflogistic ( double  a,
double  b,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 53 of file logit.cpp.

double dfposfun ( const double &  x,
const double  eps 
)

Adjoint code for posfun; possibly not used.

Retained in source code to support legacy models with user-written adjoint code.

Definition at line 19 of file posfunc.cpp.

Referenced by dfcholeski_decomp_banded_positive(), and dfcholeski_decomp_positive().

dvariable dfposfun ( const prevariable x,
const double  eps 
)

Adjoint code for posfun; possibly not used.

Retained in source code to support legacy models with user-written adjoint code.

Definition at line 110 of file posfunv.cpp.

double dfposfun1 ( const double &  x,
const double  eps 
)

Adjoint code for posfun; possibly not used.

Retained in source code to support legacy models with user-written adjoint code.

Definition at line 39 of file posfunc.cpp.

Referenced by dfcholeski_decomp_banded_positive(), and dfcholeski_decomp_positive().

double dftinv ( double  x,
double  fmin,
double  fmax 
)

Inverse of dvariable dfatan1(dvariable x, double fmin, double fmax, const prevariable& _fpen)

Parameters:
xVariable to be scaled
fminLower bound of x
fminUpper bound of x

Definition at line 69 of file boundfun.cpp.

dvector diagonal ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 17 of file dmat31.cpp.

Referenced by function_minimizer::hess_routine_noparallel_random_effects().

ivector diagonal ( const imatrix m)

Description not yet available.

Parameters:

Definition at line 17 of file imat10.cpp.

Description not yet available.

Parameters:

Definition at line 17 of file fvar_m46.cpp.

double dmax ( double  x,
double  y 
)

Returns the maximum of two numbers.

Parameters:
xFirst number
ySecond number

Definition at line 519 of file boundfun.cpp.

void dmdm_prod ( void  )

Description not yet available.

Parameters:

Definition at line 124 of file fvar_m14.cpp.

Referenced by operator*().

double dmin ( double  x,
double  y 
)

Returns the minimum of two numbers.

Parameters:
xFirst number
ySecond number

Definition at line 503 of file boundfun.cpp.

double dot ( const dmatrix M,
const dmatrix N 
)

Description not yet available.

Parameters:

Definition at line 88 of file orthply2.cpp.

Referenced by orthpoly2().

void dv_init ( void  )

Description not yet available.

Parameters:

Definition at line 39 of file fvar_a24.cpp.

Referenced by dvar_vector::initialize(), and dvar_vector::operator=().

void dvdv_dot ( void  )

Definition at line 91 of file fvar_a14.cpp.

Referenced by operator*().

dvector eigenvalues ( const dmatrix m)

Eigenvalues.

Parameters:
mInput matrix (unchanged on return).
Returns:
Vector of eigenvalues.

Definition at line 20 of file eigen.cpp.

Definition at line 15 of file dveigen.cpp.

dmatrix eigenvectors ( const dmatrix m)

Eigenvectors.

Computes eigenvectors of a real square matrix. Input matrix is symmetrized.

Parameters:
mReal square matrix.
Returns:
Matrix of eigenvectors.

Definition at line 40 of file eigenv.cpp.

dmatrix eigenvectors ( const dmatrix m,
const dvector _diag 
)

Eigenvectors.

Computes eigenvectors of a real square matrix. Input matrix is symmetrized.

Parameters:
mReal square matrix.
_diag
Returns:
Matrix of eigenvectors.

Definition at line 76 of file eigenv.cpp.

Eigenvectors.

Computes eigenvectors of a real square matrix. Input matrix is symmetrized.

Parameters:
mReal square matrix.
_diag
Returns:
Matrix of eigenvectors.

Definition at line 38 of file dveigenv.cpp.

dmatrix eigenvectors ( const banded_symmetric_dmatrix _SS,
const dvector _e 
)
dmatrix elem_div ( const dmatrix m,
const dmatrix m2 
)

Description not yet available.

Parameters:

Definition at line 286 of file dmat20.cpp.

dvar_matrix elem_div ( const dvar_matrix m,
const dvar_matrix m2 
)

Description not yet available.

Parameters:

Definition at line 261 of file fvar_m27.cpp.

dvar_matrix elem_div ( const dvar_matrix m,
const dmatrix m2 
)

Description not yet available.

Parameters:

Definition at line 289 of file fvar_m27.cpp.

dvar_matrix elem_div ( const dmatrix m,
const dvar_matrix m2 
)

Description not yet available.

Parameters:

Definition at line 275 of file fvar_m27.cpp.

d3_array elem_div ( const d3_array m1,
const d3_array m2 
)
dvar3_array elem_div ( const dvar3_array m1,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 187 of file f3arr2.cpp.

dvar3_array elem_div ( const d3_array m1,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 255 of file f3arr2.cpp.

dvar3_array elem_div ( const dvar3_array m1,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 34 of file f3arr9.cpp.

dmatrix elem_prod ( const dmatrix m,
const dmatrix m2 
)

Description not yet available.

Parameters:

Definition at line 176 of file dmat20.cpp.

dvar_matrix elem_prod ( const dvar_matrix m,
const dvar_matrix m2 
)

Description not yet available.

Parameters:

Definition at line 303 of file fvar_m27.cpp.

dvar_matrix elem_prod ( const dvar_matrix m,
const dmatrix m2 
)

Description not yet available.

Parameters:

Definition at line 332 of file fvar_m27.cpp.

dvar_matrix elem_prod ( const dmatrix m,
const dvar_matrix m2 
)

Description not yet available.

Parameters:

Definition at line 318 of file fvar_m27.cpp.

d3_array elem_prod ( const d3_array m1,
const d3_array m2 
)
dvar3_array elem_prod ( const dvar3_array m1,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 170 of file f3arr2.cpp.

dvar3_array elem_prod ( const d3_array m1,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 238 of file f3arr2.cpp.

dvar3_array elem_prod ( const dvar3_array m1,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr9.cpp.

Description not yet available.

Parameters:

Definition at line 125 of file fvar_ma6.cpp.

dvar_matrix empirical_covariance ( const dvar_matrix _v1,
const imatrix _missflags 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_ma6.cpp.

void exit_handler ( int  k)

Description not yet available.

Parameters:

Definition at line 20 of file signalh.cpp.

Referenced by onintr(), and set_signal_handlers().

dvector exp ( const dvector t1)

Description not yet available.

Parameters:

Definition at line 32 of file dvect7.cpp.

dvar_vector exp ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 112 of file fvar_a29.cpp.

dmatrix exp ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 264 of file dmat20.cpp.

dvar_matrix exp ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 247 of file fvar_m27.cpp.

d3_array exp ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 32 of file d3arr2a.cpp.

Referenced by add_hist_values(), beta(), betai(), bounded_cumd_norm(), bounded_robust_multivariate_normal(), bounder(), boundp(), calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), cmvbvu_(), cmvphi_(), cumd_exp(), cumd_exponential(), cumd_logistic(), cumd_norm(), cumd_normal_logistic_mixture(), density_negbinomial(), df_cumd_normal_logistic_mixture(), df_cumd_normal_mixture(), DF_dvmfexp(), dfboundp(), dflogistic(), function_minimizer::do_gauss_hermite_integration(), function_minimizer::do_gauss_hermite_integration_multi(), eplogis(), exp(), gamma_density(), gcf(), generalized_Ricker1(), generalized_Ricker2(), laplace_approximation_calculator::generate_antithetical_rvs(), get_bounded_normal(), get_bounded_normal_virtual(), get_ft(), laplace_approximation_calculator::get_hessian_components_banded_lme(), laplace_approximation_calculator::get_hessian_from_components_lme(), get_initial_u(), Gompertz(), gser(), function_minimizer::hybrid_mcmc_routine(), inv_cumd_beta_stable(), inv_cumd_gamma(), inv_cumd_norm(), inv_cumd_norm_ln(), inv_cumd_norm_logistic(), inv_cumd_normal_logistic_mixture(), inv_cumd_normal_mixture(), log_der_logistic(), log_likelihood_mixture(), log_likelihood_mixture_02(), logistic(), logistic3(), logisticK(), make_preliminary_hist(), function_minimizer::mcmc_routine(), mfexp(), monomolecular(), mvbvu_(), mvphi_(), ndfboundp(), negbinomial_density(), new_probing_bounded_multivariate_normal(), new_probing_bounded_multivariate_normal_mcmc(), normal_tail_right(), function_minimizer::normalize_posterior_distribution(), normalized_gauss_hermite(), old_cumd_norm(), pow(), probing_bounded_multivariate_normal(), probing_bounded_multivariate_normal_mcmc(), randpoisson(), Ricker(), rmvlogistic(), robust_regression(), sgamma(), and theta_logistic().

dvar3_array exp ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 51 of file f3arr2.cpp.

d4_array exp ( const d4_array m)

Description not yet available.

Parameters:

Definition at line 32 of file d4arr1.cpp.

dvar4_array exp ( const dvar4_array m)

Description not yet available.

Parameters:

Definition at line 32 of file f4arr1.cpp.

d5_array exp ( const d5_array x)
dvar5_array exp ( const dvar5_array m)

Description not yet available.

Parameters:

Definition at line 51 of file f5arr1.cpp.

double expdev ( const random_number_generator _rng)

Description not yet available.

Parameters:

Definition at line 311 of file drangam.cpp.

Referenced by sgamma().

dvector extract_column ( const dmatrix m,
int  j 
)

Extract copy of jth column vector from matrix m.

/param m matrix /param j column index to return

Definition at line 40 of file dmat6.cpp.

Referenced by column(), and sort().

dvar_vector extract_column ( const dvar_matrix m,
int  j 
)

Description not yet available.

Parameters:

Definition at line 36 of file fvar_ar7.cpp.

dvector extract_row ( const dmatrix m,
int  i 
)

Description not yet available.

Parameters:

Definition at line 63 of file dmat6.cpp.

Referenced by row().

dvar_vector extract_row ( const dvar_matrix m,
int  i 
)

Description not yet available.

Parameters:

Definition at line 78 of file fvar_ar7.cpp.

dmatrix fabs ( const dmatrix X)

Description not yet available.

Parameters:

Definition at line 18 of file linad99/expm.cpp.

d3_array fabs ( const d3_array m)
dvar3_array fabs ( const dvar3_array m)
dvariable factln ( const dvariable n)

Log-factorial $\ln(n!)$.

Parameters:
na number
Returns:
log of the factorial

Definition at line 59 of file combv.cpp.

dvar_vector factln ( const dvar_vector r)

Log-factorial of an array.

Parameters:
ran array
Returns:
log of the factorial

Definition at line 187 of file combv.cpp.

void* farptr_norm ( void *  )
long int farptr_tolong ( void *  )

Description not yet available.

Parameters:

Definition at line 110 of file dmat36.cpp.

Description not yet available.

Parameters:

Definition at line 130 of file dmat36.cpp.

void fmin ( double  f,
const independent_variables x,
const dvector g,
const int &  n,
const dvector w,
const dvector h,
const fmm_control fmc 
)
void fmmdisp ( const dvector x,
const dvector g,
const int &  nvar,
int  scroll_flag,
int  noprintx 
)

Description not yet available.

Parameters:

Definition at line 104 of file fmm_disp.cpp.

Referenced by fmm::fmin(), fmmt1::fmin(), function_minimizer::limited_memory_quasi_newton(), and function_minimizer::random_effects_maximization().

void fmmdisp ( const double *  x,
const double *  g,
const int &  nvar,
int  scroll_flag,
int  noprintx 
)

Description not yet available.

Parameters:

Definition at line 195 of file fmm_disp.cpp.

double gamma_deviate ( double  _x,
double  _a 
)
dvariable gamma_deviate ( const prevariable _x,
const prevariable _a 
)

Definition at line 19 of file vgamdev.cpp.

dvar_vector gammln ( const dvar_vector v)

Log-Gamma of an array.

Parameters:
van array
Returns:
log of the factorial

Definition at line 226 of file combv.cpp.

dvariable gammln ( const prevariable xx)

Definition at line 282 of file combv.cpp.

double gasdev ( const random_number_generator _rng)

Description not yet available.

Parameters:

Definition at line 292 of file drangam.cpp.

Referenced by sgamma().

void gauss_hermite ( const dvector _t,
const dvector _wts 
)

Gauss-Hermite quadature.

Computes a Gauss-Hermite quadrature formula with simple knots.

Parameters:
_tarray of abscissa
_wtsarray of corresponding wights

Definition at line 36 of file gaussher.cpp.

Referenced by normalized_gauss_hermite().

void gauss_legendre ( double  a,
double  b,
const dvector _t,
const dvector _wts 
)

Gauss-Legendre quadature.

computes knots and weights of a Gauss-Legendre quadrature formula.

Parameters:
aLeft endpoint of interval
bRight endpoint of interval
_tarray of abscissa
_wtsarray of corresponding wights

Definition at line 148 of file gaussher.cpp.

Referenced by gauss_legendre().

void gauss_legendre ( const dvector _x,
const dvector _w 
)

Gauss-Legendre quadature.

Parameters:
_xarray of abscissa
_warray of corresponding wights

Definition at line 331 of file gaussher.cpp.

dvector get_eigen_values ( const dvector _d,
const dvector _e 
)

Eigenvalues.

Parameters:
_dDiagonal elements of the matrix computed by Householder transformation.
_eOff-diagonal elements.
Returns:
Vector of eigenvalues.



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

Definition at line 264 of file eigen.cpp.

dvar_vector get_eigen_values ( const dvar_vector _ddd,
const dvar_vector _eee 
)

Eigenvalues and eigenvectors.

Parameters:
_dDiagonal elements of the matrix computed by Householder transformation.
_eOff-diagonal elements.
_zOn return containses eigenvectors.
Returns:
Vector of eigenvalues.



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

Definition at line 258 of file dveigen.cpp.

dvector get_eigen_values ( const dvector _d,
const dvector _e,
const dmatrix _z 
)

Eigenvalues and eigenvectors.

Parameters:
_dDiagonal elements of the matrix computed by Householder transformation.
_eOff-diagonal elements.
_zOn return containses eigenvectors.
Returns:
Vector of eigenvalues.



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

Definition at line 337 of file eigen.cpp.

Description not yet available.

Parameters:

Definition at line 168 of file cmpdif3.cpp.

Referenced by df_check_derivative_values(), df_check_derivative_values_indexed(), df_check_derivative_values_indexed_break(), and df_print_identifier_string().

double ghk ( const dvector lower,
const dvector upper,
const dmatrix Sigma,
const dmatrix eps 
)

Description not yet available.

Parameters:

Definition at line 17 of file c_ghk.cpp.

double ghk ( const dvector lower,
const dvector upper,
const dmatrix Sigma,
const dmatrix eps,
int  _i 
)

Description not yet available.

Parameters:

Definition at line 76 of file c_ghk.cpp.

dvariable ghk ( const dvar_vector lower,
const dvar_vector upper,
const dvar_matrix Sigma,
const dmatrix eps 
)

Description not yet available.

Parameters:

Definition at line 17 of file v_ghk.cpp.

dvariable ghk ( const dvar_vector lower,
const dvar_vector upper,
const dvar_matrix Sigma,
const dmatrix eps,
int  _i 
)

Description not yet available.

Parameters:

Definition at line 171 of file v_ghk.cpp.

double ghk_choleski ( const dvector lower,
const dvector upper,
const dmatrix ch,
const dmatrix eps 
)
dvariable ghk_choleski_m ( const dvar_vector upper,
const dvar_matrix ch,
const dmatrix eps 
)

Description not yet available.

Parameters:

Definition at line 134 of file v_ghk.cpp.

dvariable ghk_choleski_m_cauchy ( const dvar_vector upper,
const dvar_matrix ch,
const dmatrix eps 
)

Description not yet available.

Parameters:

Definition at line 211 of file v_ghk.cpp.

dvariable ghk_choleski_m_logistic ( const dvar_vector upper,
const dvar_matrix ch,
const dmatrix eps 
)

Description not yet available.

Parameters:

Definition at line 246 of file v_ghk.cpp.

void grad_chk ( void  )

Description not yet available.

Parameters:

Definition at line 20 of file gradchk.cpp.

void gradcalc ( int  nvar,
const dvector _g 
)

Compute the gradient from the data stored in the global gradient_structure.

Parameters:
nvarNumber of variables in the gradient.
_gVector from 1 to nvar. On return contains the gradient.

Definition at line 86 of file sgradclc.cpp.

Referenced by laplace_approximation_calculator::banded_calculations_lme(), calculate_importance_sample(), calculate_importance_sample_block_diagonal(), calculate_importance_sample_block_diagonal_funnel(), calculate_importance_sample_block_diagonal_option2(), calculate_importance_sample_block_diagonal_option_antithetical(), calculate_importance_sample_funnel(), calculate_importance_sample_shess(), calculate_laplace_approximation(), function_minimizer::dep_hess_routine(), function_minimizer::depvars_routine(), do_evaluation(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), evaluate_function(), evaluate_function_gradient(), evaluate_function_quiet(), evaluate_function_with_quadprior(), laplace_approximation_calculator::get_fx_fu(), laplace_approximation_calculator::get_gradient_for_hessian_calcs(), laplace_approximation_calculator::get_gradient_lme(), laplace_approximation_calculator::get_gradient_lme_hp(), function_minimizer::get_hybrid_monte_carlo_value(), function_minimizer::get_monte_carlo_value(), function_minimizer::get_particular_grad(), laplace_approximation_calculator::get_uhat_lm_newton2(), laplace_approximation_calculator::get_uhat_quasi_newton(), laplace_approximation_calculator::get_uhat_quasi_newton_block_diagonal(), gradcalc(), function_minimizer::hess_routine_and_constraint(), function_minimizer::hess_routine_noparallel(), function_minimizer::hess_routine_noparallel_random_effects(), function_minimizer::hess_routine_slave_random_effects(), function_minimizer::limited_memory_quasi_newton(), function_minimizer::limited_memory_quasi_newton_block(), fmm::minimize(), function_minimizer::prof_minimize(), function_minimizer::prof_minimize_re(), and function_minimizer::quasi_newton_block().

double gradcalc ( int  nvar,
const dvector _g,
dvariable f 
)

Compute the gradient from the data stored in the global gradient_structure.

Parameters:
nvarNumber of variables in the gradient.
_gVector from 1 to nvar. On return contains the gradient.
fobjective function
Returns:
likelihood value

Definition at line 234 of file sgradclc.cpp.

void gradfree ( dlink v)

Description not yet available.

Parameters:

Definition at line 57 of file fvar2.cpp.

Referenced by dvariable::~dvariable().

ivector histogram ( double  min,
double  max,
int  nbin,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 17 of file histgram.cpp.

dmatrix identity_matrix ( int  min,
int  max 
)

Create a Identity matrix.

Parameters:

Definition at line 17 of file dmat17.cpp.

void insert_identifier_string ( const char *  _s)

Description not yet available.

Parameters:

Definition at line 351 of file newdar.cpp.

dvariable inv ( const prevariable x) [inline]

Definition at line 8630 of file fvar.hpp.

dmatrix inv ( const dmatrix m1,
const double &  _ln_det,
const int &  _sgn 
)

Inverse of a constant matrix by LU decomposition.

Parameters:
m1A dmatrix, $M$, for which the inverse is to be computed.
_ln_detOn return contains $|\log M|$
_sign
Returns:
A dmatrix containing $M^{-1}$.

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

Definition at line 89 of file dmat3.cpp.

double inv_cumd_beta_stable ( double  a,
double  b,
double  y,
double  eps = 1.e-7 
)

Definition at line 23 of file ccumdbetainv.cpp.

dvariable inv_cumd_beta_stable ( const prevariable _a,
const prevariable _b,
const prevariable _y,
double  eps = 1.e-7 
)

Definition at line 20 of file vcumdbetainv.cpp.

double inv_cumd_cauchy ( const double &  x)

Description not yet available.

Parameters:

Definition at line 49 of file cumd_cau.cpp.

Description not yet available.

Parameters:

Definition at line 40 of file vcumdcau.cpp.

Description not yet available.

Parameters:

Definition at line 17 of file vcumdexp.cpp.

double inv_cumd_exponential ( double  y)

Description not yet available.

Parameters:

Definition at line 17 of file ccumdexp.cpp.

dvariable inv_cumd_gamma ( const prevariable _y,
const prevariable _a 
)

Definition at line 124 of file vgamdev.cpp.

double inv_cumd_gamma ( double  _y,
double  _a 
)

Definition at line 125 of file cgamdev.cpp.

double inv_cumd_logistic ( const double &  x)

Description not yet available.

Parameters:

Definition at line 36 of file ccumdlog.cpp.

Referenced by cumd_normal_logistic_mixture_initx(), ghk_choleski_m_logistic(), and inv_cumd_norm_logistic().

Description not yet available.

Parameters:

Definition at line 34 of file vcumdlog.cpp.

double inv_cumd_norm ( const double &  x)

Description not yet available.

Parameters:

Definition at line 78 of file cumdist.cpp.

Description not yet available.

Parameters:

Definition at line 136 of file vcumdist.cpp.

Description not yet available.

Parameters:

Definition at line 257 of file vcumdist.cpp.

dvariable inv_cumd_norm_logistic ( const prevariable x,
double  p 
)

Description not yet available.

Parameters:

Definition at line 356 of file vcumdist.cpp.

double inv_cumd_norm_logistic ( double  x,
double  p 
)

Description not yet available.

Parameters:

Definition at line 45 of file ccumdlog.cpp.

dvariable inv_cumd_normal_logistic_mixture ( const prevariable _x,
double  _a 
)

Definition at line 87 of file cnorlogmix.cpp.

Referenced by robust_normal_logistic_mixture_deviate().

double inv_cumd_normal_logistic_mixture ( double  yy,
double  a 
)

Description not yet available.

Parameters:

Definition at line 142 of file cnorlogmix.cpp.

dvariable inv_cumd_normal_mixture ( const prevariable _yy,
double  a 
)

Description not yet available.

Parameters:

Definition at line 94 of file normmix.cpp.

double inv_cumd_normal_mixture ( double  yy,
double  a 
)

Description not yet available.

Parameters:

Definition at line 90 of file cnormmix.cpp.

Referenced by robust_normal_mixture_deviate().

dvector inv_cumd_pareto ( const dvector _y,
double  alpha,
double  xm 
)
dvar_vector inv_cumd_pareto ( const dvar_vector _y,
const prevariable alpha,
const prevariable xm 
)
dvariable inv_cumd_pareto ( const prevariable _y,
const prevariable alpha,
const prevariable xm 
)
double inv_cumd_pareto ( double  _y,
double  alpha,
double  xm 
)
double inv_cumd_t ( double  n,
double  u,
double  eps 
)

Description not yet available.

Parameters:

Definition at line 17 of file cinvcumdt.cpp.

Referenced by t_deviate().

dvariable inv_cumd_t ( const prevariable n,
const prevariable u,
double  eps 
)

Description not yet available.

Parameters:

Definition at line 17 of file vinvcumdt.cpp.

dvector inv_cumd_upper_trunc_pareto ( const dvector _y,
double  alpha,
double  xmin,
double  xmax 
)
dvar_vector inv_cumd_upper_trunc_pareto ( const dvar_vector _y,
const prevariable alpha,
const prevariable xmin,
const prevariable xmax 
)
double inv_cumd_upper_trunc_pareto ( double  _y,
double  alpha,
double  xmin,
double  xmax 
)
void jacobcalc ( int  nvar,
const dmatrix jac 
)

Description not yet available.

Parameters:

Definition at line 73 of file jacobclc.cpp.

Referenced by function_minimizer::depvars_routine(), and jacobcalc().

void jacobcalc ( int  nvar,
const ofstream &  ofs 
)

Description not yet available.

Parameters:

Definition at line 60 of file jacob2.cpp.

void jacobcalc ( int  nvar,
const uostream ofs 
)

Description not yet available.

Parameters:

Definition at line 60 of file jacob3.cpp.

Description not yet available.

Parameters:

Definition at line 29 of file vcumdcau.cpp.

dvariable ln_det ( const dvar_matrix )

Definition at line 30 of file fvar_m42.cpp.

double ln_det ( const dcompressed_triplet )

Definition at line 2953 of file hs_sparse.cpp.

double ln_det ( const dcompressed_triplet ,