ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
dll_param_init_d3array Class Reference

Description not yet available. More...

#include <admodel.h>

Public Member Functions

 dll_param_init_d3array ()
 
virtual ~dll_param_init_d3array ()
 
void allocate (double *_d, int hmin, int hmax, int rmin, int rmax, int cmin, int cmax, int phase_start=1, const char *="UNNAMED")
 
void allocate (double *_d, int hmin, int hmax, int rmin, int rmax, int cmin, int cmax, const char *="UNNAMED")
 
dll_param_init_d3arrayoperator= (const d3_array &)
 
dll_param_init_d3arrayoperator= (const dvar3_array &)
 
- Public Member Functions inherited from param_init_d3array
 param_init_d3array (void)
 
virtual void add_value (const dvector &, const dvector &, const int &, const double &, const dvector &)
 
virtual void add_value (const dvector &, const int &)
 
void allocate (const ad_integer &sl, const ad_integer &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch, const char *s="UNNAMED")
 Allocates param_init_d3array with row dimensions sl to sh, column dimensions nrl to nrh and height dimensions ncl to nch using default phase_start = 1. More...
 
void allocate (const ad_integer &sl, const ad_integer &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch, int phase_start=1, const char *s="UNNAMED")
 Allocates param_init_d3array with row dimensions sl to sh, column dimensions nrl to nrh and height dimensions ncl to nch using specified phase_start. More...
 
void allocate (int smin, int smax, int rmin, int rmax, int cmin, int cmax, int phase_start=1, const char *="UNNAMED")
 Allocates param_init_d3array with row dimensions smin to smax, column dimensions rmin to rmax and height dimensions cmin to cmax using default phase_start = 1. More...
 
void allocate (int smin, int smax, int rmin, int rmax, int cmin, int cmax, const char *="UNNAMED")
 Allocates param_init_d3array with row dimensions smin to smax, column dimensions rmin to rmax and height dimensions cmin to cmax using default phase_start = 1. More...
 
virtual void bsave_value (uostream &uos)
 
virtual void copy_value_to_vector (const dvector &x, const int &ii)
 
virtual void curv_scale (const dvector &d, const dvector &x, const int &ii)
 
virtual void dev_correction (const dmatrix &, const int &)
 
virtual void get_jacobian (const dvector &, const dvector &, const int &)
 
virtual void hess_scale (const dvector &d, const dvector &x, const int &ii)
 
virtual const char * label (void)
 
virtual void mc_scale (const dvector &d, const dvector &x, const int &)
 Description not yet available. More...
 
virtual void pvm_pack (void)
 
virtual void pvm_unpack (void)
 
void report_value (void)
 
virtual void restore_value (const ifstream &ifs)
 
virtual void restore_value_from_vector (const dvector &, const int &)
 
virtual void save_value (ofstream &ofs)
 
virtual void save_value (const ofstream &ofs, int prec)
 
virtual void save_value (const ofstream &ofs, int prec, const dvector &, int &offset)
 
virtual void sd_scale (const dvector &d, const dvector &x, const int &ii)
 
virtual void sd_vscale (const dvar_vector &d, const dvar_vector &x, const int &ii)
 
virtual void set_simulation_bounds (const dmatrix &symbds, const int &ii)
 
virtual void set_value (const dvar_vector &x, const int &ii, const dvariable &pen)
 
virtual void set_value_inv (const dvector &x, const int &ii)
 
virtual void setshare (const index_type &sf, const index_type &af)
 
virtual void shared_set_value (const dvar_vector &, const int &, const dvariable &pen)
 
virtual void shared_set_value_inv (const dvector &, const int &)
 
virtual int shared_size_count (void)
 
virtual unsigned int size_count () const
 Return number of active parameters. More...
 
- Public Member Functions inherited from named_dvar3_array
 named_dvar3_array (void)
 
void allocate (const ad_integer &sl, const ad_integer &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, int rmin, int rmax, int cmin, int cmax, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, int rmin, int rmax, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, const index_type &rmin, const index_type &rmax, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, const char *s="UNNAMED")
 
void allocate (const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, const ivector &rmin, int rmax, int cmin, int cmax, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, int rmin, const ivector &rmax, int cmin, int cmax, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, const ivector &rmin, const ivector &rmax, int cmin, int cmax, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, int rmin, int rmax, const ivector &cmin, int cmax, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, int rmin, int rmax, const ivector &cmin, const ivector &cmax, const char *s="UNNAMED")
 
void allocate (int hsl, int hsu, int rmin, int rmax, int cmin, const ivector &cmax, const char *s="UNNAMED")
 
named_dvar3_arrayoperator= (const dvar3_array &m)
 
named_dvar3_arrayoperator= (const d3_array &m)
 
- Public Member Functions inherited from dvar3_array
 dvar3_array (int, int)
 Description not yet available. More...
 
 dvar3_array (int sl, int sh, int nrl, int nrh, int ncl, int nch)
 Description not yet available. More...
 
 dvar3_array (int sl, int sh, int nrl, int nrh, const ivector &ncl, int nch)
 Description not yet available. More...
 
 dvar3_array (int sl, int sh, const ivector &nrl, const ivector &nrh, ivector &ncl, const ivector &nch)
 Description not yet available. More...
 
 dvar3_array (int sl, int sh, int nrl, const ivector &nrh, int ncl, const ivector &nch)
 Description not yet available. More...
 
 dvar3_array (int sl, int sh, int nrl, const ivector &nrh, int ncl, int nch)
 Description not yet available. More...
 
 dvar3_array (ad_integer sl, ad_integer sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch)
 Description not yet available. More...
 
 dvar3_array (const d3_array &m2)
 Description not yet available. More...
 
 dvar3_array (const param_init_matrix_vector &m2)
 
 dvar3_array (const param_init_bounded_matrix_vector &m2)
 
 dvar3_array (const dvar3_array &m2)
 Copy constructor. More...
 
 dvar3_array (void)
 Default constructor. More...
 
 ~dvar3_array ()
 Destructor. More...
 
void allocate (int sl, int sh, int nrl, int nrh, int ncl, int nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nch is a vector of indexes. More...
 
void allocate (int sl, int sh, int nrl, int nrh)
 Allocate vector of matrices having empty columns wht the dimensions [sl to sh] x [nrl to nrh]. More...
 
void allocate (int sl, int sh, const index_type &nrl, const index_type &nrh)
 Description not yet available. More...
 
void allocate (int sl, int sh)
 Allocate vector of empty matrices with dimension [sl to sh]. More...
 
void allocate (int sl, int sh, int nrl, int nrh, const ivector &ncl, int nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nch is a vector of indexes. More...
 
void allocate (const d3_array &m1)
 Allocate dvar3_array with same dimensions as m1. More...
 
void allocate (void)
 Does not allocte, but initialize class members. More...
 
void allocate (const dvar3_array &m1)
 Allocate dvar3_array with same dimensions as m1. More...
 
void allocate (int sl, int sh, int nrl, int nrh, const ivector &ncl, const ivector &nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nch is a vector of indexes. More...
 
void allocate (int sl, int sh, const ivector &nrl, const ivector &nrh, const ivector &ncl, const ivector &nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nrh and nch are vectors of indexes. More...
 
void allocate (int sl, int sh, const ivector &nrl, const ivector &nrh, int ncl, int nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nrl and nrh are vectors of indexes. More...
 
void allocate (int sl, int sh, const ivector &nrl, int nrh, int ncl, int nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nrl is a vector of indexes. More...
 
void allocate (int sl, int sh, int nrl, const ivector &nrh, int ncl, int nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nrh is a vector of indexes. More...
 
void allocate (int sl, int sh, int nrl, const ivector &nrh, int ncl, const ivector &nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nrh and nch are vectors of indexes. More...
 
void allocate (int sl, int sh, int nrl, int nrh, int ncl, const ivector &nch)
 Allocate variable vector of matrices with dimensions [sl to sh] x ([nrl to nrh] x [ncl to nch]) where nch is a vector of indexes. More...
 
void allocate (ad_integer sl, ad_integer sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch)
 Allocate array with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (ad_integer sl, ad_integer sh, const index_type &nrl, const index_type &nrh)
 Description not yet available. More...
 
void allocate (ad_integer sl, ad_integer sh)
 Allocate vector with dimension [sl to sh] of empty matrices. More...
 
int colmax (void) const
 
int colmin () const
 
int colsize () const
 
void deallocate ()
 Deallocate dvar3_array memory. More...
 
dvar_matrixelem (int i)
 ? Retrieves an element of a dvar3_array. More...
 
prevariable elem (int i, int j, int k)
 ? Retrieves an element of a dvar3_array. More...
 
const dvar_matrixelem (int i) const
 ? Retrieves an element of a dvar3_array. More...
 
const prevariable elem (int i, int j, int k) const
 ? Retrieves an element of a dvar3_array. More...
 
void fill_randn (long int &n)
 Description not yet available. More...
 
void fill_randn_ni (long int &n)
 Description not yet available. More...
 
void fill_randu (long int &n)
 Description not yet available. More...
 
void fill_randu_ni (long int &n)
 Description not yet available. More...
 
double fill_seqadd (double, double)
 Description not yet available. More...
 
unsigned int get_ncopies () const
 
int indexmax () const
 
int indexmin () const
 
void initialize (void)
 Description not yet available. More...
 
int operator! (void) const
 
const prevariable operator() (int k, int i, int j) const
 
const dvar_vectoroperator() (int k, int i) const
 
const dvar_matrixoperator() (int i) const
 
prevariable operator() (int k, int i, int j)
 
dvar_vectoroperator() (int k, int i)
 
dvar_matrixoperator() (int i)
 
void operator/= (const prevariable &)
 Description not yet available. More...
 
void operator/= (double)
 Description not yet available. More...
 
dvar3_arrayoperator= (const d3_array &m1)
 Assign element values from scalar arr3 to dvar3_array. More...
 
dvar3_arrayoperator= (double x)
 Assigns value to all elements of dvar3_array. More...
 
dvar3_arrayoperator= (const dvar3_array &m1)
 Assign values from other to dvar3_array. More...
 
const dvar_matrixoperator[] (int i) const
 
dvar_matrixoperator[] (int i)
 
int rowmax (void) const
 
int rowmin (void) const
 
int rowsize () const
 
void shallow_copy (const dvar3_array &)
 Shallow copy other data structure pointers. More...
 
int slicemax () const
 
int slicemin () const
 
unsigned int slicesize () const
 
dvar3_array sub (int, int)
 Description not yet available. More...
 
d3_array value (const dvar3_array &)
 
- Public Member Functions inherited from model_name_tag
 model_name_tag (void)
 
void allocate (const char *s)
 
const char * get_name (void)
 
label_class label (void)
 
- Public Member Functions inherited from initial_params
 initial_params (void)
 Default constructor. More...
 
virtual void add_to_list (void)
 
void allocate (int _phase_start)
 
double get_initial_value (void)
 
int get_phase_start (void)
 
double get_scalefactor ()
 
void restore_phase_start (void)
 
void set_active_flag (void)
 
void set_inactive_flag (void)
 
void set_initial_value (double x)
 
virtual void set_only_random_effects_active ()
 
virtual void set_only_random_effects_inactive ()
 
void set_phase_start (int x)
 
virtual void set_random_effects_active ()
 
virtual void set_random_effects_inactive ()
 
void set_scalefactor (const double)
 

Private Attributes

double * d
 

Additional Inherited Members

- Static Public Member Functions inherited from initial_params
static void add_random_vector (const dvector &x)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
static void add_random_vector (const dvector &y, const dvector &x, const double &ll, const dvector &diag)
 
static void copy_all_values (const dvector &x, const int &ii)
 
static int correct_for_dev_objects (const dmatrix &H)
 
static void get_jacobian_value (const dvector &y, const dvector &jac)
 
static adstring get_reportfile_name (void)
 
static int montecarlo_scale (const dvector &d, const dvector &x)
 Description not yet available. More...
 
static int num_active_calc (void)
 
static int nvarcalc ()
 
static int nvarcalc_all (void)
 Description not yet available. More...
 
static void read (void)
 
static dvariable reset (const dvar_vector &x)
 
static dvariable reset (const dvector &x)
 
static dvariable reset (const dvar_vector &x, const dvector &pen)
 
static dvariable reset1 (const dvar_vector &x, const dvector &g)
 
static dvariable reset_all (const dvar_vector &x, const dvector &pen)
 Description not yet available. More...
 
static void restore (const ifstream &ifs)
 
static void restore_all_values (const dvector &x, const int &ii)
 
static void restore_start_phase (void)
 
static void save (void)
 
static void save (const ofstream &ofs, int prec)
 Author: David Fournier Copyright (c) 2008-2014 Regents of the University of California. More...
 
static void save_all (const ofstream &_ofs, int prec, const dvector &g)
 Write all values of g into output stream _ofs. More...
 
static void set_active_only_random_effects (void)
 
static void set_active_random_effects (void)
 
static void set_all_simulation_bounds (const dmatrix &symbds)
 
static void set_all_simulation_bounds (const dmatrix &symbds, const dvector &)
 
static void set_inactive_only_random_effects (void)
 
static void set_inactive_random_effects (void)
 
static int stddev_curvscale (const dvector &d, const dvector &x)
 
static int stddev_scale (const dvector &d, const dvector &x)
 
static int stddev_vscale (const dvar_vector &d, const dvar_vector &x)
 
static void xinit (const dvector &x)
 
static void xinit1 (const dvector &x, const dvector &g)
 
static void xinit_all (const dvector &x)
 Description not yet available. More...
 
- Public Attributes inherited from initial_params
int phase_save
 
int phase_start
 
int phase_stop
 
- Static Public Attributes inherited from initial_params
static int current_phase =1
 
static bool in_hessian_phase = false
 
static int max_num_initial_params = 0
 
static int max_number_phases =1
 
static int mc_phase =0
 
static int mceval_phase =0
 
static int num_active_initial_params
 
static int num_initial_params = 0
 
static int restart_phase =0
 
static int sd_phase =0
 
static int straight_through_flag =0
 
static adlist_ptr varsptr
 
- Protected Member Functions inherited from initial_params
virtual ~initial_params ()
 Destructor. More...
 
- Protected Attributes inherited from model_name_tag
adstring name
 
- Protected Attributes inherited from initial_params
int active_flag
 
double initial_value
 
int initial_value_flag
 
double scalefactor
 
shareinfoshare_flags
 

Detailed Description

Description not yet available.

Parameters

Definition at line 2537 of file admodel.h.

Constructor & Destructor Documentation

dll_param_init_d3array::~dll_param_init_d3array ( )
virtual

Definition at line 101 of file model35.cpp.

dll_param_init_d3array::dll_param_init_d3array ( )
inline

Definition at line 2547 of file admodel.h.

Member Function Documentation

void dll_param_init_d3array::allocate ( double *  _d,
int  hmin,
int  hmax,
int  rmin,
int  rmax,
int  cmin,
int  cmax,
int  phase_start = 1,
const char *  _s = "UNNAMED" 
)

Definition at line 126 of file model35.cpp.

void dll_param_init_d3array::allocate ( double *  _d,
int  hmin,
int  hmax,
int  rmin,
int  rmax,
int  cmin,
int  cmax,
const char *  _s = "UNNAMED" 
)

Definition at line 148 of file model35.cpp.

dll_param_init_d3array & dll_param_init_d3array::operator= ( const d3_array m)

Definition at line 180 of file model35.cpp.

dll_param_init_d3array & dll_param_init_d3array::operator= ( const dvar3_array m)

Definition at line 173 of file model35.cpp.

Member Data Documentation

double* dll_param_init_d3array::d
private

Definition at line 2539 of file admodel.h.

Referenced by allocate(), dll_param_init_d3array(), and ~dll_param_init_d3array().


The documentation for this class was generated from the following files: