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

Description not yet available. More...

#include <admodel.h>

Protected Member Functions

 named_imatrix (void)
 
void allocate (int rmin, int rmax, int cmin, int cmax, const char *s)
 
void allocate (int rmin, int rmax, const index_type &cmin, const index_type &cmax, const char *s)
 
named_imatrixoperator= (const imatrix &m)
 
named_imatrixoperator= (const int &m)
 

Additional Inherited Members

- Public Member Functions inherited from imatrix
 imatrix (int, int)
 Construct integer matrix with row dimension [nrl to nrh] where each column is empty. More...
 
 imatrix (int nrl, int nrh, const ivector &iv)
 Construct integer matrix with row dimension [nrl to nrh] where columns of imatrix references column. More...
 
 imatrix (int, int, int, int)
 Construct integer matrix with the dimensions [nrl to nrh] x [ncl to nch]. More...
 
 imatrix (int, int, int, const ivector &)
 Description not yet available. More...
 
 imatrix (int, int, const ivector &, const ivector &)
 Description not yet available. More...
 
 imatrix (const ad_integer &nrl, const ad_integer &nrh, const index_type &ncl, const index_type &nch)
 Description not yet available. More...
 
 imatrix (const imatrix &)
 Copy constructor - Shallow. More...
 
 imatrix (const imatrix_position &)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
 imatrix (void)
 Default constructor. More...
 
 ~imatrix ()
 Destructor. More...
 
void allocate (void)
 Does not allocate, but initializes imatrix members. More...
 
void allocate (int nrl, int nrh, const ivector &iv)
 Allocate integer matrix with row dimension [nrl to nrh] where columns of imatrix references column. More...
 
void allocate (const imatrix &dm)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
void allocate (int nrl, int nrh, int ncl, int nch)
 Allocate integer matrix with the dimensions [nrl to nrh] x [ncl to nch]. More...
 
void allocate (int nrl, int nrh)
 Allocate integer matrix with row dimension [nrl to nrh] where each column is empty. More...
 
void allocate (int nrl, int nrh, int ncl, const ivector &nch)
 Allocate ragged matrix with dimensions [nrl to nrh] x [ncl to nch] where nch is vector of upper column indexes. More...
 
void allocate (int nrl, int nrh, const ivector &ncl, const ivector &nch)
 Allocate ragged matrix with dimensions [nrl to nrh] x [ncl to nch] where ncl and nch are vectors on lower and upper column indexes. More...
 
void allocate (const ad_integer &nrl, const ad_integer &nrh, const index_type &ncl, const index_type &nch)
 Allocate matrix on integers with dimension [nrl to nrh] x [ncl to nch]. More...
 
ivectorbegin () const
 
void colfill_seqadd (int, int, int)
 Fills column of a matrix with a sequence of the form base, base+offset, base+2*offset,... More...
 
int colmax (void) const
 
int colmin (void) const
 
unsigned int colsize () const
 Returns the number of columns. More...
 
void deallocate ()
 Deallocate imatrix memory. More...
 
ivectorelem (int i)
 
const ivectorelem (int i) const
 
int & elem (int i, int j)
 
const int & elem (int i, int j) const
 
ivectorend () const
 
void fill_seqadd (int, int)
 Fill imatrix with sequence of integers from start and adding with increment. More...
 
unsigned int get_ncopies () const
 
int indexmax () const
 
int indexmin () const
 
void initialize (void)
 Description not yet available. More...
 
bool is_valid_row (const int i) const
 Check index i is in matrix row bounds [index_min, index_max]. More...
 
int operator! (void) const
 
ivectoroperator() (int)
 
int & operator() (int, int)
 
const ivectoroperator() (int) const
 
const int & operator() (int, int) const
 
imatrixoperator= (const imatrix &t)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
imatrixoperator= (const int)
 Assigns value to all elements of imatrix. More...
 
ivectoroperator[] (int)
 
const ivectoroperator[] (int) const
 
void read_from (const istream &)
 
void read_from (const uistream &)
 
imatrix_position restore_imatrix_position (void)
 
imatrix restore_imatrix_value (const imatrix_position &mpos)
 
int rowmax () const
 
int rowmin () const
 
void rowshift (int min)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
unsigned int rowsize () const
 Returns the number of rows. More...
 
void save_imatrix_position ()
 Saves the size and address information for a imatrix. More...
 
void save_imatrix_value ()
 Saves the size, address, and value information for a imatrix. More...
 
void shallow_copy (const imatrix &)
 Shallow copy other data structure pointers. More...
 
imatrix sub (int, int)
 Description not yet available. More...
 
void write_on (const ostream &) const
 
void write_on (const uostream &) const
 
- 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)
 
- Protected Attributes inherited from imatrix
int index_max
 
int index_min
 
ivectorm
 
mat_shapexshape
 
- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Description not yet available.

Parameters

Definition at line 506 of file admodel.h.

Constructor & Destructor Documentation

named_imatrix::named_imatrix ( void  )
inlineprotected

Definition at line 509 of file admodel.h.

Member Function Documentation

void named_imatrix::allocate ( int  rmin,
int  rmax,
int  cmin,
int  cmax,
const char *  s 
)
protected

Definition at line 1213 of file model.cpp.

void named_imatrix::allocate ( int  rmin,
int  rmax,
const index_type cmin,
const index_type cmax,
const char *  s 
)
protected

Definition at line 1220 of file model.cpp.

named_imatrix& named_imatrix::operator= ( const imatrix m)
protected
named_imatrix& named_imatrix::operator= ( const int &  m)
protected

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