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_matrix Class Reference

Description not yet available. More...

#include <admodel.h>

Public Member Functions

virtual ~dll_param_matrix ()
 Destructor. More...
 
void allocate (double *, int rmin, int rmax, int cmin, int cmax, const char *s)
 
void allocate (double *, int rmin, int rmax, const index_type &, const index_type &, const char *s)
 
dll_param_matrixoperator= (const dvariable &m)
 
dll_param_matrixoperator= (const double m)
 
dll_param_matrixoperator= (const dmatrix &m)
 
dll_param_matrixoperator= (const dvar_matrix &m)
 
- 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)
 

Private Attributes

double * pd
 

Additional Inherited Members

- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Description not yet available.

Parameters

Definition at line 293 of file admodel.h.

Constructor & Destructor Documentation

dll_param_matrix::~dll_param_matrix ( )
virtual

Destructor.

Definition at line 138 of file model32.cpp.

Member Function Documentation

void dll_param_matrix::allocate ( double *  _pd,
int  rmin,
int  rmax,
int  cmin,
int  cmax,
const char *  s 
)

Definition at line 296 of file model31.cpp.

void dll_param_matrix::allocate ( double *  ,
int  rmin,
int  rmax,
const index_type ,
const index_type ,
const char *  s 
)
dll_param_matrix & dll_param_matrix::operator= ( const dvariable m)

Definition at line 405 of file model31.cpp.

dll_param_matrix & dll_param_matrix::operator= ( const double  m)

Definition at line 400 of file model31.cpp.

dll_param_matrix & dll_param_matrix::operator= ( const dmatrix m)

Definition at line 410 of file model31.cpp.

dll_param_matrix & dll_param_matrix::operator= ( const dvar_matrix m)

Definition at line 395 of file model31.cpp.

Member Data Documentation

double* dll_param_matrix::pd
private

Definition at line 295 of file admodel.h.

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


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