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

#include <admodel.h>

Public Member Functions

 data_5array (void)
 
void allocate (int hhsl, int hhsu, int hhhsl, int hhhsu, int hsl, int hsu, int rmin, int rmax, int cmin, int cmax, const char *="UNNAMED")
 
void allocate (ad_integer hhhsl, ad_integer hhhsu, const index_type &hhsl, const index_type &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 d5_array
 d5_array (int hhsl, int hhsu, int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch)
 Description not yet available. More...
 
 d5_array (int imin, int imax)
 Construct vector of empty d4_arrays with dimension [hsl to hsu]. More...
 
 d5_array (const ad_integer &hhsl, const ad_integer &hhsu, const index_type &hsl, const index_type &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)
 Description not yet available. More...
 
 d5_array (const d5_array &m2)
 Copy constructor (shallow) More...
 
 d5_array ()
 Description not yet available. More...
 
 ~d5_array ()
 Destructor. More...
 
void allocate (int hhsl, int hhsu, int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch)
 Allocate d5_array with specified dimensions. More...
 
void allocate (int imin, int imax)
 Allocate vector of d4_array with range [hsl, hsu]. More...
 
void allocate (const ad_integer &hhsl, const ad_integer &hhsu, const index_type &hsl, const index_type &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 d5_array with specified dimensions. More...
 
void allocate (void)
 Description not yet available. More...
 
void allocate (const d5_array &)
 Allocate d5_array using other dimensions. More...
 
void deallocate (void)
 Deallocate d5_array memory. More...
 
d4_arrayelem (int i)
 
d3_arrayelem (int i, int j)
 
dmatrixelem (int i, int j, int k)
 
dvectorelem (int i, int j, int k, int l)
 
double & elem (int i, int j, int k, int l, int _m)
 
const d4_arrayelem (int i) const
 
const d3_arrayelem (int i, int j) const
 
const dmatrixelem (int i, int j, int k) const
 
const dvectorelem (int i, int j, int k, int l) const
 
const double & elem (int i, int j, int k, int l, int _m) const
 
unsigned int get_ncopies () const
 
int indexmax () const
 
int indexmin () const
 
void initialize ()
 Initialize all elements of d5_array to zero. More...
 
int operator! (void) const
 
d4_arrayoperator() (int i)
 
d3_arrayoperator() (int i, int j)
 
dmatrixoperator() (int i, int j, int k)
 
dvectoroperator() (int i, int j, int k, int l)
 
double & operator() (int i, int j, int k, int l, int _m)
 
const d4_arrayoperator() (int i) const
 
const d3_arrayoperator() (int i, int j) const
 
const dmatrixoperator() (int i, int j, int k) const
 
const dvectoroperator() (int i, int j, int k, int l) const
 
const double & operator() (int i, int j, int k, int l, int _m) const
 
void operator/= (double d)
 Divides all elements of d5_array by d. More...
 
d5_arrayoperator= (const d5_array &)
 Assigns element values from other to d5_array. More...
 
d4_arrayoperator[] (int i)
 
const d4_arrayoperator[] (int i) const
 
void shallow_copy (const d5_array &)
 Shallow copy pointers from other data structure. More...
 
unsigned int size () 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_d5_array
 named_d5_array (void)
 
void allocate (int l5, int u5, int hhsl, int hhsu, int hsl, int hsu, int rmin, int rmax, int cmin, int cmax, const char *s)
 
void allocate (const ad_integer &hhsl, const ad_integer &hhsu, const index_type &hsl, const index_type &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, const char *s)
 
named_d5_arrayoperator= (const d5_array &m)
 
- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Definition at line 1704 of file admodel.h.

Constructor & Destructor Documentation

data_5array::data_5array ( void  )
inline

Definition at line 1707 of file admodel.h.

Member Function Documentation

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

Definition at line 36 of file model40.cpp.

void data_5array::allocate ( ad_integer  hhhsl,
ad_integer  hhhsu,
const index_type hhsl,
const index_type 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 47 of file model40.cpp.


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