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

(* $Id$)

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
 Node in dlist. 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
 ADMB variable vector. 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
 Derived class of index types for i3_array. More...
class  i4_array
 Description not yet available. More...
class  i4_index
 Derived class of index types for i4_array. More...
class  i5_array
 Description not yet available. More...
class  independent_variables
 Description not yet available. More...
class  index_guts
 Abstract base class for different index types. More...
class  index_type
 Uses polymorphism to get index information from various data types to be used in constructing and allocating admb matrices and vectors. 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
 Derived class of index types for imatrix. More...
class  multi_index
 Description not yet available. More...
class  number_index
 Derived class of index types for ad_integer. 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
 Keeps track of total number of copies. 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
 Derived class of index types for ivector. 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

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, int &ierr)
banded_lower_triangular_dvar_matrix choleski_decomp (const banded_symmetric_dvar_matrix &S, int &ierr)
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 *)
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, int &ierr)
double ln_det_choleski (const banded_symmetric_dmatrix &S, 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)
 Create a sub directory s.
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 &)
 Return the variable mean of matrix m.
dvariable mean (const dvar3_array &)
 Return computed variable mean of variable 3-dimensional array m.
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)
 Outputs dvar5_array z.
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, int &nopt)
 Checks if the program has been invoked with a particular command line argument ("string").
int option_match (char *s, const char *string, int &nopt)
 Search for option in _s and returns number of option args in _nopt.
int option_match (char *s, const char *string)
 Search for option in _s.
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 443 of file fvar.hpp.

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

Definition at line 8572 of file fvar.hpp.

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

Definition at line 8576 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 8580 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 8585 of file fvar.hpp.

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

Definition at line 8592 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 322 of file fvar.hpp.

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

Definition at line 330 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 9175 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

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 383 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 1454 of file fvar.hpp.

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

Definition at line 9014 of file fvar.hpp.

void ADMB_getcallindex ( double  ) [inline]

Definition at line 9018 of file fvar.hpp.

void ADMB_getcallindex ( const dvector ) [inline]

Definition at line 9022 of file fvar.hpp.

void ADMB_getcallindex ( const dmatrix ) [inline]

Definition at line 9026 of file fvar.hpp.

void ADMB_getcallindex ( const d3_array ) [inline]

Definition at line 9030 of file fvar.hpp.

void ADMB_getcallindex ( const d4_array ) [inline]

Definition at line 9034 of file fvar.hpp.

void ADMB_getcallindex ( const prevariable ) [inline]

Definition at line 9038 of file fvar.hpp.

void ADMB_getcallindex ( const dvar_vector ) [inline]

Definition at line 9042 of file fvar.hpp.

void ADMB_getcallindex ( const dvar_matrix ) [inline]

Definition at line 9046 of file fvar.hpp.

void ADMB_getcallindex ( const dvar3_array ) [inline]

Definition at line 9050 of file fvar.hpp.

void ADMB_getcallindex ( dvar4_array ) [inline]

Definition at line 9054 of file fvar.hpp.

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

Definition at line 8763 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 241 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 82 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 320 of file newdar.cpp.

void check_derivative_values ( const char *  _s,
int  i 
)

Description not yet available.

Parameters:

Definition at line 333 of file newdar.cpp.

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

Description not yet available.

Parameters:

Definition at line 361 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.

Definition at line 293 of file dmat28.cpp.

Definition at line 267 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 379 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 376 of file newdar.cpp.

Referenced by check_derivative_values().

Description not yet available.

Parameters:

Definition at line 440 of file newdar.cpp.

Referenced by check_derivative_values().

Description not yet available.

Parameters:

Definition at line 489 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 *  )

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 231 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 349 of file newdar.cpp.

dvariable inv ( const prevariable x) [inline]

Definition at line 8654 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 32 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 ,
const hs_symbolic  
)

Definition at line 2931 of file hs_sparse.cpp.

double ln_det ( const dcompressed_triplet ,
int &  ierr 
)
dvariable ln_det ( const dvar_compressed_triplet ,
int &  ierr 
)

Definition at line 2865 of file hs_sparse.cpp.

Definition at line 2882 of file hs_sparse.cpp.

Definition at line 2901 of file hs_sparse.cpp.

dvariable ln_det_choleski ( const banded_symmetric_dvar_matrix S,
int &  ierr 
)

Definition at line 248 of file fvar_m40.cpp.

double ln_det_choleski ( const banded_symmetric_dmatrix MM,
int &  ierr 
)

Description not yet available.

Parameters:

Definition at line 37 of file fvar_m51.cpp.

dvariable ln_det_choleski_error ( const dvar_matrix MM,
int &  onerror 
)

Description not yet available.

Parameters:

Definition at line 300 of file fvar_m51.cpp.

Referenced by calculate_laplace_approximation().

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.

Parameters:

Definition at line 17 of file dvect7.cpp.

dvar_vector log ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 209 of file fvar_a29.cpp.

dmatrix log ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 198 of file dmat20.cpp.

dvar_matrix log ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 205 of file fvar_m27.cpp.

d3_array log ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 17 of file d3arr2a.cpp.

Referenced by AD_pow_112(), AD_pow_12(), AD_pow_122(), AD_pow_2(), AD_pow_22(), AD_pow_222(), betai(), bounded_multivariate_normal(), bounded_multivariate_normal_mcmc(), bounded_multivariate_uniform(), bounded_multivariate_uniform_mcmc(), bounded_robust_multivariate_normal(), boundp(), boundpin(), 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(), dbeta(), dbinom(), density_negbinomial(), DF_cdvpow(), DF_dvdvpow(), df_ln_det_choleski(), dgamma(), dinvgamma(), dlnorm(), dmultinom(), dmvlogistic(), dnbinom(), dnorm(), function_minimizer::do_gauss_hermite_integration(), function_minimizer::do_gauss_hermite_integration_multi(), dpois(), dstudent_t(), dunif(), dzinbinom(), expdev(), expm(), fcomp1(), gamma_density(), gammln(), gammlnguts(), gasdev(), gcf(), laplace_approximation_calculator::generate_antithetical_rvs(), get_bounded_cauchy(), get_bounded_mixture(), get_bounded_normal(), get_bounded_normal_virtual(), laplace_approximation_calculator::get_gradient_for_hessian_calcs(), function_minimizer::get_hybrid_monte_carlo_value(), get_initial_u(), get_ln_det(), gser(), function_minimizer::hybrid_mcmc_routine(), inv(), inv_cumd_beta_stable(), inv_cumd_exp(), inv_cumd_exponential(), inv_cumd_gamma(), inv_cumd_logistic(), inv_cumd_mixture(), inv_cumd_mixture_02(), inv_cumd_norm_inner(), inv_cumd_norm_ln(), inv_cumd_norm_logistic(), invLogitProp(), function_minimizer::likeprof_routine(), ln_det(), ln_det_choleski(), ln_det_choleski_error(), ln_normal_tail_right(), log(), log_density_cauchy(), log_density_negbinomial(), log_density_poisson(), log_der_logistic(), log_gamma_density(), log_likelihood_mixture(), log_likelihood_mixture_02(), log_negbinomial_density(), lower_triangular_ln_det(), function_minimizer::mcmc_routine(), multifan(), multivariate_mixture(), negbinomial_density(), new_probing_bounded_multivariate_normal(), new_probing_bounded_multivariate_normal_mcmc(), nllBeta(), nllBinomial(), nllDirichlet(), nllGamma(), nllInverseGamma(), nllLognormal(), nllLognormal2(), nllMultiNomial(), nllNegativeBinomial(), nllNormal(), nllNormal2(), nllPoisson(), normalize_p(), pow(), probing_bounded_multivariate_normal(), probing_bounded_multivariate_normal_mcmc(), randn(), randpoisson(), regression(), rgamma(), rmvlogistic(), robust_regression(), function_minimizer::sd_routine(), funnel_init_df1b2variable::set_value(), random_effects_bounded_vector_info::set_value(), re_df1b2_init_bounded_vector::set_value(), set_value(), sgamma(), and solve().

dvar3_array log ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 68 of file f3arr2.cpp.

d4_array log ( const d4_array m)

Description not yet available.

Parameters:

Definition at line 62 of file d4arr1.cpp.

dvar4_array log ( const dvar4_array m)

Description not yet available.

Parameters:

Definition at line 62 of file f4arr1.cpp.

d5_array log ( const d5_array x)
dvar5_array log ( const dvar5_array m)

Description not yet available.

Parameters:

Definition at line 85 of file f5arr1.cpp.

dvector log10 ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 210 of file dvect6.cpp.

Referenced by log10(), and str().

dvar_vector log10 ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 164 of file fvar_ar8.cpp.

dvar_vector log_comb ( const dvar_vector n,
const dvector r 
)

Log-binomial of two arrays.

Parameters:
nan array
ran array
Returns:
log of the binomial coefficent

Definition at line 122 of file combv.cpp.

dvariable log_comb ( double  n,
const dvariable k 
)

Log of the binomial coefficent i.e log of 'n choose k'.

Parameters:
na number
ka number
Returns:
log of the binomial coefficent

Definition at line 49 of file combv.cpp.

dvar_vector log_comb ( const dvar_vector n,
const dvar_vector r 
)

Log-binomial of two arrays.

Parameters:
nan array
ran array
Returns:
log of the binomial coefficent

Definition at line 70 of file combv.cpp.

dvar_vector log_comb ( const dvector n,
const dvar_vector r 
)

Log-binomial of a number with an arrays.

Parameters:
na number
ran array
Returns:
log of the binomial coefficent

Definition at line 96 of file combv.cpp.

dvar_vector log_comb ( double  n,
const dvar_vector r 
)

Log-binomial of a number with an arrays.

Parameters:
na number
ran array
Returns:
log of the binomial coefficent

Definition at line 207 of file combv.cpp.

dvar_vector log_comb ( const dvariable n,
const dvector r 
)

Log-binomial of a number with an arrays.

Parameters:
na number
ran array
Returns:
log of the binomial coefficent

Definition at line 148 of file combv.cpp.

dvar_vector log_comb ( const dvariable n,
const dvar_vector r 
)

Log-binomial of a number with an arrays.

Parameters:
na number
ran array
Returns:
log of the binomial coefficent

Definition at line 168 of file combv.cpp.

dvariable log_comb ( const dvariable n,
double  k 
)

Log of the binomial coefficent i.e log of 'n choose k'.

Parameters:
na number
ka number
Returns:
log of the binomial coefficent

Definition at line 24 of file combv.cpp.

dvariable log_comb ( const dvariable n,
const dvariable k 
)

Log of the binomial coefficent i.e log of 'n choose k'.

Parameters:
na number
ka number
Returns:
log of the binomial coefficent

Definition at line 36 of file combv.cpp.

dvector log_comb ( double  n,
const dvector r 
)

Log-binomial of a number with an arrays.

Parameters:
na number
ran array
Returns:
log of the binomial coefficent

Definition at line 101 of file combc.cpp.

double log_density_cauchy ( const double &  x)

Description not yet available.

Parameters:

Definition at line 39 of file cumd_cau.cpp.

dvariable log_der_logistic ( double  a,
double  b,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 35 of file logit.cpp.

double log_negbinomial_density ( double  x,
double  mu,
double  tau 
)
double logistic ( double  a,
double  b,
const double &  x 
)
dvariable logistic ( double  a,
double  b,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 17 of file logit.cpp.

dvector lower_triagnular_solve_trans ( const dmatrix M,
const dvector y 
)
dvector lower_triagular_solve ( const dmatrix m,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 171 of file dmat35.cpp.

double lower_triangular_ln_det ( const dmatrix m)

Referenced by lower_triangular_ln_det().

double lower_triangular_ln_det ( const dmatrix m,
int &  sgn 
)

Description not yet available.

Parameters:

Definition at line 45 of file fvar_m53.cpp.

dvariable lower_triangular_ln_det ( const dvar_matrix m,
int &  sgn 
)

Description not yet available.

Parameters:

Definition at line 55 of file fvar_m53.cpp.

dvector lower_triangular_solve ( const dmatrix m,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 170 of file dmat37.cpp.

Referenced by choleski_solve_error(), and choleski_solve_neghess_error().

Description not yet available.

Parameters:

Definition at line 17 of file fvar_m53.cpp.

void ludcmp ( const dmatrix _a,
const ivector _indx,
const double &  _d 
)

Lu decomposition of a constant matrix.

Parameters:
_aA dmatrix; replaced by the by its resulting LU decomposition
_indxAn ivector containing the row permutations generated by partial pivoting
_dA double containing -1 or +1 depending whether the number of row interchanges was even or odd, repectively.

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

Definition at line 174 of file dmat3.cpp.

Referenced by inv(), ln_det(), ludcmp(), and solve().

void ludcmp_index ( const dmatrix _a,
const ivector _indx,
const double &  _d 
)

LU decomposition.

Deprecated:
This function may be completely unused?
\n\n The implementation of this algorithm was inspired by
"Numerical Recipes in C", 2nd edition,
Press, Teukolsky, Vetterling, Flannery, chapter 2

Definition at line 532 of file dmat3.cpp.

int make_sub_directory ( const char *  s)

Create a sub directory s.

Returns:
1 if successful, 0 otherwise.

Definition at line 96 of file makesub.cpp.

Referenced by DF_FILE::DF_FILE(), and grad_stack::grad_stack().

dmatrix MAT ( const dvector v,
int  n,
int  m 
)

The MAT operator is the inverse of the VEC operator.

It takes the elements of vector v and sequentially fills in the columns of an n by m matrix.

Parameters:
vectorv
integern, the number of rows in the resulting matrix
integerm, the umber of columns in the resulting matrix

Definition at line 45 of file dmat29.cpp.

dvar_matrix MAT ( const dvar_vector v,
int  n,
int  m 
)

The MAT operator is the inverse of the VEC operator.

It takes the elements of vector v and sequentially fills in the columns of an n by m matrix.

Parameters:
vectorv
integern, the number of rows in the resulting matrix
integerm, the umber of columns in the resulting matrix

Definition at line 46 of file fvar_m43.cpp.

double max ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 162 of file dmat.cpp.

int max ( const imatrix M)

Description not yet available.

Parameters:

Definition at line 17 of file imat9.cpp.

double max ( const dvector t1)

Description not yet available.

Parameters:

Definition at line 62 of file dvect7.cpp.

int max ( const ivector t1)

Description not yet available.

Parameters:

Definition at line 26 of file ivect10.cpp.

int Max ( const ivector t1)

Description not yet available.

Parameters:

Definition at line 17 of file ivect10.cpp.

unsigned long max ( unsigned long  u,
unsigned long  v 
)

Description not yet available.

Parameters:

Definition at line 35 of file maxmin.cpp.

double max ( const double  u,
const double  v 
)

Description not yet available.

Parameters:

Definition at line 17 of file maxmin.cpp.

int max ( int  i,
int  j,
int  k 
)

Description not yet available.

Parameters:

Definition at line 592 of file fvar_m40.cpp.

double mean ( const dvector v)
double mean ( const dmatrix m)

Compute the mean of the matrix m.

Parameters:

Definition at line 17 of file dmat24.cpp.

double mean ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 17 of file d3arr3.cpp.

dvariable mean ( const dvar_vector v)

Description not yet available.

Parameters:

Definition at line 58 of file fvar_a49.cpp.

dvariable mean ( const dvar_matrix )

Return the variable mean of matrix m.

Definition at line 11 of file fvar_m29.cpp.

dvariable mean ( const dvar3_array )

Return computed variable mean of variable 3-dimensional array m.

Definition at line 27 of file f3arr4.cpp.

dvariable mf_upper_bound ( const prevariable x,
double  M,
prevariable fpen 
)

Description not yet available.

Parameters:

Definition at line 17 of file mfupper.cpp.

double mf_upper_bound ( const double &  x,
double  M,
prevariable fpen 
)
dvector mfexp ( const dvector v1)

Safe version of exp that interpolates values greater than equal to 60 in each element of a vector v1.

Parameters:
v1a data vector

Definition at line 18 of file dvect19.cpp.

dvector mfexp ( const dvector v1,
const double  d 
)

Safe version of exp that interpolates values greater than equal to 60 in each element of a vector v1.

Parameters:
v1a data vector
dmacro for CGNU_DOUBLE

Definition at line 44 of file dvect19.cpp.

dvar_vector mfexp ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a50.cpp.

dvar_vector mfexp ( const dvar_vector v1,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a51.cpp.

dmatrix mfexp ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 35 of file dmat26.cpp.

dmatrix mfexp ( const dmatrix m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 57 of file dmat26.cpp.

dvar_matrix mfexp ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 35 of file fvar_m32.cpp.

dvar_matrix mfexp ( const dvar_matrix m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 50 of file fvar_m32.cpp.

d3_array mfexp ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 17 of file d3arr7.cpp.

Referenced by dnorm(), get_ft(), logitProp(), mfexp(), multifan(), plogis(), rgamma(), and rlnorm().

d3_array mfexp ( const d3_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 32 of file d3arr7.cpp.

dvar3_array mfexp ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr11.cpp.

dvar3_array mfexp ( const dvar3_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 32 of file f3arr11.cpp.

d4_array mfexp ( const d4_array m)

Description not yet available.

Parameters:

Definition at line 47 of file d4arr1.cpp.

dvar4_array mfexp ( const dvar4_array m)

Description not yet available.

Parameters:

Definition at line 47 of file f4arr1.cpp.

d5_array mfexp ( const d5_array x)
dvar5_array mfexp ( const dvar5_array m)

Description not yet available.

Parameters:

Definition at line 68 of file f5arr1.cpp.

double min ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 147 of file dmat.cpp.

int min ( const ivector t1)

Description not yet available.

Parameters:

Definition at line 43 of file ivect10.cpp.

int min ( const int  a,
const int  b 
)

Smallest of two integers.

Parameters:
aAn integer
bAn integer
Returns:
A integer $ z = \min(a,b)$

Definition at line 26 of file fvar_m15.cpp.

unsigned long min ( unsigned long  u,
unsigned long  v 
)

Description not yet available.

Parameters:

Definition at line 44 of file maxmin.cpp.

double min ( const double  u,
const double  v 
)

Description not yet available.

Parameters:

Definition at line 26 of file maxmin.cpp.

void myheapcheck ( char *  msg)

Does nothing.

This function is only defined for older Borland compilers. The user could provide an implementation that might be useful in certain circumstances.

Parameters:
msgPointer to character array.

Definition at line 688 of file dvector.cpp.

Referenced by dvar_vector::allocate(), sdmatrix::allocate(), d3_array::allocate(), dvar3_array::allocate(), dmatrix::dmatrix(), dmatrix::fill(), dvector::operator=(), independent_variables::operator=(), dvector::~dvector(), ivector::~ivector(), and sdmatrix::~sdmatrix().

double nd2fboundp ( double  x,
double  fmin,
double  fmax,
const double &  fpen 
)

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

Intended for use with df1b2 variables.

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 288 of file boundfun.cpp.

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

Description not yet available.

Parameters:

Definition at line 217 of file cmpdif6.cpp.

dvariable nograd_assign ( double  tmp)

Description not yet available.

Parameters:

Definition at line 54 of file cmpdif7.cpp.

Description not yet available.

Parameters:

Definition at line 199 of file cmpdif6.cpp.

Referenced by choleski_decomp(), choleski_decomp_positive(), det(), ln_det(), ln_det_choleski(), ln_det_choleski_error(), operator*(), solve(), and sum().

void nograd_assign_column ( const dvar_matrix m,
const dvector v,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 281 of file cmpdif6.cpp.

Referenced by inv().

void nograd_assign_row ( const dvar_matrix m,
const dvector v,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 28 of file cmpdif7.cpp.

Description not yet available.

Parameters:

Definition at line 249 of file cmpdif6.cpp.

double norm ( const d3_array m)
dvariable norm ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr2.cpp.

double norm ( const banded_symmetric_dmatrix B)

Definition at line 222 of file dmat38.cpp.

Description not yet available.

Parameters:

Definition at line 696 of file fvar_m40.cpp.

double norm2 ( const d3_array m)
dvariable norm2 ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 34 of file f3arr2.cpp.

double norm2 ( const banded_symmetric_dmatrix B)

Definition at line 227 of file dmat38.cpp.

Description not yet available.

Parameters:

Definition at line 705 of file fvar_m40.cpp.

int norm2 ( const ivector t1)

Description not yet available.

Parameters:

Definition at line 364 of file ivector.cpp.

dvariable norm_to_gamma ( const prevariable v,
const prevariable alpha,
double  bound 
)

Description not yet available.

Parameters:

Definition at line 17 of file vnormgam.cpp.

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

Description not yet available.

Parameters:

Definition at line 17 of file cnormgam.cpp.

double normal_tail_right ( const double &  x)

Description not yet available.

Parameters:

Definition at line 20 of file cumdist.cpp.

void normalized_gauss_hermite ( const dvector _x,
const dvector _w 
)

Gauss-Hermite quadature.

this is normlaized so that standard normal density integrates to 1

Parameters:
_xarray of abscissa
_warray of corresponding wights

Definition at line 343 of file gaussher.cpp.

Referenced by gauss_hermite_stuff::gauss_hermite_stuff().

int operator!= ( double  v0,
const prevariable v1 
)

Description not yet available.

Parameters:

Definition at line 62 of file compare.cpp.

dvector operator& ( const dvector t1,
const dvector t2 
)

Description not yet available.

Parameters:

Definition at line 17 of file dvect15.cpp.

dvar_vector operator& ( const dvar_vector t1,
const dvar_vector t2 
)

Description not yet available.

Parameters:

Definition at line 42 of file dvect15.cpp.

dvar_vector operator* ( const dvar_vector t1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a53.cpp.

dvar_vector operator* ( const dvar_vector t1,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a38.cpp.

dvar_vector operator* ( const dvector t1,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a55.cpp.

dvar_vector operator* ( const prevariable x,
const dvector t1 
)

Description not yet available.

Parameters:

Definition at line 43 of file fvar_a55.cpp.

dvector operator* ( const dvector t1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 17 of file dvect4.cpp.

dmatrix operator* ( const double  d,
const dmatrix m2 
)

Description not yet available.

Parameters:

Definition at line 93 of file dmat16.cpp.

dmatrix operator* ( const dmatrix m1,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 138 of file dmat16.cpp.

dvar_matrix operator* ( const prevariable x,
const dmatrix m 
)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_m38.cpp.

dvar_matrix operator* ( const dvar_matrix m,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 416 of file fvar_m27.cpp.

dvar_matrix operator* ( const prevariable x,
const dvar_matrix m 
)

Description not yet available.

Parameters:

Definition at line 360 of file fvar_m27.cpp.

dvar_matrix operator* ( const double  x,
const dvar_matrix m 
)

Description not yet available.

Parameters:

Definition at line 75 of file fvar_m38.cpp.

dvar_matrix operator* ( const dvar_matrix m,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 46 of file fvar_m38.cpp.

imatrix operator* ( const imatrix m1,
const imatrix m2 
)

Returns matrix multiplication (m1 x m2).

Parameters:
m1
m2

Definition at line 83 of file imat10.cpp.

d3_array operator* ( const d3_array m1,
const d3_array m2 
)
dmatrix operator* ( const d3_array t,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 17 of file d3arr12.cpp.

d3_array operator* ( const d3_array m1,
double  d 
)

Description not yet available.

Parameters:

Definition at line 242 of file d3arr2a.cpp.

d3_array operator* ( double  d,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 257 of file d3arr2a.cpp.

dvar3_array operator* ( const dvar3_array m1,
const d3_array m2 
)
dvar3_array operator* ( const dvar3_array m1,
const dvariable d 
)

Description not yet available.

Parameters:

Definition at line 221 of file f3arr9.cpp.

dvar3_array operator* ( const dvariable d,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 119 of file f3arr9.cpp.

dvar3_array operator* ( const dvariable d,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 136 of file f3arr9.cpp.

dvar3_array operator* ( double  d,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 153 of file f3arr9.cpp.

dvar_vector operator+ ( const double  x,
const dvar_vector t1 
)

Description not yet available.

Parameters:

Definition at line 28 of file fvar_a41.cpp.

dvar_vector operator+ ( const dvar_vector t1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_a41.cpp.

dvar_vector operator+ ( const prevariable x,
const dvar_vector t1 
)

Description not yet available.

Parameters:

Definition at line 28 of file fvar_a37.cpp.

dvar_vector operator+ ( const dvar_vector t1,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_a37.cpp.

dvector operator+ ( const double  x,
const dvector t1 
)

Description not yet available.

Parameters:

Definition at line 62 of file dvect4.cpp.

dvector operator+ ( const dvector t1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 77 of file dvect4.cpp.

dmatrix operator+ ( const double  d,
const dmatrix m2 
)

Description not yet available.

Parameters:

Definition at line 63 of file dmat16.cpp.

dvar_matrix operator+ ( const dvariable x,
const dmatrix m 
)

Description not yet available.

Parameters:

Definition at line 20 of file fvar_m57.cpp.

dmatrix operator+ ( const dmatrix m1,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 108 of file dmat16.cpp.

d3_array operator+ ( const d3_array m1,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 122 of file d3arr2a.cpp.

d3_array operator+ ( const d3_array m1,
double  d 
)

Description not yet available.

Parameters:

Definition at line 212 of file d3arr2a.cpp.

d3_array operator+ ( double  d,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 182 of file d3arr2a.cpp.

dvar3_array operator+ ( const dvar3_array m1,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 204 of file f3arr2.cpp.

dvar3_array operator+ ( const d3_array m1,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 272 of file f3arr2.cpp.

dvar3_array operator+ ( const dvar3_array m1,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 51 of file f3arr9.cpp.

dvar3_array operator+ ( const dvar3_array m1,
const dvariable d 
)

Description not yet available.

Parameters:

Definition at line 187 of file f3arr9.cpp.

dvar3_array operator+ ( const dvariable d1,
const dvar3_array m1 
)

Description not yet available.

Parameters:

Definition at line 238 of file f3arr9.cpp.

dvar3_array operator+ ( const dvariable d,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 85 of file f3arr9.cpp.

dvar3_array operator+ ( double  d,
const dvar3_array m1 
)

Description not yet available.

Parameters:

Definition at line 204 of file f3arr9.cpp.

dvar_vector operator- ( const double  x,
const dvar_vector t1 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a40.cpp.

dvar_vector operator- ( const dvar_vector t1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a39.cpp.

dvar_vector operator- ( const dvar_vector t1)

Description not yet available.

Parameters:

Definition at line 64 of file fvar_a40.cpp.

dvar_vector operator- ( const prevariable x,
const dvar_vector t1 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a36.cpp.

dvar_vector operator- ( const dvar_vector t1,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a35.cpp.

dvar_vector operator- ( const dvector t1,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a54.cpp.

dvector operator- ( const double  x,
const dvector t1 
)

Description not yet available.

Parameters:

Definition at line 92 of file dvect4.cpp.

dvector operator- ( const dvector t1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 107 of file dvect4.cpp.

dvector operator- ( const dvector t1)
dvar_matrix operator- ( const dvariable x,
const dmatrix m 
)

Description not yet available.

Parameters:

Definition at line 36 of file fvar_m57.cpp.

dmatrix operator- ( const double  d,
const dmatrix m2 
)

Description not yet available.

Parameters:

Definition at line 78 of file dmat16.cpp.

dmatrix operator- ( const dmatrix m1,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 123 of file dmat16.cpp.

d3_array operator- ( const d3_array m1,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 137 of file d3arr2a.cpp.

d3_array operator- ( const d3_array m1,
double  d 
)

Description not yet available.

Parameters:

Definition at line 227 of file d3arr2a.cpp.

d3_array operator- ( double  d,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 197 of file d3arr2a.cpp.

dvar3_array operator- ( const dvar3_array m1,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 221 of file f3arr2.cpp.

dvar3_array operator- ( const d3_array m1,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 289 of file f3arr2.cpp.

dvar3_array operator- ( const dvar3_array m1,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 68 of file f3arr9.cpp.

dvar3_array operator- ( const dvar3_array m1,
const dvariable d 
)

Description not yet available.

Parameters:

Definition at line 170 of file f3arr9.cpp.

dvar3_array operator- ( const dvariable d,
const d3_array m2 
)

Description not yet available.

Parameters:

Definition at line 102 of file f3arr9.cpp.

dvar3_array operator- ( const dvariable m1,
const dvar3_array m2 
)
dvar3_array operator- ( const double  d,
const dvar3_array m2 
)

Description not yet available.

Parameters:

Definition at line 12 of file f3arr4.cpp.

dmatrix operator- ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 17 of file dmat30.cpp.

dvar_matrix operator- ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_m45.cpp.

dvar_vector operator/ ( const double  x,
const dvar_vector t1 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a43.cpp.

dvar_vector operator/ ( const dvar_vector t1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a34.cpp.

dvar_vector operator/ ( const prevariable x,
const dvar_vector t1 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a42.cpp.

dvar_vector operator/ ( const dvar_vector t1,
const prevariable x 
)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a33.cpp.

dvector operator/ ( const double  x,
const dvector t1 
)

Description not yet available.

Parameters:

Definition at line 32 of file dvect4.cpp.

dvector operator/ ( const dvector t1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 47 of file dvect4.cpp.

dmatrix operator/ ( const dmatrix m,
const double  e 
)

Description not yet available.

Parameters:

Definition at line 35 of file dmat25.cpp.

dmatrix operator/ ( const double  e,
const dmatrix m 
)

Description not yet available.

Parameters:

Definition at line 50 of file dmat25.cpp.

dvar_matrix operator/ ( const dvar_matrix m,
const prevariable e 
)

Description not yet available.

Parameters:

Definition at line 50 of file fvar_m30.cpp.

dvar_matrix operator/ ( const dmatrix m,
const prevariable e 
)

Description not yet available.

Parameters:

Definition at line 65 of file fvar_m30.cpp.

dvar_matrix operator/ ( const dvar_matrix m,
const double  e 
)

Description not yet available.

Parameters:

Definition at line 35 of file fvar_m30.cpp.

dvar_matrix operator/ ( const double  e,
const dvar_matrix m 
)

Description not yet available.

Parameters:

Definition at line 35 of file fvar_m31.cpp.

dvar_matrix operator/ ( const prevariable e,
const dvar_matrix m 
)

Description not yet available.

Parameters:

Definition at line 50 of file fvar_m31.cpp.

d3_array operator/ ( const d3_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 17 of file d3arr2b.cpp.

d3_array operator/ ( double  m2,
const d3_array m1 
)
dvar3_array operator/ ( const prevariable d,
const dvar3_array m 
)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr10.cpp.

dvar3_array operator/ ( const prevariable d,
const d3_array m 
)

Description not yet available.

Parameters:

Definition at line 32 of file f3arr10.cpp.

dvar3_array operator/ ( const double  d,
const dvar3_array m 
)

Description not yet available.

Parameters:

Definition at line 47 of file f3arr10.cpp.

dvar3_array operator/ ( const dvar3_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 51 of file f3arr5.cpp.

dvar3_array operator/ ( const d3_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr5.cpp.

dvar3_array operator/ ( const dvar3_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 34 of file f3arr5.cpp.

d4_array operator/ ( const d4_array m,
double  d 
)

Description not yet available.

Parameters:

Definition at line 29 of file d4arr2.cpp.

d4_array operator/ ( double  d,
const d4_array m 
)

Description not yet available.

Parameters:

Definition at line 44 of file d4arr2.cpp.

dvar4_array operator/ ( const d4_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 17 of file f4arr2.cpp.

dvar4_array operator/ ( const dvar4_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 34 of file f4arr2.cpp.

dvar4_array operator/ ( const dvar4_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 51 of file f4arr2.cpp.

dvar5_array operator/ ( const d5_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 17 of file f5arr2.cpp.

dvar5_array operator/ ( const dvar5_array m,
double  d 
)

Description not yet available.

Parameters:

Definition at line 34 of file f5arr2.cpp.

dvar5_array operator/ ( const dvar5_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 51 of file f5arr2.cpp.

d5_array operator/ ( const d5_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 17 of file d5arr1.cpp.

d6_array operator/ ( const d6_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 17 of file d6arr1.cpp.

dvar6_array operator/ ( const d6_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 17 of file f6arr1.cpp.

dvar6_array operator/ ( const dvar6_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 34 of file f6arr1.cpp.

dvar6_array operator/ ( const dvar6_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 51 of file f6arr1.cpp.

d7_array operator/ ( const d7_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 17 of file d7arr1.cpp.

dvar7_array operator/ ( const d7_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 17 of file f7arr1.cpp.

dvar7_array operator/ ( const dvar7_array m,
const double  d 
)

Description not yet available.

Parameters:

Definition at line 34 of file f7arr1.cpp.

dvar7_array operator/ ( const dvar7_array m,
const prevariable d 
)

Description not yet available.

Parameters:

Definition at line 51 of file f7arr1.cpp.

int operator< ( double  v0,
const prevariable v1 
)

Description not yet available.

Parameters:

Definition at line 53 of file compare.cpp.

ostream& operator<< ( const ostream &  _ostr,
const dmatrix z 
)

Description not yet available.

Parameters:

Definition at line 35 of file dmat_io.cpp.

uostream& operator<< ( const uostream ostr,
const dmatrix z 
)

Description not yet available.

Parameters:

Definition at line 70 of file dmat_io3.cpp.

ostream& operator<< ( const ostream &  _s,
const d3_array z 
)

Description not yet available.

Parameters:

Definition at line 37 of file d3_io.cpp.

uostream& operator<< ( const uostream _ostr,
const d3_array z 
)

Description not yet available.

Parameters:

Definition at line 40 of file d3_io1.cpp.

ostream& operator<< ( const ostream &  _ostr,
const dvar3_array z 
)

Description not yet available.

Parameters:

Definition at line 34 of file fvar3_io.cpp.

uostream& operator<< ( const uostream _ostr,
const dvar3_array z 
)

Description not yet available.

Parameters:

Definition at line 68 of file d3_io1.cpp.

ostream& operator<< ( const ostream &  ostr,
const ivector z 
)

Insertion operator for ivector z.

Definition at line 34 of file ivect_io.cpp.

uostream& operator<< ( const uostream _ostr,
const ivector z 
)

Description not yet available.

Parameters:

Definition at line 71 of file ivec_io1.cpp.

ostream& operator<< ( const ostream &  _ostr,
const lvector z 
)

Description not yet available.

Parameters:

Definition at line 37 of file lvect_io.cpp.

uostream& operator<< ( const uostream _ostr,
const lvector z 
)

Description not yet available.

Parameters:

Definition at line 73 of file lvec_io1.cpp.

ostream& operator<< ( const ostream &  _ostr,
const dvector z 
)

Description not yet available.

Parameters:

Definition at line 37 of file dvect_io.cpp.

uostream& operator<< ( const uostream ostr,
const dvector z 
)

Description not yet available.

Parameters:

Definition at line 51 of file dvec_io2.cpp.

ostream& operator<< ( const ostream &  ostr,
const dvar_vector z 
)

Description not yet available.

Parameters:

Definition at line 36 of file fvara_io.cpp.

uostream& operator<< ( const uostream ostr,
const dvar_vector z 
)

Description not yet available.

Parameters:

Definition at line 70 of file fvarb_io.cpp.

ostream& operator<< ( const ostream &  _ostr,
const dvar_matrix z 
)

Description not yet available.

Parameters:

Definition at line 37 of file fvarm_io.cpp.

uostream& operator<< ( const uostream ostr,
const dvar_matrix z 
)

Description not yet available.

Parameters:

Definition at line 73 of file fvarm1_i.cpp.

ostream& operator<< ( const ostream &  _ostr,
const prevariable f 
)

Description not yet available.

Parameters:

Definition at line 36 of file fvar_io.cpp.

uostream& operator<< ( const uostream _ostr,
const prevariable f 
)

Description not yet available.

Parameters:

Definition at line 63 of file fvar_io.cpp.

ostream& operator<< ( const ostream &  _s,
preshowpoint  p 
)

Description not yet available.

Parameters:

Definition at line 51 of file admanip.cpp.

Referenced by operator<<().

ostream& operator<< ( const ostream &  _s,
prefixed  p 
)

Description not yet available.

Parameters:

Definition at line 72 of file admanip.cpp.

ostream& operator<< ( const ostream &  _s,
prescientific  p 
)

Description not yet available.

Parameters:

Definition at line 93 of file admanip.cpp.

ostream& operator<< ( const ostream &  _ostr,
const imatrix z 
)

Description not yet available.

Parameters:

Definition at line 37 of file imat_io.cpp.

ostream& operator<< ( const ostream &  _ostr,
const i3_array z 
)

Description not yet available.

Parameters:

Definition at line 38 of file i3_io.cpp.

prevariable& operator<< ( const prevariable _v1,
const prevariable v2 
)

Description not yet available.

Parameters:

Definition at line 29 of file depvars.cpp.

dvar_vector& operator<< ( const dvar_vector v1,
const dvar_vector v2 
)

Description not yet available.

Parameters:

Definition at line 41 of file depvars.cpp.

dvar_matrix& operator<< ( const dvar_matrix v1,
const dvar_matrix v2 
)

Description not yet available.

Parameters:

Definition at line 66 of file depvars.cpp.

ostream & operator<< ( const ostream &  _s,
const ptr_vector _v 
)

Description not yet available.

Parameters:

Definition at line 202 of file ptr_vec.cpp.

uostream& operator<< ( const uostream ofs,
const dfsdmat m 
)

Description not yet available.

Parameters:

Definition at line 287 of file dfsdmat.cpp.

ostream& operator<< ( const ostream &  s,
const fmm_control fmc 
)

<< operator to write function minimizer details

Parameters:
sstring of details
fmcfunction minimizer control object
Returns:
output stream of details.

Definition at line 117 of file fmm_cont.cpp.

ostream& operator<< ( const ostream &  ,
const dvar_matrix_position  
)
ostream& operator<< ( const ostream &  _ostr,
const d4_array z 
)

Description not yet available.

Parameters:

Definition at line 37 of file d4_io.cpp.

ostream& operator<< ( const ostream &  _ostr,
const d5_array z 
)

Description not yet available.

Parameters:

Definition at line 65 of file d4_io.cpp.

ostream& operator<< ( const ostream &  _ostr,
const d6_array z 
)

Description not yet available.

Parameters:

Definition at line 93 of file d4_io.cpp.

ostream& operator<< ( const ostream &  _ostr,
const dvar4_array z 
)

Description not yet available.

Parameters:

Definition at line 37 of file f4_io.cpp.

ostream& operator<< ( const ostream &  ostr,
const dvar5_array z 
)

Outputs dvar5_array z.

Definition at line 78 of file f4_io.cpp.

ostream& operator<< ( const ostream &  ostr,
const dvar6_array z 
)

Description not yet available.

Parameters:

Definition at line 100 of file f4_io.cpp.

ostream& operator<< ( const ostream &  _ostr,
const i5_array z 
)

Description not yet available.

Parameters:

Definition at line 38 of file i5io.cpp.

ostream& operator<< ( const ostream &  _ostr,
const i4_array z 
)

Description not yet available.

Parameters:

Definition at line 39 of file i4io.cpp.

ostream& operator<< ( const ostream &  ofs1,
const banded_symmetric_dmatrix S1 
)

Description not yet available.

Parameters:

Definition at line 21 of file dmat33.cpp.

ostream& operator<< ( const ostream &  _ofs,
const banded_symmetric_dvar_matrix S1 
)

Description not yet available.

Parameters:

Definition at line 145 of file fvar_m40.cpp.

ostream& operator<< ( const ostream &  _ofs,
const banded_lower_triangular_dmatrix S1 
)

Description not yet available.

Parameters:

Definition at line 258 of file dmat28.cpp.

ostream& operator<< ( const ostream &  _ofs,
const banded_lower_triangular_dvar_matrix S1 
)

Description not yet available.

Parameters:

Definition at line 196 of file fvar_m40.cpp.

ostream& operator<< ( const ostream &  _ofs,
const pre_column_print p 
)

Description not yet available.

Parameters:

Definition at line 17 of file dvect23.cpp.

ostream& operator<< ( const ostream &  _ofs,
const pre_zero_print p 
)

Description not yet available.

Parameters:

Definition at line 42 of file dvect23.cpp.

int operator<= ( double  v0,
const prevariable v1 
)

Description not yet available.

Parameters:

Definition at line 26 of file compare.cpp.

int operator== ( double  v0,
const prevariable v1 
)

Description not yet available.

Parameters:

Definition at line 17 of file compare.cpp.

int operator> ( double  v0,
const prevariable v1 
)

Description not yet available.

Parameters:

Definition at line 44 of file compare.cpp.

int operator>= ( double  v0,
const prevariable v1 
)

Description not yet available.

Parameters:

Definition at line 35 of file compare.cpp.

istream& operator>> ( const istream &  _istr,
const dmatrix _z 
)

Description not yet available.

Parameters:

Definition at line 78 of file dmat_io.cpp.

uistream& operator>> ( const uistream istr,
const dmatrix _z 
)

Description not yet available.

Parameters:

Definition at line 39 of file dmat_io3.cpp.

istream& operator>> ( const istream &  _istr,
const d3_array z 
)

Description not yet available.

Parameters:

Definition at line 74 of file d3_io.cpp.

uistream& operator>> ( const uistream _istr,
const d3_array z 
)

Description not yet available.

Parameters:

Definition at line 54 of file d3_io1.cpp.

istream& operator>> ( const istream &  _istr,
const dvar3_array z 
)

Description not yet available.

Parameters:

Definition at line 52 of file fvar3_io.cpp.

uistream& operator>> ( const uistream _istr,
const dvar3_array z 
)

Description not yet available.

Parameters:

Definition at line 82 of file d3_io1.cpp.

istream& operator>> ( const istream &  istr,
const ivector z 
)

Extraction operator for ivector _z.

Definition at line 84 of file ivect_io.cpp.

uistream& operator>> ( const uistream _istr,
const ivector _z 
)

Description not yet available.

Parameters:

Definition at line 43 of file ivec_io1.cpp.

istream& operator>> ( const istream &  _istr,
const lvector _z 
)

Description not yet available.

Parameters:

Definition at line 96 of file lvect_io.cpp.

uistream& operator>> ( const uistream _istr,
const lvector _z 
)

Description not yet available.

Parameters:

Definition at line 44 of file lvec_io1.cpp.

istream& operator>> ( const istream &  _istr,
const dvector _z 
)

Description not yet available.

Parameters:

Definition at line 83 of file dvect_io.cpp.

uistream& operator>> ( const uistream istr,
const dvector _z 
)

Description not yet available.

Parameters:

Definition at line 40 of file dvec_io2.cpp.

istream& operator>> ( const istream &  istr,
const dvar_vector _z 
)

Description not yet available.

Parameters:

Definition at line 82 of file fvara_io.cpp.

uistream& operator>> ( const uistream istr,
const dvar_vector _z 
)

Description not yet available.

Parameters:

Definition at line 39 of file fvarb_io.cpp.

istream& operator>> ( const istream &  _istr,
const dvar_matrix _z 
)

Description not yet available.

Parameters:

Definition at line 84 of file fvarm_io.cpp.

uistream& operator>> ( const uistream istr,
const dvar_matrix _z 
)

Description not yet available.

Parameters:

Definition at line 40 of file fvarm1_i.cpp.

istream& operator>> ( const istream &  _istr,
const prevariable _f 
)

Description not yet available.

Parameters:

Definition at line 47 of file fvar_io.cpp.

uistream& operator>> ( const uistream _istr,
const prevariable _f 
)

Description not yet available.

Parameters:

Definition at line 74 of file fvar_io.cpp.

istream& operator>> ( const istream &  _istr,
const imatrix z 
)

Description not yet available.

Parameters:

Definition at line 54 of file imat_io.cpp.

istream& operator>> ( const istream &  istr,
const i3_array z 
)

Description not yet available.

Parameters:

Definition at line 59 of file i3_io.cpp.

istream& operator>> ( const istream &  s,
const ptr_vector v 
)
uistream& operator>> ( const uistream _ifs,
const dfsdmat _m 
)

Description not yet available.

Parameters:

Definition at line 304 of file dfsdmat.cpp.

istream& operator>> ( const istream &  _istr,
const d4_array z 
)

Description not yet available.

Parameters:

Definition at line 51 of file d4_io.cpp.

istream& operator>> ( const istream &  _istr,
const d5_array z 
)

Description not yet available.

Parameters:

Definition at line 79 of file d4_io.cpp.

istream& operator>> ( const istream &  _istr,
const d6_array z 
)

Description not yet available.

Parameters:

Definition at line 107 of file d4_io.cpp.

istream& operator>> ( const istream &  istr,
const dvar4_array z 
)

Description not yet available.

Parameters:

Definition at line 52 of file f4_io.cpp.

istream& operator>> ( const istream &  istr,
const dvar5_array z 
)

Description not yet available.

Parameters:

Definition at line 87 of file f4_io.cpp.

istream& operator>> ( const istream &  istr,
const dvar6_array z 
)

Description not yet available.

Parameters:

Definition at line 113 of file f4_io.cpp.

istream& operator>> ( const istream &  istr,
const i5_array z 
)

Description not yet available.

Parameters:

Definition at line 59 of file i5io.cpp.

istream& operator>> ( const istream &  istr,
const i4_array z 
)

Description not yet available.

Parameters:

Definition at line 60 of file i4io.cpp.

int option_match ( int  argc,
char *  argv[],
const char *  option 
)

Checks if the program has been invoked with a particular command line argument ("string").

Parameters:
argcNumber of command line arguments (as in all C programs)
argvArray (of length argc) of command line arguments (as in all C programs)
optionShould be one of the possible command line arguments to an ADMB program.
Returns:
An index into "argv" where the match with "string" is obtained. In case of no match, the value "-1" is returned.

Definition at line 25 of file optmatch.cpp.

Referenced by ad_comm::ad_comm(), ad_comm::allocate(), allocate_dvariable_space(), function_minimizer::computations(), function_minimizer::computations1(), DF_FILE::DF_FILE(), dlist::dlist(), do_dll_housekeeping(), laplace_approximation_calculator::do_newton_raphson_banded(), get_f1b2buffer_size(), get_option_number(), grad_stack::grad_stack(), gradient_structure::gradient_structure(), function_minimizer::hess_inv(), function_minimizer::hess_routine_noparallel_random_effects(), function_minimizer::hybrid_mcmc_routine(), laplace_approximation_calculator::laplace_approximation_calculator(), function_minimizer::likeprof_routine(), function_minimizer::limited_memory_quasi_newton(), function_minimizer::limited_memory_quasi_newton_block(), function_minimizer::mcmc_computations(), function_minimizer::mcmc_routine(), function_minimizer::minimize(), laplace_approximation_calculator::operator()(), option_match(), function_minimizer::prof_minimize_re(), function_minimizer::pvm_master_mcmc_computations(), function_minimizer::quasi_newton_block(), function_minimizer::random_effects_maximization(), DF_FILE::~DF_FILE(), fixed_smartlist::~fixed_smartlist(), fixed_smartlist2::~fixed_smartlist2(), grad_stack::~grad_stack(), and test_smartlist::~test_smartlist().

int option_match ( int  argc,
char *  argv[],
const char *  option,
int &  nopt 
)

Checks if the program has been invoked with a particular command line argument ("string").

If so, counts the number of arguments ("nopt") to this command line option. For example if the program has been invoked with the command line option "-ind FILE", then nopt=1.

Parameters:
argcNumber of command line arguments (as in all C programs)
argvArray (of length argc) of command line arguments (as in all C programs)
optionShould be one of the possible command line arguments to an ADMB program.
noptOn return holds the number arguments/options associated with "string".
Returns:
An index into "argv" where the match with "string" is obtained. In case of no match, the value "-1" is returned.

Definition at line 118 of file optmatch.cpp.

int option_match ( char *  _s,
const char *  option,
int &  nopt 
)

Search for option in _s and returns number of option args in _nopt.

Returns:
If found return index (starts at 1), else return -1.

Definition at line 72 of file optmatch.cpp.

int option_match ( char *  _s,
const char *  option 
)

Search for option in _s.

Returns:
If found return index (starts at 1), else return -1.

Definition at line 46 of file optmatch.cpp.

dmatrix orthpoly ( int  n,
int  deg 
)

Description not yet available.

Parameters:

Definition at line 17 of file orthpoly.cpp.

dmatrix orthpoly ( int  n,
int  deg,
int  skip 
)

Description not yet available.

Parameters:

Definition at line 46 of file orthpoly.cpp.

d4_array orthpoly2 ( int  d1,
int  d2,
int  n,
int  m 
)

Description not yet available.

Parameters:

Definition at line 17 of file orthply2.cpp.

dmatrix orthpoly_constant_begin ( int  n,
int  deg,
int  nconst 
)

Description not yet available.

Parameters:

Definition at line 75 of file orthpoly.cpp.

dmatrix orthpoly_constant_begin_end ( int  n,
int  deg,
int  nconst_begin,
int  end_degree,
int  nconst_end 
)

Description not yet available.

Parameters:

Definition at line 143 of file orthpoly.cpp.

dmatrix outer_prod ( const dvector v1,
const dvector v2 
)

Description not yet available.

Parameters:

Definition at line 17 of file dmat23.cpp.

Referenced by function_minimizer::mcmc_routine(), and write_empirical_covariance_matrix().

dvar_matrix outer_prod ( const dvar_vector v1,
const dvar_vector v2 
)

Description not yet available.

Parameters:

Definition at line 211 of file fvar_ma6.cpp.

dvar_matrix outer_prod ( const dvector v1,
const dvar_vector v2 
)

Description not yet available.

Parameters:

Definition at line 269 of file fvar_ma6.cpp.

dvar_matrix outer_prod ( const dvar_vector v1,
const dvector v2 
)

Description not yet available.

Parameters:

Definition at line 290 of file fvar_ma6.cpp.

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.

Parameters:

Definition at line 17 of file fvar_a62.cpp.

Referenced by choleski_decomp_positive(), dfcholeski_decomp_banded_positive(), dfcholeski_decomp_positive(), and posfun().

dvar_matrix positive_definite_matrix ( const dvar_matrix MM,
double  eps,
dvariable _fpen 
)

Description not yet available.

Parameters:

Definition at line 36 of file fvar_m47.cpp.

dvector pow ( const dvector v1,
const double  x 
)

Description not yet available.

Parameters:

Definition at line 110 of file dvect6.cpp.

dvector pow ( const dvector v1,
int  x 
)

Description not yet available.

Parameters:

Definition at line 124 of file dvect6.cpp.

dvector pow ( const double  x,
const dvector v2 
)

Description not yet available.

Parameters:

Definition at line 154 of file dvect6.cpp.

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.

Parameters:
v1base elements
xexponent

Definition at line 39 of file ivect6.cpp.

ivector pow ( int  x,
const ivector v1 
)

Returns integer vector with base x raised with all the elements in exponent ivector x.

Parameters:
xbase
v1exponent

Definition at line 65 of file ivect6.cpp.

dvar_vector pow ( const dvar_vector v1,
const dvar_vector v2 
)

Description not yet available.

Parameters:

Definition at line 97 of file fvar_ar8.cpp.

dvar_vector pow ( const dvar_vector v1,
const dvector v2 
)

raise v1 to the power v2.

Parameters:
v1vector of bases
v2vector of exponents

Definition at line 147 of file f1b2v10.cpp.

dvar_vector pow ( const dvector ,
const dvar_vector t1 
)

Definition at line 646 of file fvar_a29.cpp.

dvector pow ( const dvector v1,
const dvector v2 
)

Description not yet available.

Parameters:

Definition at line 138 of file dvect6.cpp.

dvar_vector pow ( const dvar_vector v1,
const double  e 
)

Description not yet available.

Parameters:

Definition at line 433 of file fvar_a29.cpp.

dvar_vector pow ( const dvar_vector v1,
int  e 
)

Description not yet available.

Parameters:

Definition at line 545 of file fvar_a29.cpp.

dvar_vector pow ( const dvar_vector v1,
const prevariable e 
)

Description not yet available.

Parameters:

Definition at line 487 of file fvar_a29.cpp.

dvar_vector pow ( const dvector v1,
const prevariable e 
)

Description not yet available.

Parameters:

Definition at line 595 of file fvar_a29.cpp.

dvar_vector pow ( const prevariable x,
const dvar_vector v2 
)

Description not yet available.

Parameters:

Definition at line 116 of file fvar_ar8.cpp.

dmatrix pow ( const dmatrix m,
const double  e 
)

Description not yet available.

Parameters:

Definition at line 88 of file dmat20.cpp.

dmatrix pow ( const dmatrix m,
int  e 
)

Description not yet available.

Parameters:

Definition at line 66 of file dmat20.cpp.

dvar_matrix pow ( const dvar_matrix m,
const double  e 
)

Description not yet available.

Parameters:

Definition at line 149 of file fvar_m27.cpp.

dvar_matrix pow ( const dvar_matrix m,
const prevariable e 
)

Description not yet available.

Parameters:

Definition at line 135 of file fvar_m27.cpp.

dvar_matrix pow ( const dmatrix m,
const prevariable e 
)

Description not yet available.

Parameters:

Definition at line 121 of file fvar_m27.cpp.

dvar_matrix pow ( const dvar_matrix m,
int  e 
)

Description not yet available.

Parameters:

Definition at line 107 of file fvar_m27.cpp.

d3_array pow ( const d3_array m,
int  e 
)
dvar3_array pow ( const dvar3_array m,
int  e 
)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr8.cpp.

double randnegbinomial ( double  mu,
double  tau,
const random_number_generator rng 
)

Description not yet available.

Parameters:

Definition at line 17 of file rannegbn.cpp.

Referenced by dvector::fill_randnegbinomial(), and dvar_vector::fill_randnegbinomial().

double randpoisson ( double  xm,
const random_number_generator rng 
)

Poisson random deviates.

Parameters:
xmMean of Poisson distribution
rngInstance of class random_number_generator.
Returns:
Integer-valued double drawn from the Poisson distribution with given mean.

Definition at line 37 of file dranpois.cpp.

Referenced by dvector::fill_randpoisson(), dvar_vector::fill_randpoisson(), and randnegbinomial().

dvariable regression ( const dvector obs,
const dvar_vector pred 
)

Description not yet available.

Parameters:

Definition at line 17 of file vregress.cpp.

double regression ( const dvector obs,
const dvector pred 
)

Description not yet available.

Parameters:

Definition at line 17 of file cregress.cpp.

void report_gradstack_flag ( void  )

Description not yet available.

Parameters:

Definition at line 36 of file cmpdif3.cpp.

Referenced by set_gradstack_flag().

void reset_gradient_stack ( void  )
long int reset_gs_stack ( void  )
void reset_gs_stack ( long  int)
void* restore_ad_pointer ( void  )

Description not yet available.

Parameters:

Definition at line 226 of file cmpdif3.cpp.

Referenced by dfcholeski_sparse().

Description not yet available.

Parameters:

Definition at line 215 of file cmpdif11.cpp.

Referenced by dfcholeski_decomp_banded(), and dfcholeski_decomp_banded_positive().

Description not yet available.

Parameters:

Definition at line 97 of file cmpdif11.cpp.

Referenced by dfbltsolve().

Description not yet available.

Parameters:

Definition at line 76 of file cmpdif11.cpp.

Referenced by dfcholeski_decomp_banded(), and dfcholeski_decomp_banded_positive().

Description not yet available.

Parameters:

Definition at line 231 of file cmpdif11.cpp.

Description not yet available.

Parameters:

Definition at line 77 of file cmpdif6.cpp.

Description not yet available.

Parameters:

Definition at line 88 of file cmpdif5.cpp.

Description not yet available.

Parameters:

Definition at line 115 of file cmpdif6.cpp.

Referenced by cmdm_prod(), cmdv_prod(), df_xdet(), df_xldet(), dfinvpret(), dmcm_prod(), dmdv_solve(), and restore_d3_array_value().

Description not yet available.

Parameters:

Definition at line 68 of file cmpdif5.cpp.

Referenced by cmdm_prod(), cmdv_prod(), df_xdet(), df_xldet(), dfinvpret(), dmcm_prod(), dmdv_solve(), and restore_d3_array_value().

double restore_double_value ( void  )

Description not yet available.

Parameters:

Definition at line 153 of file cmpdif6.cpp.

dvector restore_dvar_matrix_derivative_column ( const dvar_matrix_position _pos,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 180 of file cmpdif6.cpp.

Referenced by dfinvpret().

dvector restore_dvar_matrix_derivative_row ( const dvar_matrix_position _pos,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 168 of file cmpdif6.cpp.

dvector restore_dvar_matrix_derivatives ( const dvar_matrix_position pos,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 142 of file cmpdif5.cpp.

Referenced by dv_minuseq(), dv_pluseq(), dv_xminuseq(), dv_xpluseq(), and restore_dvar_matrix_der_nozero().

Restores the size, address, and value information for a dvector.

Back up the stream and read the number of bytes written in the write function'' corresponding to thisread function''

Parameters:
tmpTo get indexmin and indexmax
Returns:
dvector

Definition at line 139 of file cmpdif4.cpp.

Referenced by cvdv_dot(), cvdv_elem_div(), cvdv_elem_prod(), DF_cdvpow(), df_xdet(), df_xldet(), dfinvpret(), dmdv_solve(), dvcv_dot(), dvcv_elem_div(), dvcv_elem_prod(), dvdv_elem_div(), funnel_derivatives(), and restore_dmatrix_value().

int restore_int_value ( void  )

Description not yet available.

Parameters:

Definition at line 41 of file cmpdif4.cpp.

Referenced by df_xdet(), df_xldet(), dfinvpret(), dmdv_solve(), dv_subassign(), and restore_imatrix_value().

Description not yet available.

Parameters:

Definition at line 156 of file cmpdif4.cpp.

Referenced by df_xdet(), df_xldet(), dfinvpret(), dmdv_solve(), dv_subassign(), and restore_imatrix_value().

void* restore_pointer_value ( void  )

Description not yet available.

Parameters:

Definition at line 166 of file cmpdif8.cpp.

double restore_prevariable_derivative ( void  )

Description not yet available.

Parameters:

Definition at line 116 of file cmpdif8.cpp.

double restore_prevariable_value ( void  )

Description not yet available.

Parameters:

Definition at line 131 of file cmpdif8.cpp.

Referenced by DF_cdvpow(), DF_dble_dv_div(), DF_dv_cdble_div(), DF_dv_dble_div(), DF_dv_dble_prod(), DF_dvdvpow(), and DF_vdble_dv_diveq().

Definition at line 2636 of file hs_sparse.cpp.

Referenced by calculate_importance_sample_shess().

dvar_hs_smatrix* return_choleski_decomp ( dvar_compressed_triplet st)

Definition at line 2653 of file hs_sparse.cpp.

Definition at line 2670 of file hs_sparse.cpp.

dvector return_choleski_factor_solve ( hs_smatrix *  PL,
dvector eps 
)

Definition at line 2693 of file hs_sparse.cpp.

Referenced by calculate_importance_sample_shess().

dvar_vector return_choleski_factor_solve ( dvar_hs_smatrix *  PL,
dvector eps 
)

Definition at line 2710 of file hs_sparse.cpp.

double robust_normal_logistic_mixture_deviate ( double  x,
double  spread 
)

Description not yet available.

Parameters:

Definition at line 118 of file cnorlogmix.cpp.

double robust_normal_mixture_deviate ( double  x,
double  spread 
)

Description not yet available.

Parameters:

Definition at line 130 of file cnorlogmix.cpp.

dvariable robust_normal_mixture_deviate ( const prevariable x,
double  spread 
)

Description not yet available.

Parameters:

Definition at line 30 of file vnorlogmix.cpp.

dvariable robust_regression ( const dvector obs,
const dvar_vector pred,
const double  a 
)

Description not yet available.

Parameters:

Definition at line 51 of file newreg2.cpp.

dvariable robust_regression ( const dvector obs,
const dvar_vector pred,
const dvariable a 
)

Description not yet available.

Parameters:

Definition at line 17 of file newreg2.cpp.

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.

Parameters:

Definition at line 29 of file dmat6.cpp.

Referenced by laplace_approximation_calculator::check_sparse_matrix_structure().

dvar_vector row ( const dvar_matrix m,
int  j 
)

Description not yet available.

Parameters:

Definition at line 27 of file fvar_ar7.cpp.

dmatrix row_vector ( const dvector v)

Description not yet available.

Parameters:

Definition at line 33 of file dvect13.cpp.

Description not yet available.

Parameters:

Definition at line 65 of file dvect13.cpp.

dvar_vector rowsum ( const dvar_matrix v)

Description not yet available.

Parameters:

Definition at line 40 of file fvar_a31.cpp.

dvector rowsum ( const dmatrix v)

Description not yet available.

Parameters:

Definition at line 55 of file dvect12.cpp.

Referenced by expm().

ivector rowsum ( const imatrix v)

Description not yet available.

Parameters:

Definition at line 40 of file imat8.cpp.

void save_ad_pointer ( void *  p)

Description not yet available.

Parameters:

Definition at line 215 of file cmpdif3.cpp.

Referenced by varchol().

void save_dmatrix_derivatives ( const dvar_matrix_position _pos,
const double  x,
const int &  i,
int &  j 
)

Description not yet available.

Parameters:

Definition at line 221 of file cmpdif5.cpp.

Referenced by df_xdet(), df_xldet(), dfinvpret(), and dmdv_solve().

void save_double_derivative ( const double  x,
const prevariable_position _pos 
)
void save_double_value ( double  x)

Description not yet available.

Parameters:

Definition at line 75 of file cmpdif8.cpp.

Referenced by choleski_decomp_positive(), det(), funnel_gradcalc(), ln_det(), operator*(), operator/(), dvar_vector::operator/=(), and pow().

void save_int_value ( int  x)

Description not yet available.

Parameters:

Definition at line 85 of file cmpdif8.cpp.

Referenced by check_derivative_values(), check_derivative_values_break(), empirical_covariance(), funnel_gradcalc(), and varchol().

void save_pointer_value ( void *  ptr)

Description not yet available.

Parameters:

Definition at line 95 of file cmpdif8.cpp.

void send_dv3_to_master ( const dvar3_array v)
void set_gradstack_flag ( char *  _str,
int  i,
int  j 
)

Description not yet available.

Parameters:

Definition at line 107 of file cmpdif3.cpp.

void set_gradstack_flag ( char *  str)

Description not yet available.

Parameters:

Definition at line 81 of file cmpdif3.cpp.

void set_value ( const dvar_matrix x,
const dvar_vector v,
const int &  _ii,
double  s 
)

Description not yet available.

Parameters:

Definition at line 235 of file set.cpp.

Referenced by set_value().

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.

Parameters:

Definition at line 272 of file set.cpp.

void set_value ( const dvar_vector _x,
const dvar_vector v,
const int &  _ii,
double  s 
)

Description not yet available.

Parameters:

Definition at line 128 of file set.cpp.

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.

Parameters:

Definition at line 169 of file set.cpp.

void set_value ( const prevariable _x,
const dvar_vector v,
const int &  _ii 
)

Description not yet available.

Parameters:

Definition at line 19 of file set.cpp.

void set_value ( const prevariable _x,
const dvar_vector v,
const int &  _ii,
double  s 
)

Description not yet available.

Parameters:

Definition at line 30 of file set.cpp.

void set_value ( const dvar_vector x,
const dvar_vector v,
const int &  _ii 
)

Description not yet available.

Parameters:

Definition at line 110 of file set.cpp.

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.

Parameters:

Definition at line 54 of file set.cpp.

void set_value ( const prevariable _u,
const dvar_vector x,
const int &  _ii,
const double  fmin,
const double  fmax,
const dvariable _fpen 
)

Description not yet available.

Parameters:

Definition at line 79 of file set.cpp.

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.

Parameters:

Definition at line 148 of file set.cpp.

void set_value ( const dvar_matrix x,
const dvar_vector v,
const int &  _ii 
)

Description not yet available.

Parameters:

Definition at line 217 of file set.cpp.

void set_value ( const dvar_matrix x,
const dvar_vector v,
const int &  ii,
const double  fmin,
const double  fmax,
const dvariable fpen 
)

Description not yet available.

Parameters:

Definition at line 254 of file set.cpp.

void set_value ( dvar3_array x,
const dvar_vector v,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 374 of file set.cpp.

void set_value ( dvar3_array x,
const dvar_vector v,
const int &  ii,
const double  fmin,
const double  fmax,
const dvariable fpen 
)

Description not yet available.

Parameters:

Definition at line 290 of file set.cpp.

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.

Parameters:

Definition at line 412 of file setin.cpp.

Referenced by set_value_inv().

void set_value_inv ( const dvar_matrix x,
const dvector v,
const int &  ii,
double  fmin,
double  fmax,
double  s 
)

Description not yet available.

Parameters:

Definition at line 450 of file setin.cpp.

void set_value_inv ( const dvar_vector x,
const dvector _v,
const int &  _ii,
double  s 
)

Description not yet available.

Parameters:

Definition at line 374 of file setin.cpp.

void set_value_inv ( const dvar_vector x,
const dvector _v,
const int &  _ii,
double  fmin,
double  fmax,
double  s 
)

Description not yet available.

Parameters:

Definition at line 337 of file setin.cpp.

void set_value_inv ( const dvar_matrix x,
const dvector v,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 394 of file setin.cpp.

void set_value_inv ( const prevariable x,
const dvector _v,
const int &  _ii,
double  s 
)

Description not yet available.

Parameters:

Definition at line 42 of file set.cpp.

void set_value_inv ( const prevariable x,
const dvector _v,
const int &  _ii 
)

Description not yet available.

Parameters:

Definition at line 295 of file setin.cpp.

void set_value_inv ( const dvar_matrix x,
const dvector v,
const int &  ii,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 431 of file setin.cpp.

void set_value_inv ( const dvar3_array x,
const dvector v,
const int &  ii,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 487 of file setin.cpp.

void set_value_inv ( const dvar3_array x,
const dvector v,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 469 of file setin.cpp.

void set_value_inv ( const double  x,
const dvector _v,
const int &  _ii 
)

Description not yet available.

Parameters:

Definition at line 17 of file setin.cpp.

void set_value_inv ( const prevariable x,
const dvector _v,
const int &  _ii,
double  fmin,
double  fmax,
double  s 
)

Description not yet available.

Parameters:

Definition at line 67 of file set.cpp.

void set_value_inv ( const prevariable u,
const dvector _x,
const int &  _ii,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 40 of file setin.cpp.

void set_value_inv ( const double  u,
const dvector _x,
const int &  _ii,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 28 of file setin.cpp.

void set_value_inv ( const dvector x,
const dvector _v,
const int &  _ii 
)

Description not yet available.

Parameters:

Definition at line 52 of file setin.cpp.

void set_value_inv ( const dvar_vector x,
const dvector _v,
const int &  _ii 
)

Description not yet available.

Parameters:

Definition at line 318 of file setin.cpp.

void set_value_inv ( const dvar_vector x,
const dvector _v,
const int &  _ii,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 101 of file setin.cpp.

void set_value_inv ( const dvector x,
const dvector _v,
const int &  _ii,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 84 of file setin.cpp.

void set_value_inv ( const dmatrix x,
const dvector v,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 118 of file setin.cpp.

void set_value_inv ( const dmatrix x,
const dvector v,
const int &  ii,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 136 of file setin.cpp.

void set_value_inv ( const d3_array x,
const dvector v,
const int &  ii 
)

Description not yet available.

Parameters:

Definition at line 155 of file setin.cpp.

void set_value_inv ( const d3_array x,
const dvector v,
const int &  ii,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 173 of file setin.cpp.

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.

Parameters:

Definition at line 192 of file setin.cpp.

Referenced by set_value_inv_partial().

void set_value_inv_partial ( const dvector x,
const dvector _v,
const int &  _ii,
int  n,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 214 of file setin.cpp.

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.

Parameters:

Definition at line 236 of file setin.cpp.

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.

Parameters:

Definition at line 251 of file setin.cpp.

void set_value_inv_partial ( const dvar_vector x,
const dvector _v,
const int &  _ii,
int  n,
const double  fmin,
const double  fmax 
)

Description not yet available.

Parameters:

Definition at line 273 of file setin.cpp.

void set_value_partial ( const dvar_vector x,
const dvar_vector v,
const int &  _ii,
int  n 
)

Description not yet available.

Parameters:

Definition at line 323 of file set.cpp.

Referenced by set_value_partial().

void set_value_partial ( const dvar_vector x,
const dvar_vector v,
const int &  _ii,
int  n,
const double  fmin,
const double  fmax,
const dvariable fpen 
)

Description not yet available.

Parameters:

Definition at line 348 of file set.cpp.

void set_value_partial ( const dvar_matrix x,
const dvar_vector v,
const int &  _ii,
int  n 
)

Description not yet available.

Parameters:

Definition at line 308 of file set.cpp.

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.

Parameters:

Definition at line 62 of file admanip.cpp.

Referenced by function_minimizer::sd_routine().

ostream& setscientific ( const ostream &  s)

Description not yet available.

Parameters:

Definition at line 41 of file admanip.cpp.

Referenced by laplace_approximation_calculator::do_newton_raphson_banded(), function_minimizer::hess_inv(), and initial_params::save().

double sfabs ( const double  v1)

Description not yet available.

Parameters:

Definition at line 20 of file dvect14.cpp.

Referenced by function_minimizer::hess_routine_noparallel_random_effects(), and sfabs().

dvector sfabs ( const dvector t1)

Description not yet available.

Parameters:

Definition at line 54 of file dvect14.cpp.

double sgamma ( double  a,
const random_number_generator _rng 
)

Description not yet available.

Parameters:

Definition at line 44 of file drangam.cpp.

Referenced by randnegbinomial(), and sgamma().

ivector sgn ( const dvector v)
ivector sgn ( const dvar_vector v)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_a58.cpp.

double sigmoid ( const double  v1)

Description not yet available.

Parameters:

Definition at line 34 of file dvar.cpp.

dvector sin ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 26 of file dvect6.cpp.

dvar_vector sin ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 64 of file fvar_a29.cpp.

dmatrix sin ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 154 of file dmat20.cpp.

dvar_matrix sin ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 191 of file fvar_m27.cpp.

d3_array sin ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 47 of file d3arr2a.cpp.

Referenced by boundp(), cmvbvu_(), cos(), DF_dvcos(), gammln(), mvbvu_(), nsin(), sin(), and tan().

dvar3_array sin ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 85 of file f3arr2.cpp.

Singular value decomposition.

param _a

Definition at line 71 of file dmat42.cpp.

dvector sinh ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 68 of file dvect6.cpp.

Referenced by cosh(), and sinh().

dvar_vector sinh ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 49 of file fvar_ar8.cpp.

int size_count ( const dvar_vector x)

Description not yet available.

Parameters:

Definition at line 17 of file size.cpp.

int size_count ( const dvar_matrix x)

Description not yet available.

Parameters:

Definition at line 41 of file size.cpp.

int size_count ( const dvar3_array x)

Description not yet available.

Parameters:

Definition at line 83 of file size.cpp.

int size_count ( const dvar4_array x)

Description not yet available.

Parameters:

Definition at line 104 of file size.cpp.

int size_count ( const dvector x)
int size_count ( const dmatrix x)

Description not yet available.

Parameters:

Definition at line 35 of file dsize.cpp.

int size_count ( const d3_array x)

Description not yet available.

Parameters:

Definition at line 67 of file dsize.cpp.

int size_count ( const d4_array x)

Description not yet available.

Parameters:

Definition at line 125 of file size.cpp.

int size_count_partial ( const dvar_vector x,
int  n 
)

Description not yet available.

Parameters:

Definition at line 29 of file size.cpp.

int size_count_partial ( const dvar_matrix x,
int  n 
)

Description not yet available.

Parameters:

Definition at line 62 of file size.cpp.

int size_count_partial ( const dvar3_array x,
int  n 
)

Description not yet available.

Parameters:

Definition at line 146 of file size.cpp.

int size_count_partial ( const dvector x,
int  n 
)

Description not yet available.

Parameters:

Definition at line 26 of file dsize.cpp.

Referenced by size_count_partial().

int size_count_partial ( const dmatrix x,
int  n 
)

Description not yet available.

Parameters:

Definition at line 51 of file dsize.cpp.

int size_count_partial ( const d3_array x,
int  n 
)

Description not yet available.

Parameters:

Definition at line 83 of file dsize.cpp.

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.

Parameters:
aaA dvar_matrix containing LU decomposition of input matrix. $a$.
zA dvar_vector containing the RHS, $b$ of the linear equation $A\cdot X = B$, to be solved.
Returns:
A dvar_vector containing solution vector $X$.

Definition at line 33 of file fvar_m24.cpp.

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.

Parameters:
aaA dvar_matrix containing LU decomposition of input matrix. $a$.
zA dvar_vector containing the RHS, $b$ of the linear equation $A\cdot X = B$, to be solved.
_ln_unsigned_deg
sign
Returns:
A dvar_vector containing solution vector $X$.

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

Definition at line 52 of file fvar_m24.cpp.

dvector solve ( const dmatrix aa,
const dvector z 
)
dvector solve ( const dmatrix aa,
const dvector z,
const double &  _ln_unsigned_det,
double &  sign 
)

Solve a linear system using LU decomposition.

Parameters:
aaA dmatrix containing LU decomposition of input matrix. $a$.
zA dvector containing the RHS, $b$ of the linear equation $A\cdot X = B$, to be solved.
_ln_unsigned_deg
sign
Returns:
A dvector containing solution vector $X$.



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

Definition at line 62 of file dmat34.cpp.

dvar_matrix solve ( const dvar_matrix aa,
const dvar_matrix zz 
)

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

dmatrix solve ( const banded_symmetric_dmatrix m,
const dmatrix n 
)

Description not yet available.

Parameters:

Definition at line 69 of file dmat37.cpp.

dmatrix solve ( const dmatrix m,
const dmatrix M 
)

/param aa /param tz

Definition at line 32 of file dmat38.cpp.

dvector solve ( const banded_symmetric_dmatrix m,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 38 of file dmat37.cpp.

Description not yet available.

Parameters:

Definition at line 18 of file fvar_m41.cpp.

dvector solve ( const banded_lower_triangular_dmatrix m,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 79 of file dmat37.cpp.

dvector solve ( const lower_triangular_dmatrix m,
const dvector v 
)

Description not yet available.

Parameters:

Definition at line 30 of file dmat36.cpp.

dvector solve ( const dcompressed_triplet ,
const dmatrix ,
const dvector  
)
dvector solve ( const dcompressed_triplet ,
const dvector ,
const hs_symbolic ,
int &  ierr 
)

Definition at line 2820 of file hs_sparse.cpp.

dvector solve ( const dcompressed_triplet ,
const dvector ,
const hs_symbolic  
)

Definition at line 2793 of file hs_sparse.cpp.

dvector solve ( const dcompressed_triplet ,
const dmatrix ,
const dvector ,
const hs_symbolic  
)

Description not yet available.

Parameters:

Definition at line 108 of file dmat37.cpp.

dvector solve_trans ( const lower_triangular_dmatrix M,
const dvector y 
)

Description not yet available.

Parameters:

Definition at line 17 of file fvar_m52.cpp.

dvar_vector sort ( const dvar_vector ,
int  NSTACK = 60 
)
dvector sort ( const dvector v,
int  NSTACK 
)

Quicksort.

Parameters:
vA dvector to be sorted.
NSTACKNot used.
Returns:
dvector object containing the input vector sorted in ascending order.



Adopted from the GNU C Library. http://www.corpit.ru/mjt/qsort.html

Definition at line 40 of file dvsort.cpp.

ivector sort ( const ivector v,
int  NSTACK 
)

Quicksort.

Parameters:
vVector of integers to be sorted
NSTACKNot used.
Returns:
ivector object containing the input vector sorted in ascending order.



Adopted from the GNU C Library. http://www.corpit.ru/mjt/qsort.html

Definition at line 40 of file ivsort.cpp.

dvector sort ( const dvector _v,
const ivector _index,
int  NSTACK 
)

Quicksort.

Parameters:
_vA dvector to be sorted.
_indexivector on return containing the input order of the original vector.
NSTACKNot used.
Returns:
ivector object containing the input vector sorted in ascending order.



Adopted from the GNU C Library. http://www.corpit.ru/mjt/qsort.html

Definition at line 77 of file dvsort.cpp.

ivector sort ( const ivector _v,
const ivector _index,
int  NSTACK 
)

Quicksort.

Parameters:
_vVector of integers to be sorted
_indexivector on return containing the input order of the original vector.
NSTACKNot used.
Returns:
ivector object containing the input vector sorted in ascending order.



Adopted from the GNU C Library. http://www.corpit.ru/mjt/qsort.html

Definition at line 74 of file ivsort.cpp.

dmatrix sort ( const dmatrix m,
int  column,
int  NSTACK 
)
imatrix sort ( const imatrix m,
int  col,
int  NSTACK 
)

Description not yet available.

Parameters:

Definition at line 17 of file imsort.cpp.

void spdll_exit ( int  )

Definition at line 54 of file gradstrc.cpp.

Referenced by do_dll_housekeeping().

dvector sqr ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 238 of file dvect6.cpp.

dvar_vector sqr ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 385 of file fvar_a29.cpp.

dmatrix sqr ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 242 of file dmat20.cpp.

dvar_matrix sqr ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 233 of file fvar_m27.cpp.

d3_array sqr ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 32 of file d3arr2c.cpp.

Referenced by sqr().

dvar3_array sqr ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 136 of file f3arr2.cpp.

dvector sqrt ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 224 of file dvect6.cpp.

dvar_vector sqrt ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 362 of file fvar_a29.cpp.

dmatrix sqrt ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 220 of file dmat20.cpp.

dvar_matrix sqrt ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 219 of file fvar_m27.cpp.

d3_array sqrt ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 17 of file d3arr2c.cpp.

Referenced by acos(), asin(), atan2(), bounded_multivariate_normal(), bounded_multivariate_normal_mcmc(), check_choleski_decomp(), chol(), choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), choleski_decomp_trust_bound(), cholnew(), cmvbvu_(), cs_amd(), cumd_cauchy(), dafsqrt(), density_cauchy(), DF_dvsqrt(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_banded(), dfcholeski_decomp_banded_positive(), dfcholeski_decomp_positive(), dfcholeski_sparse(), dmultinom(), gasdev(), gauss_hermite(), gauss_legendre(), laplace_approximation_calculator::generate_antithetical_rvs(), get_eigen(), get_eigen_values(), get_eigenv(), get_initial_u(), get_inverse_sparse_hessian(), function_minimizer::hess_routine_noparallel_random_effects(), imtqlx(), inv_cumd_cauchy(), inv_cumd_norm_inner(), inv_cumd_norm_ln(), inv_cumd_t(), kludge_cumd_cauchy(), lbfgs_(), ln_det_choleski(), ln_det_choleski_error(), log_density_cauchy(), lower_triangular_choleski_decomp_positive(), function_minimizer::mcmc_routine(), mcstep_(), function_minimizer::monte_carlo_routine(), multifan(), multivariate_mixture(), mvbvu_(), new_probing_bounded_multivariate_normal(), new_probing_bounded_multivariate_normal_mcmc(), nllLognormal(), nllNormal(), norm(), normalized_gauss_hermite(), orthpoly(), orthpoly_constant_begin(), orthpoly_constant_begin_end(), pearson_residuals(), probing_bounded_multivariate_normal(), probing_bounded_multivariate_normal_mcmc(), quiet_choleski_decomp(), randn(), randpoisson(), read_hessian_matrix_and_scale1(), dfsdmat::restore(), robust_regression(), save_number_of_local_effects(), function_minimizer::sd_routine(), sgamma(), sqr(), sqrt(), sqrt_m32(), sqrt_m5(), sqrt_m52(), std_dev(), svd_mln(), svd_nlm(), tmpxchol1(), tri_dag(), tri_dagv(), var(), and varchol().

dvar3_array sqrt ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 119 of file f3arr2.cpp.

d4_array sqrt ( const d4_array m)

Description not yet available.

Parameters:

Definition at line 17 of file d4arr1.cpp.

dvar4_array sqrt ( const dvar4_array m)

Description not yet available.

Parameters:

Definition at line 17 of file f4arr1.cpp.

d5_array sqrt ( const d5_array x)
dvar5_array sqrt ( const dvar5_array m)

Description not yet available.

Parameters:

Definition at line 34 of file f5arr1.cpp.

ivector square ( const ivector x)

Definition at line 39 of file d3arr4.cpp.

dvariable& square ( const prevariable v1)

Description not yet available.

Parameters:

Definition at line 26 of file fvar_op7.cpp.

dvar_vector square ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 19 of file fvar_a44.cpp.

dvar_matrix square ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 41 of file fvar_op7.cpp.

dvar3_array square ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr6.cpp.

double std_dev ( const dvector v)

Description not yet available.

Parameters:

Definition at line 41 of file cranfill.cpp.

dvariable std_dev ( const dvar_vector v)

Description not yet available.

Parameters:

Definition at line 43 of file fvar_a49.cpp.

int sub_unallocated ( const dvar_vector m)

Description not yet available.

Parameters:

Definition at line 17 of file suballoc.cpp.

Referenced by sub_unallocated().

int sub_unallocated ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 28 of file suballoc.cpp.

int sub_unallocated ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 58 of file suballoc.cpp.

int sub_unallocated ( const dvar4_array m)

Description not yet available.

Parameters:

Definition at line 88 of file suballoc.cpp.

int sub_unallocated ( const dvar5_array m)

Description not yet available.

Parameters:

Definition at line 118 of file suballoc.cpp.

int sub_unallocated ( const dvector m)

Description not yet available.

Parameters:

Definition at line 148 of file suballoc.cpp.

int sub_unallocated ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 159 of file suballoc.cpp.

int sub_unallocated ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 184 of file suballoc.cpp.

int sub_unallocated ( const d4_array m)

Description not yet available.

Parameters:

Definition at line 209 of file suballoc.cpp.

int sub_unallocated ( const d5_array m)

Description not yet available.

Parameters:

Definition at line 234 of file suballoc.cpp.

int sub_unallocated ( const ivector m)

Description not yet available.

Parameters:

Definition at line 259 of file suballoc.cpp.

int sub_unallocated ( const imatrix m)

Description not yet available.

Parameters:

Definition at line 270 of file suballoc.cpp.

int sub_unallocated ( const i3_array m)

Description not yet available.

Parameters:

Definition at line 295 of file suballoc.cpp.

int sub_unallocated ( const i4_array m)

Description not yet available.

Parameters:

Definition at line 320 of file suballoc.cpp.

AD_LONG_INT sum ( const lvector )
double sum ( const dvector v)

Description not yet available.

Parameters:

Definition at line 17 of file dvect12.cpp.

int sum ( const ivector v)

Return integer sum of all the elements in ivector v.

Parameters:
vinteger vector

Definition at line 23 of file ivect6.cpp.

int sum ( const imatrix m)

Description not yet available.

Parameters:

Definition at line 18 of file imat7.cpp.

double sum ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 74 of file dvect12.cpp.

double sum ( const d3_array m)
double sum ( const d4_array m)

Description not yet available.

Parameters:

Definition at line 45 of file d4arr.cpp.

double sum ( const d5_array m)

Description not yet available.

Parameters:

Definition at line 18 of file d5arr.cpp.

double sum ( const d6_array m)

Description not yet available.

Parameters:

Definition at line 421 of file d6arr.cpp.

double sum ( const d7_array m)

Description not yet available.

Parameters:

Definition at line 44 of file d7arr1.cpp.

dvariable sum ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 115 of file f3arr1.cpp.

dvariable sum ( const dvar4_array m)

Description not yet available.

Parameters:

Definition at line 77 of file f4arr1.cpp.

dvariable sum ( const dvar5_array m)

Description not yet available.

Parameters:

Definition at line 17 of file f5arr1.cpp.

dvariable sum ( const dvar6_array m)

Description not yet available.

Parameters:

Definition at line 96 of file f6arr1.cpp.

dvariable sum ( const dvar7_array m)

Description not yet available.

Parameters:

Definition at line 96 of file f7arr1.cpp.

double sumsq ( const d3_array )

Definition at line 176 of file d3arr2a.cpp.

dvariable sumsq ( const dvar3_array m)

Definition at line 45 of file f3arr2.cpp.

double sumsq ( const banded_symmetric_dmatrix B)

Definition at line 716 of file fvar_m40.cpp.

int sumsq ( const ivector v)

Definition at line 373 of file ivector.cpp.

dmatrix symmetrize ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 17 of file dmat12.cpp.

Referenced by eigenvalues(), eigenvectors(), and function_minimizer::random_effects_maximization().

Description not yet available.

Parameters:

Definition at line 80 of file fvar_m30.cpp.

Description not yet available.

Parameters:

Definition at line 58 of file dmat36.cpp.

dvector tan ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 54 of file dvect6.cpp.

dvar_vector tan ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 266 of file fvar_a29.cpp.

dmatrix tan ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 110 of file dmat20.cpp.

dvar_matrix tan ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 163 of file fvar_m27.cpp.

d3_array tan ( const d3_array m)

Description not yet available.

Parameters:

Definition at line 77 of file d3arr2a.cpp.

Referenced by AD_df1_tan(), AD_df2_tan(), AD_df3_tan(), dftinv(), param_init_bounded_vector::get_jacobian(), inv_cumd_cauchy(), randpoisson(), set_value_inv_mc(), tan(), and tan_address().

dvar3_array tan ( const dvar3_array m)

Description not yet available.

Parameters:

Definition at line 153 of file f3arr2.cpp.

dvector tanh ( const dvector v1)

Description not yet available.

Parameters:

Definition at line 96 of file dvect6.cpp.

Referenced by tanh().

dvar_vector tanh ( const dvar_vector v1)

Description not yet available.

Parameters:

Definition at line 81 of file fvar_ar8.cpp.

dvar_matrix tensor_prod ( const dvar_matrix a,
const dvar_matrix b 
)

The tensor product of two dvar_matrixes.

Parameters:
afirst dvar_matrix
bsecond dvar_matrix
Returns:
c a dvar_matrix of the tensor product.

Calcuates the tensor product of a and b. $ C = A \otimes B $

Definition at line 24 of file tensprod.cpp.

void test_the_pointer ( void  )

Definition at line 432 of file sgradclc.cpp.

Referenced by grad_stack::grad_stack().

void tracing_message ( int  _traceflag,
const char *  s 
)

Description not yet available.

Parameters:

Definition at line 79 of file newfmin.cpp.

Referenced by function_minimizer::computations(), function_minimizer::computations1(), fmm::fmin(), and function_minimizer::minimize().

void tracing_message ( int  _traceflag,
const char *  s,
int *  pn 
)

Description not yet available.

Parameters:

Definition at line 94 of file newfmin.cpp.

void tracing_message ( int  _traceflag,
const char *  s,
double *  pd 
)

Description not yet available.

Parameters:

Definition at line 109 of file newfmin.cpp.

void tracing_message ( int  _traceflag,
const char *  s,
double  d 
)

Description not yet available.

Parameters:

Definition at line 124 of file newfmin.cpp.

imatrix trans ( const imatrix m1)

Description not yet available.

Parameters:

Definition at line 32 of file imat3.cpp.

Description not yet available.

Parameters:

Definition at line 73 of file fvar_m27.cpp.

Referenced by cos(), elem_div(), elem_prod(), exp(), log(), operator*(), operator+(), operator-(), pow(), sin(), sqr(), sqrt(), and tan().

dmatrix use_shape ( const dmatrix m)

Description not yet available.

Parameters:

Definition at line 90 of file fvar_m27.cpp.

double& value ( const prevariable v1) [inline]

Definition at line 1449 of file fvar.hpp.

dmatrix value ( const dvar_matrix m)

Description not yet available.

Parameters:

Definition at line 22 of file fvar_m13.cpp.

d3_array value ( const dvar3_array ar)

Description not yet available.

Parameters:

Definition at line 17 of file f3arr3.cpp.

Description not yet available.

Parameters:

Definition at line 114 of file fvar_m40.cpp.

double var ( const dvector v)

Description not yet available.

Parameters:

Definition at line 28 of file cranfill.cpp.

Referenced by dnorm(), param_init_bounded_vector::mc_scale(), param_init_bounded_matrix::mc_scale(), neff(), and pearson_residuals().

dvariable var ( const dvar_vector v)

Description not yet available.

Parameters:

Definition at line 28 of file fvar_a49.cpp.

dvector VEC ( const dmatrix _m)

The VEC operator concatenates the columns of matrix M into a column vector.

Parameters:
matrixM

Definition at line 17 of file dmat29.cpp.

dvar_vector VEC ( const dvar_matrix _m)

The VEC operator concatenates the columns of matrix M into a column vector.

Parameters:
matrixM

Definition at line 17 of file fvar_m43.cpp.

Description not yet available.

Parameters:

Definition at line 62 of file dvect23.cpp.


Variable Documentation

Definition at line 52 of file gradstrc.cpp.

Referenced by ad_comm::ad_comm(), initial_params::add_to_list(), initial_df1b2params::add_to_list(), quadratic_prior::add_to_list(), df1b2quadratic_prior::add_to_list(), adnewhandler(), adpool::adpool(), adpool::alloc(), dfpool::alloc(), factor::allocate(), param_init_bounded_number_matrix::allocate(), imatrix::allocate(), df3_one_vector::allocate(), df1_one_vector::allocate(), df1_two_vector::allocate(), df1_three_vector::allocate(), funnel_init_df1b2variable::allocate(), dvector::allocate(), ivector::allocate(), df3_three_vector::allocate(), df3_two_vector::allocate(), init_df1b2vector::allocate(), test_smartlist::allocate(), ptr_vector::allocate(), fixed_smartlist::allocate(), lvector::allocate(), fixed_smartlist2::allocate(), df1b2vector::allocate(), param_init_vector::allocate(), df1b2matrix::allocate(), param_init_bounded_vector::allocate(), df1b23array::allocate(), param_init_number::allocate(), param_init_bounded_number::allocate(), param_init_matrix::allocate(), quadratic_prior::allocate(), dvar_vector::allocate(), dvar_matrix::allocate(), dmatrix::allocate(), d3_array::allocate(), i3_array::allocate(), dvar3_array::allocate(), d4_array::allocate(), dvar4_array::allocate(), i4_array::allocate(), i5_array::allocate(), d5_array::allocate(), dvar5_array::allocate(), d6_array::allocate(), dvar6_array::allocate(), d7_array::allocate(), dvar7_array::allocate(), lmatrix::allocate(), funnel_init_var::allocate_all(), laplace_approximation_calculator::allocate_block_diagonal_stuff(), allocate_dvariable_space(), arr_new(), arr_remove(), atan2(), laplace_approximation_calculator::banded_calculations(), banded_symmetric_dmatrix::banded_symmetric_dmatrix(), betacf(), 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_datafile_pointer(), laplace_approximation_calculator::check_derivatives(), laplace_approximation_calculator::check_hessian_type(), laplace_approximation_calculator::check_hessian_type2(), laplace_approximation_calculator::check_pool_size(), gradient_structure::check_set_error(), check_shape(), checkidentiferstring(), choleski_decomp(), choleski_decomp_error(), choleski_decomp_neghess_error(), choleski_decomp_positive(), colsum(), column(), function_minimizer::computations1(), grad_stack::create_gradfile(), laplace_approximation_calculator::default_calculations(), funnel_init_var::delete_from_list(), density_negbinomial(), derch(), det(), df1_one_matrix::df1_one_matrix(), df1_three_matrix::df1_three_matrix(), df1_two_matrix::df1_two_matrix(), df1b2_header_ptr_vector::df1b2_header_ptr_vector(), df3_one_matrix::df3_one_matrix(), df3_three_matrix::df3_three_matrix(), df3_two_matrix::df3_two_matrix(), DF_FILE::DF_FILE(), df_ln_det_choleski(), dfcholeski_decomp(), dfcholeski_decomp_positive(), dfcholeski_sparse(), dlist::dlist(), dmatrix::dmatrix(), dmultinom(), dnorm(), do_dll_housekeeping(), do_gauss_hermite_block_diagonal(), do_gauss_hermite_block_diagonal_multi(), laplace_approximation_calculator::do_newton_raphson_banded(), laplace_approximation_calculator::do_separable_stuff(), laplace_approximation_calculator::do_separable_stuff_hessian_type_information(), laplace_approximation_calculator::do_separable_stuff_laplace_approximation_banded_adjoint(), laplace_approximation_calculator::do_separable_stuff_newton_raphson_banded(), dot(), double_ptr_vector::double_ptr_vector(), dvar_matrix::dvar_matrix(), dvar_vector::dvar_vector(), dvector::dvector(), eigenvalues(), eigenvectors(), elem_div(), elem_prod(), admb::messages::error(), exp(), expm(), extract_diagonal(), fill(), dvector::fill(), dvar_vector::fill(), dvar_matrix::fill(), dmatrix::fill(), dvector::fill_randbi(), dvar_vector::fill_randbi(), dvector::fill_randbi_ni(), dvar_vector::fill_randbi_ni(), first_difference(), fmm::fmin(), fmmt1::fmin(), adpool::free(), funnel_init_df1b2variable::funnel_init_df1b2variable(), gauss_hermite(), gauss_hermite_stuff::gauss_hermite_stuff(), gauss_legendre(), laplace_approximation_calculator::generate_antithetical_rvs(), function_minimizer::get_bigS(), quadratic_prior::get_cgradient(), quadratic_prior::get_cHessian(), quadratic_prior::get_cHessian_contribution(), quadratic_prior::get_cHessian_from_vHessian(), get_eigen(), get_eigen_values(), get_eigenv(), laplace_approximation_calculator::get_hessian_components_banded_lme(), laplace_approximation_calculator::get_hessian_from_components_lme(), function_minimizer::get_hybrid_monte_carlo_value(), get_initial_u(), shareinfo::get_inv_matrix_shared(), shareinfo::get_inv_vector_shared(), df1b2quadratic_prior::get_Lxu(), get_second_ders(), quadratic_prior::get_vHessian(), grad_stack::grad_stack(), gradcalc(), gradient_structure::gradient_structure(), gradnew(), dfpool::grow(), adpool::grow(), function_minimizer::hess_inv(), function_minimizer::hess_routine(), function_minimizer::hess_routine_noparallel_random_effects(), function_minimizer::hess_routine_random_effects(), function_minimizer::hybrid_mcmc_routine(), i3_array::i3_array(), imatrix::imatrix(), imtqlx(), df1b2variable::increment_adpool_counter(), grad_stack::increment_current_gradfile_ptr(), 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_three_variable::init_df3_three_variable(), init_df3_two_variable::init_df3_two_variable(), dvar_vector::initialize(), inv(), inv_cumd_beta_stable(), inv_cumd_gamma(), gradient_structure::jacobcalc(), laplace_approximation_calculator::laplace_approximation_calculator(), function_minimizer::limited_memory_quasi_newton_block(), lmatrix::lmatrix(), ln_det(), ln_det_choleski(), ln_det_choleski_error(), log_comb(), log_density_negbinomial(), log_negbinomial_density(), lower_triangular_choleski_decomp_positive(), lower_triangular_solve(), lower_triangular_solve_trans(), lubksb(), lvector::lvector(), make_indvar_list(), function_minimizer::mcmc_routine(), mean(), memory_allocate_error(), function_minimizer::minimize(), negbinomial_density(), df1b2vector::noallocate(), nograd_assign_column(), nograd_assign_row(), double_index_guts::operator double(), index_guts::operator int(), vector_shape::operator new(), arr_link::operator new(), adstring_array::operator()(), vcubic_spline_function_array::operator()(), laplace_approximation_calculator::operator()(), ptr_vector::operator()(), dvar_vector_position::operator()(), operator*(), operator+(), dvector::operator+=(), df1b2matrix::operator+=(), dvar_vector::operator+=(), dvar_matrix::operator+=(), dmatrix::operator+=(), operator-(), dvector::operator-=(), df1b2matrix::operator-=(), dvar_vector::operator-=(), dvar_matrix::operator-=(), dmatrix::operator-=(), operator<<(), imatrix::operator=(), funnel_dependent_df1b2variable::operator=(), ivector::operator=(), dvector::operator=(), df1b2vector::operator=(), df1b2matrix::operator=(), independent_variables::operator=(), quadratic_prior::operator=(), df1b2quadratic_prior::operator=(), dvar_vector::operator=(), dvar_matrix::operator=(), dmatrix::operator=(), d3_array::operator=(), i3_array::operator=(), dvar3_array::operator=(), d4_array::operator=(), dvar4_array::operator=(), d5_array::operator=(), dvar5_array::operator=(), d6_array::operator=(), dvar6_array::operator=(), d7_array::operator=(), dvar7_array::operator=(), lmatrix::operator=(), banded_symmetric_dmatrix::operator=(), banded_lower_triangular_dmatrix::operator=(), adstring_array::operator[](), ptr_vector::operator[](), function_minimizer::prof_minimize_re(), param_init_d3array::pvm_pack(), function_minimizer::pvm_slave_likeprof_routine(), param_init_d3array::pvm_unpack(), function_minimizer::quasi_newton_block(), randnegbinomial(), test_smartlist::read_buffer(), fixed_smartlist::read_buffer(), fixed_smartlist2::read_buffer(), DF_FILE::read_cmpdif_stack_buffer(), dvar_matrix::read_from(), dmatrix::read_from(), grad_stack::read_grad_stack_buffer(), reorder(), df1b2variable::restore_adpool_pointer(), initial_df1b2params::restore_varsptr(), RETURN_ARRAYS_DECREMENT(), RETURN_ARRAYS_INCREMENT(), fixed_smartlist::rewind(), fixed_smartlist2::rewind(), dvector::safe_allocate(), ivector::safe_allocate(), dvector::safe_deallocate(), ivector::safe_deallocate(), dfsdmat::save(), df1b2variable::save_adpool_pointer(), gradient_structure::save_dependent_variable_position(), save_dmatrix_derivatives(), save_number_of_local_effects(), initial_df1b2params::save_varsptr(), function_minimizer::sd_routine(), gradient_structure::set_ARRAY_MEMBLOCK_SIZE(), param_init_vector_vector::set_scalefactor(), param_init_bounded_vector_vector::set_scalefactor(), param_init_matrix_vector::set_scalefactor(), param_init_bounded_matrix_vector::set_scalefactor(), param_init_number_vector::set_scalefactor(), param_init_bounded_number_vector::set_scalefactor(), funnel_init_df1b2variable::set_value(), param_init_vector::set_value_inv(), initial_params::setshare(), param_init_vector::setshare(), param_init_matrix::setshare(), param_init_d3array::setshare(), shape_check(), initial_params::shared_set_value(), initial_params::shared_set_value_inv(), initial_params::shared_size_count(), singval_decomp(), Sn(), solve(), solve_trans(), sort(), sqr(), sqrt(), symmetrize(), tmpxchol1(), trace(), tri_dag(), tri_dagv(), function_minimizer::trust_region_update(), function_minimizer::user_d2frandeff(), function_minimizer::user_dfrandeff(), function_minimizer::user_randeff(), verify_identifier_string(), test_smartlist::write(), fixed_smartlist::write(), fixed_smartlist2::write(), test_smartlist::write_buffer(), fixed_smartlist::write_buffer(), fixed_smartlist2::write_buffer(), fixed_smartlist::write_buffer_one_less(), fixed_smartlist2::write_buffer_one_less(), DF_FILE::write_cmpdif_stack_buffer(), grad_stack::write_grad_stack_buffer(), dvar_matrix::write_on(), dmatrix::write_on(), df1b2_gradlist::write_pass1_prod(), funnel_init_df1b2variable::xinit(), dvector::~dvector(), gradient_structure::~gradient_structure(), init_df3_three_variable::~init_df3_three_variable(), ivector::~ivector(), and ptr_vector::~ptr_vector().