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

#include <admodel.h>

Public Member Functions

 data_4iarray (void)
 
void allocate (int hhsl, int hhsu, int hsl, int hsu, int rmin, int rmax, int cmin, int cmax, const char *="UNNAMED")
 
void allocate (ad_integer hhsl, ad_integer hhsu, const index_type &hsl, const index_type &hsu, const index_type &rmin, const index_type &rmax, const index_type &cmin, const index_type &cmax, const char *="UNNAMED")
 
- Public Member Functions inherited from i4_array
 i4_array (int hsl, int hsu, int sl, int sh, ivector nrl, ivector nrh, ivector ncl, ivector nch)
 
 i4_array (int hsl, int hsu)
 Construct vector of empty i3_array with dimension [hsl to hsu]. More...
 
 i4_array (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, const i3_array &nch)
 Description not yet available. More...
 
 i4_array (const ad_integer &hsl, const ad_integer &hsh, const index_type &sl, const index_type &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch)
 
 i4_array (const i4_array &m2)
 Copy constructor. More...
 
 i4_array (int, int, int, int, int, int, int, int)
 Construct integer array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
 i4_array (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, int nch)
 
 i4_array ()
 Default constructor. More...
 
 ~i4_array ()
 Destructor. More...
 
void allocate (int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch)
 Allocate array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (const ad_integer &hsl, const ad_integer &hsu, const index_type &sl, const index_type &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch)
 Allocate array with dimensions [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (void)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
void allocate (const i4_array &)
 
void allocate (const dvar4_array &)
 
void allocate (int hsl, int hsu)
 Allocate vector of empty i3_array with dimension [hsl to hsu]. More...
 
int colmax (void)
 
int colmax (void) const
 
int colmin (void)
 
int colmin (void) const
 
int colsize ()
 
int colsize () const
 
void deallocate (void)
 Deallocate i4_array memory. More...
 
i3_arrayelem (int i)
 
const i3_arrayelem (int i) const
 
imatrixelem (int i, int j)
 
ivectorelem (int i, int j, int k)
 
int & elem (int i, int j, int k, int l)
 
unsigned int get_ncopies () const
 
int hslicemax () const
 
int hslicemin () const
 
int hslicesize ()
 
int hslicesize () const
 
int indexmax () const
 
int indexmin () const
 
void initialize ()
 Initializes elements of i4_array to zero. More...
 
int operator! (void) const
 
i3_arrayoperator() (int i)
 
imatrixoperator() (int i, int j)
 
ivectoroperator() (int i, int j, int k)
 
int & operator() (int i, int j, int k, int l)
 
const i3_arrayoperator() (int i) const
 
const imatrixoperator() (int i, int j) const
 
const ivectoroperator() (int i, int j, int k) const
 
const int & operator() (int i, int j, int k, int l) const
 
i4_arrayoperator= (const i4_array &)
 
i3_arrayoperator[] (int j)
 
const i3_arrayoperator[] (int i) const
 
int rowmax (void)
 
int rowmax (void) const
 
int rowmin (void)
 
int rowmin (void) const
 
int rowsize ()
 
int rowsize () const
 
void shallow_copy (const i4_array &)
 Shallow copy other data structure pointers. More...
 
int size ()
 
int size () const
 
int slicemax (void)
 
int slicemax (void) const
 
int slicemin (void)
 
int slicemin (void) const
 
int slicesize ()
 
int slicesize () 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)
 

Additional Inherited Members

- Protected Member Functions inherited from named_i4_array
 named_i4_array (void)
 
void allocate (ad_integer, ad_integer, const index_type &, const index_type &, const index_type &, const index_type &, const index_type &, const index_type &, const char *s)
 
void allocate (int hhsl, int hhsu, int hsl, int hsu, int rmin, int rmax, int cmin, int cmax, const char *s)
 
void allocate (int hhsl, int hhsu, int hsl, int hsu, int rmin, int rmax, const char *s)
 
void allocate (int hhsl, int hhsu, int hsl, int hsu, const char *s)
 
void allocate (int hhsl, int hhsu, const char *s)
 
void allocate (const char *s)
 
void allocate (ad_integer, ad_integer, const index_type &, const index_type &, const index_type &, const index_type &, const char *s)
 
void allocate (ad_integer, ad_integer, const index_type &, const index_type &, const char *s)
 
void allocate (ad_integer, ad_integer, const char *s)
 
named_i4_arrayoperator= (const i4_array &m)
 
- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Definition at line 1733 of file admodel.h.

Constructor & Destructor Documentation

data_4iarray::data_4iarray ( void  )
inline

Definition at line 1736 of file admodel.h.

Member Function Documentation

void data_4iarray::allocate ( int  hhsl,
int  hhsu,
int  hsl,
int  hsu,
int  rmin,
int  rmax,
int  cmin,
int  cmax,
const char *  s = "UNNAMED" 
)

Definition at line 26 of file model16.cpp.

void data_4iarray::allocate ( ad_integer  hhsl,
ad_integer  hhsu,
const index_type hsl,
const index_type hsu,
const index_type rmin,
const index_type rmax,
const index_type cmin,
const index_type cmax,
const char *  s = "UNNAMED" 
)

Definition at line 33 of file model16.cpp.


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