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

Description not yet available. More...

#include <admodel.h>

Public Member Functions

 param_stddev_matrix (void)
 
void allocate (int rmin, int rmax, int cmin, int cmax, const char *s="UNNAMED")
 
virtual void copy_value_to_vector (const dvector &x, const int &ii)
 
virtual void get_sd_values (const dvector &x, const int &ii)
 
virtual const char * label (void)
 
param_stddev_matrixoperator= (const double m)
 Assign param_stddev_matrix with value. More...
 
param_stddev_matrixoperator= (const dmatrix &m)
 Assign param_stddev_matrix with values. More...
 
param_stddev_matrixoperator= (const dvar_matrix &m)
 Assign param_stddev_matrix with values. More...
 
virtual void set_dependent_variables (void)
 
virtual unsigned int size_count () const
 Returns the number of active parameters. More...
 
- Public Member Functions inherited from named_dvar_matrix
 named_dvar_matrix (void)
 
void allocate (int rmin, int rmax, int cmin, int cmax, const char *s)
 
void allocate (int rmin, int rmax, const char *s)
 
void allocate (const char *s)
 
void allocate (int rmin, int rmax, const index_type &cmin, const index_type &cmax, const char *s)
 
named_dvar_matrixoperator= (const double m)
 Assign named_dvar_matrix with value. More...
 
named_dvar_matrixoperator= (const dmatrix &m)
 Assigns named_dvar_matrix with values from dmatrix dm. More...
 
named_dvar_matrixoperator= (const dvar_matrix &m)
 Assign named_dvar_matrix with values. More...
 
named_dvar_matrixoperator= (const dvariable &m)
 Assign named_dvar_matrix with value. More...
 
- Public Member Functions inherited from dvar_matrix
 dvar_matrix ()
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
 dvar_matrix (const banded_symmetric_dvar_matrix &v)
 Description not yet available. More...
 
 dvar_matrix (const banded_lower_triangular_dvar_matrix &v)
 Description not yet available. More...
 
 dvar_matrix (const param_init_vector_vector &)
 
 dvar_matrix (const param_init_bounded_vector_vector &)
 
 dvar_matrix (const param_init_bounded_number_matrix &)
 Description not yet available. More...
 
 dvar_matrix (const ad_integer &nrl, const ad_integer &nrh, const index_type &ncl, const index_type &nch)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
 dvar_matrix (int, int, int, int)
 Constructs AD variable matrix with dimensions nrl to nrh by ncl to nch. More...
 
 dvar_matrix (int, int)
 Description not yet available. More...
 
 dvar_matrix (int, int, kkludge_object kk)
 Description not yet available. More...
 
 dvar_matrix (int, int, const ivector &, const ivector &)
 Description not yet available. More...
 
 dvar_matrix (int, int, int, const ivector &)
 Description not yet available. More...
 
 dvar_matrix (const dvar_matrix &)
 Copy constructor. More...
 
 dvar_matrix (const dmatrix &)
 Copy constructor. More...
 
 ~dvar_matrix ()
 Destructor. More...
 
void allocate (int nrl, int nrh, int ncl, int nch)
 Allocates AD variable matrix with dimensions nrl to nrh by ncl to nch. More...
 
void allocate (int nrl, int nrh)
 Allocate variable matrix with dimension [nrl to nrh] where columns are empty. More...
 
void allocate (ad_integer nrl, ad_integer nrh)
 Allocate variable matrix with dimension [nrl to nrh] where columns are empty. More...
 
void allocate (const dmatrix &m1)
 Allocate variable matrix using the same dimensions as m1. More...
 
void allocate (const dvar_matrix &m1)
 Allocate variable matrix using the same dimensions as m1. More...
 
void allocate (int nrl, int nrh, const ivector &ncl, const ivector &nch)
 Allocate variable matrix with dimensions [nrl to nrh] x [ncl to nch] where ncl and nch. More...
 
void allocate (int nrl, int nrh, int ncl, const ivector &nch)
 Allocate variable matrix with dimensions [nrl to nrh] x [ncl to nch] where nch is a vector of indexes. More...
 
void allocate (int nrl, int nrh, const ivector &ncl, int nch)
 Allocate variable matrix with dimensions [nrl to nrh] x [ncl to nch] where ncl is a vector of indexes. More...
 
void allocate (void)
 Does not allocate, but initializes members. More...
 
void allocate (const ad_integer &nrl, const ad_integer &nrh, const index_type &ncl, const index_type &nch)
 Allocates AD variable matrix with dimensions nrl to nrh by ncl to nch. More...
 
void colfill (int j, const dvar_vector &v)
 Fills column of a matrix with a vector (supplied) More...
 
void colfill_randn (const int &j, long int &n)
 Description not yet available. More...
 
void colfill_randn_ni (const int &j, long int &n)
 Description not yet available. More...
 
void colfill_randu (const int &j, long int &n)
 Description not yet available. More...
 
void colfill_randu_ni (const int &j, long int &n)
 Description not yet available. More...
 
void colfill_seqadd (const int &, double, double)
 Fills column of a matrix with a sequence of the form base, base+offset, base+2*offset,... More...
 
void colfill_seqadd_ni (const int &, double, double)
 
int colmax (void) const
 
int colmin (void) const
 
void colshift (int min)
 Description not yet available. More...
 
unsigned int colsize () const
 
void deallocate ()
 Deallocate dvar_matrix memory. More...
 
dvar_vectorelem (int i)
 
prevariable elem (int i, int j)
 
dvar_vectorelem (int i) const
 
prevariable elem (int i, int j) const
 
double & elem_value (int i, int j)
 
const double & elem_value (int i, int j) const
 
void fill (const char *)
 Fill values of dvar_matrix with text input from s with format rowmin...rowmax where ith row is {colmin,...,colmax}. 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 (void) const
 
int indexmin (void) const
 
void initialize (void)
 Zero initialize allocated dvar_matrix, then saves adjoint function and position data. More...
 
int operator! (void) const
 
dvar_vectoroperator() (int i)
 
const dvar_vectoroperator() (int i) const
 
prevariable operator() (int i, int j)
 
prevariable operator() (int i, int j) const
 
dvar_matrixoperator*= (const prevariable &t)
 Description not yet available. More...
 
dvar_matrixoperator*= (double t)
 Description not yet available. More...
 
dvar_matrixoperator++ (void)
 
dvar_matrixoperator+= (const dvar_matrix &x)
 Description not yet available. More...
 
dvar_matrixoperator+= (const dmatrix &x)
 Description not yet available. More...
 
dvar_matrixoperator-- (void)
 
dvar_matrixoperator-= (const dvar_matrix &x)
 Description not yet available. More...
 
dvar_matrixoperator-= (const dmatrix &x)
 Description not yet available. More...
 
dvar_matrixoperator/= (const prevariable &t)
 Description not yet available. More...
 
dvar_matrixoperator/= (double t)
 Description not yet available. More...
 
dvar_matrixoperator= (const dvar_matrix &)
 Assigns other values to dvar_matrix. More...
 
dvar_matrixoperator= (const dmatrix &)
 Assigns scalar matrix values to dvar_matrix. More...
 
dvar_matrixoperator= (double t)
 Description not yet available. More...
 
dvar_matrixoperator= (const prevariable &t)
 Description not yet available. More...
 
dvar_vectoroperator[] (int)
 
const dvar_vectoroperator[] (int) const
 
void read_from (const istream &)
 Read values to dvar_matrix from input istream s. More...
 
void read_from (const uistream &)
 Read values to dvar_matrix from input stream s. More...
 
void rowfill (int j, const dvar_vector &v)
 Fills row of a matrix with a vector (supplied) More...
 
void rowfill_randn (const int &i, long int &n)
 Description not yet available. More...
 
void rowfill_randn_ni (const int &i, long int &n)
 Description not yet available. More...
 
void rowfill_randu (const int &i, long int &n)
 Description not yet available. More...
 
void rowfill_randu_ni (const int &i, long int &n)
 Description not yet available. More...
 
void rowfill_seqadd (const int &, double, double)
 Fills vector with a sequence of the form base, base+offset, base+2*offset,... More...
 
int rowmax (void) const
 
int rowmin (void) const
 
void rowshift (int min)
 Description not yet available. More...
 
unsigned int rowsize () const
 
void save_dvar_matrix_position () const
 Description not yet available. More...
 
void save_dvar_matrix_value () const
 Saves the size, address, and value information for a dvar_matrix. More...
 
void shallow_copy (const dvar_matrix &)
 Shallow copy other data structure pointers. More...
 
dvar_matrix sub (int, int)
 Description not yet available. More...
 
void write_on (const ostream &) const
 Description not yet available. More...
 
void write_on (const uostream &) const
 Write values from dvar_matrix to output stream s. More...
 
- 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 Attributes

dmatrix sd
 

Additional Inherited Members

- Protected Attributes inherited from model_name_tag
adstring name
 
- Private Member Functions inherited from stddev_params
 stddev_params (void)
 
virtual void add_to_gui_list (void)
 
virtual void add_to_list (void)
 
void allocate (void)
 
virtual int getindex (void)
 
virtual void setindex (int)
 
- Static Private Member Functions inherited from stddev_params
static ivector copy_all_number_offsets (void)
 
static void copy_all_number_values (const dvector &x, const int &ii)
 
static void copy_all_values (const dvector &x, const int &ii)
 
static void get_all_sd_values (const dvector &x, const int &ii)
 
static void get_stddev_number_offset (void)
 
static int num_stddev_calc (void)
 
static int num_stddev_number_calc (void)
 
- Static Private Attributes inherited from stddev_params
static int num_stddev_number_params =0
 
static int num_stddev_params =0
 
static stddev_paramsstddev_number_ptr [150]
 
static stddev_paramsstddevptr [150]
 

Detailed Description

Description not yet available.

Parameters

Definition at line 2369 of file admodel.h.

Constructor & Destructor Documentation

param_stddev_matrix::param_stddev_matrix ( void  )

Definition at line 156 of file model2.cpp.

Member Function Documentation

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

Definition at line 170 of file model2.cpp.

void param_stddev_matrix::copy_value_to_vector ( const dvector x,
const int &  ii 
)
virtual

Implements stddev_params.

Definition at line 35 of file model4.cpp.

void param_stddev_matrix::get_sd_values ( const dvector x,
const int &  ii 
)
virtual

Implements stddev_params.

Definition at line 27 of file model41.cpp.

const char * param_stddev_matrix::label ( void  )
virtual

Implements stddev_params.

Definition at line 218 of file model2.cpp.

param_stddev_matrix & param_stddev_matrix::operator= ( const double  value)

Assign param_stddev_matrix with value.

Parameters
valuedouble

Definition at line 141 of file model11.cpp.

param_stddev_matrix & param_stddev_matrix::operator= ( const dmatrix value)

Assign param_stddev_matrix with values.

Parameters
valuesdmatrix

Definition at line 131 of file model11.cpp.

param_stddev_matrix & param_stddev_matrix::operator= ( const dvar_matrix values)

Assign param_stddev_matrix with values.

Parameters
valuesdvar_matrix

Definition at line 121 of file model11.cpp.

void param_stddev_matrix::set_dependent_variables ( void  )
virtual

Implements stddev_params.

Definition at line 178 of file model2.cpp.

unsigned int param_stddev_matrix::size_count ( ) const
virtual

Returns the number of active parameters.

Implements stddev_params.

Definition at line 165 of file model2.cpp.

Member Data Documentation

dmatrix param_stddev_matrix::sd

Definition at line 2372 of file admodel.h.

Referenced by allocate(), and get_sd_values().


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