ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
Public Member Functions | Private Member Functions
param_init_matrix Class Reference

Description not yet available. More...

#include <admodel.h>

Public Member Functions

 param_init_matrix (void)
void allocate (int rmin, int rmax, int cmin, int cmax, int phase_start=1, const char *="UNNAMED")
void allocate (int rmin, int rmax, int cmin, int cmax, const char *="UNNAMED")
void allocate (const ad_integer &imin, const ad_integer &imax, const index_type &imin2, const index_type &imax2, const ad_integer &phase_start, const char *s)
 Allocates matrix with row dimensions imin to imax and column dimensions imin2 to imax2 using specified phase_start.
void allocate (const ad_integer &rmin, const ad_integer &rmax, const index_type &cmin, const index_type &cmax, const char *="UNNAMED")
 Allocates matrix with row dimensions rmin to rmax and column dimensions cmin to cmax with phase_start defaulting to 1.
void allocate (const ad_integer &rmin, const ad_integer &rmax, const index_type &cmin, const index_type &cmax, int phase_start=1, const char *="UNNAMED")
 Allocates matrix with row dimensions rmin to rmax and column dimensions cmin to cmax using specified phase_start.
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 &)
virtual void hess_scale (const dvector &, const dvector &, const int &)
virtual const char * label (void)
virtual void mc_scale (const dvector &d, const dvector &x, const int &)
 Description not yet available.
param_init_matrixoperator= (const dmatrix &m)
 Assigment operator for dmatrix.
param_init_matrixoperator= (const dvar_matrix &m)
 Assigment operator for dvar_matrix.
param_init_matrixoperator= (const dvariable &m)
 Assigment operator for dvariable.
param_init_matrixoperator= (const double &m)
 Assigment operator for dvariable.
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, const dvector &, int &offset)
virtual void save_value (const ofstream &ofs, int prec)
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_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 int size_count (void)

Private Member Functions

virtual void add_value (const dvector &, const dvector &, const int &, const double &, const dvector &)
virtual void add_value (const dvector &, const int &)
virtual void dev_correction (const dmatrix &, const int &)
virtual void get_jacobian (const dvector &, const dvector &, const int &)
void pvm_pack (void)
void pvm_unpack (void)
virtual void set_simulation_bounds (const dmatrix &symbds, const int &ii)
virtual void shared_set_value (const dvar_vector &, const int &, const dvariable &pen)
virtual void shared_set_value_inv (const dvector &x, const int &ii)
virtual int shared_size_count (void)

Detailed Description

Description not yet available.

Parameters:

Definition at line 1303 of file admodel.h.


Constructor & Destructor Documentation

Definition at line 1000 of file model.cpp.


Member Function Documentation

void param_init_matrix::add_value ( const dvector y,
const dvector ndev,
const int &  _ii,
const double &  s,
const dvector diag 
) [private, virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 252 of file montebds.cpp.

void param_init_matrix::add_value ( const dvector ndev,
const int &  _ii 
) [private, virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 59 of file mod_mc1.cpp.

void param_init_matrix::allocate ( int  rmin,
int  rmax,
int  cmin,
int  cmax,
int  phase_start = 1,
const char *  s = "UNNAMED" 
)

Definition at line 809 of file model.cpp.

Referenced by param_init_matrix_vector::allocate().

void param_init_matrix::allocate ( int  rmin,
int  rmax,
int  cmin,
int  cmax,
const char *  s = "UNNAMED" 
)

Reimplemented from named_dvar_matrix.

Definition at line 794 of file model.cpp.

void param_init_matrix::allocate ( const ad_integer imin,
const ad_integer imax,
const index_type imin2,
const index_type imax2,
const ad_integer phase_start,
const char *  s 
)

Allocates matrix with row dimensions imin to imax and column dimensions imin2 to imax2 using specified phase_start.

Definition at line 73 of file model44.cpp.

void param_init_matrix::allocate ( const ad_integer rmin,
const ad_integer rmax,
const index_type cmin,
const index_type cmax,
const char *  s = "UNNAMED" 
)

Allocates matrix with row dimensions rmin to rmax and column dimensions cmin to cmax with phase_start defaulting to 1.

Definition at line 40 of file model30.cpp.

void param_init_matrix::allocate ( const ad_integer rmin,
const ad_integer rmax,
const index_type cmin,
const index_type cmax,
int  phase_start = 1,
const char *  s = "UNNAMED" 
)

Allocates matrix with row dimensions rmin to rmax and column dimensions cmin to cmax using specified phase_start.

Definition at line 13 of file model30.cpp.

void param_init_matrix::bsave_value ( uostream uos) [virtual]

Implements initial_params.

Definition at line 1017 of file model.cpp.

void param_init_matrix::copy_value_to_vector ( const dvector x,
const int &  ii 
) [virtual]

Implements initial_params.

Definition at line 42 of file model3.cpp.

void param_init_matrix::curv_scale ( const dvector d,
const dvector x,
const int &  _ii 
) [virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 45 of file model19.cpp.

void param_init_matrix::dev_correction ( const dmatrix H,
const int &  _ii 
) [private, virtual]

Implements initial_params.

Definition at line 20 of file model23.cpp.

void param_init_matrix::get_jacobian ( const dvector y,
const dvector ndev,
const int &  _ii 
) [private, virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 363 of file montebds.cpp.

virtual void param_init_matrix::hess_scale ( const dvector ,
const dvector ,
const int &   
) [inline, virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 1342 of file admodel.h.

const char * param_init_matrix::label ( void  ) [virtual]

Implements initial_params.

Definition at line 203 of file model11.cpp.

Referenced by save_value().

void param_init_matrix::mc_scale ( const dvector _v,
const dvector x,
const int &  _ii 
) [virtual]

Description not yet available.

Parameters:

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 115 of file mc_scale.cpp.

param_init_matrix & param_init_matrix::operator= ( const dmatrix _m)

Assigment operator for dmatrix.

Parameters:
mdmatrix with same dimensions
Returns:
set with assigned values from m

Reimplemented from named_dvar_matrix.

Reimplemented in dll_param_init_matrix.

Definition at line 59 of file model20.cpp.

Referenced by allocate(), param_init_bounded_matrix::allocate(), operator=(), and dll_param_init_matrix::operator=().

param_init_matrix & param_init_matrix::operator= ( const dvar_matrix _m)

Assigment operator for dvar_matrix.

Parameters:
mdvar_matrix with same dimensions
Returns:
set with assigned values from m

Reimplemented from named_dvar_matrix.

Reimplemented in dll_param_init_matrix.

Definition at line 69 of file model20.cpp.

param_init_matrix & param_init_matrix::operator= ( const dvariable d)

Assigment operator for dvariable.

Parameters:
ddvariable
Returns:
set with assigned value from d

Reimplemented from named_dvar_matrix.

Reimplemented in dll_param_init_matrix.

Definition at line 79 of file model20.cpp.

param_init_matrix & param_init_matrix::operator= ( const double &  d)

Assigment operator for dvariable.

Parameters:
ddvariable
Returns:
set with assigned value from d

Reimplemented in dll_param_init_matrix.

Definition at line 89 of file model20.cpp.

void param_init_matrix::pvm_pack ( void  ) [inline, private, virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 1314 of file admodel.h.

void param_init_matrix::pvm_unpack ( void  ) [inline, private, virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 1315 of file admodel.h.

void param_init_matrix::restore_value ( const ifstream &  ifs) [virtual]

Implements initial_params.

Definition at line 36 of file model13.cpp.

void param_init_matrix::restore_value_from_vector ( const dvector x,
const int &  ii 
) [virtual]

Implements initial_params.

Definition at line 131 of file model3.cpp.

void param_init_matrix::save_value ( ofstream &  ofs) [virtual]

Implements initial_params.

Definition at line 1011 of file model.cpp.

void param_init_matrix::save_value ( const ofstream &  ofs,
int  prec,
const dvector g,
int &  offset 
) [virtual]

Implements initial_params.

Definition at line 101 of file model12.cpp.

void param_init_matrix::save_value ( const ofstream &  ofs,
int  prec 
) [virtual]

Implements initial_params.

Definition at line 41 of file model12.cpp.

void param_init_matrix::sd_scale ( const dvector d,
const dvector x,
const int &  ii 
) [virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 69 of file model10.cpp.

void param_init_matrix::sd_vscale ( const dvar_vector d,
const dvar_vector x,
const int &  ii 
) [virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 47 of file model53.cpp.

void param_init_matrix::set_simulation_bounds ( const dmatrix symbds,
const int &  ii 
) [private, virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 86 of file montebds.cpp.

void param_init_matrix::set_value ( const dvar_vector x,
const int &  ii,
const dvariable pen 
) [virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 982 of file model.cpp.

void param_init_matrix::set_value_inv ( const dvector x,
const int &  ii 
) [virtual]

Implements initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 992 of file model.cpp.

void param_init_matrix::setshare ( const index_type sf,
const index_type af 
) [virtual]

Reimplemented from initial_params.

Definition at line 594 of file shared.cpp.

void param_init_matrix::shared_set_value ( const dvar_vector _x,
const int &  _ii,
const dvariable pen 
) [private, virtual]

Reimplemented from initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 99 of file shared.cpp.

void param_init_matrix::shared_set_value_inv ( const dvector x,
const int &  ii 
) [private, virtual]

Reimplemented from initial_params.

Reimplemented in param_init_bounded_matrix.

Definition at line 55 of file shared.cpp.

int param_init_matrix::shared_size_count ( void  ) [private, virtual]

Reimplemented from initial_params.

Definition at line 37 of file shared.cpp.

int param_init_matrix::size_count ( void  ) [virtual]

Implements initial_params.

Definition at line 1006 of file model.cpp.

Referenced by dev_correction().

List of all members.


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