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

Description not yet available. More...

#include <admodel.h>

Public Member Functions

 data_4array (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 d4_array
 d4_array (int, int)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
 d4_array (int hsl, int hsu, int sl, int sh, ivector nrl, ivector nrh, ivector ncl, ivector nch)
 Description not yet available. More...
 
 d4_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...
 
 d4_array (int hsl, int 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...
 
 d4_array (const d4_array &m2)
 Copy constructor (shallow) More...
 
 d4_array (int, int, int, int, int, int, int, int)
 Description not yet available. More...
 
 d4_array (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, int nch)
 Description not yet available. More...
 
 d4_array ()
 Default constructor. More...
 
 ~d4_array ()
 Destructor. More...
 
void allocate (int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch)
 Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, const imatrix &nch)
 
void allocate (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...
 
void allocate (int hsl, int hsu, int sl, int sh, int nrl, int nrh, const ivector &ncl, const ivector &nch)
 Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (int hsl, int hsu, int sl, int sh, const ivector &nrl, const ivector &nrh, const ivector &ncl, const ivector &nch)
 Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (int hsl, int hsu, int sl, const ivector &sh, int nrl, const imatrix &nrh, int ncl, int nch)
 Allocate arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (void)
 Does not allocate, but initializes pointers to NULL. More...
 
void allocate (const d4_array &)
 Allocate d4_array with same dimensions as other. More...
 
void allocate (const dvar4_array &)
 
void allocate (int hsl, int 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 arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (ad_integer hsl, 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 arrays with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh] x [ncl to nch]. More...
 
void allocate (ad_integer hsl, ad_integer hsu, const index_type &sl, const index_type &sh, const index_type &nrl, const index_type &nrh)
 Allocate arrays with empty columns matrices with dimension [hsl to hsu] x [sl to sh] x [nrl to nrh]. More...
 
void allocate (ad_integer hsl, ad_integer hsu, const index_type &sl, const index_type &sh)
 Allocate 2d arrays with empty matrices with dimension [hsl to hsu] x [sl to sh]. More...
 
void allocate (ad_integer hsl, ad_integer 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)
 Deallocates d4_array memory. More...
 
d3_arrayelem (int i)
 
dmatrixelem (int i, int j)
 
dvectorelem (int i, int j, int k)
 
double & elem (int i, int j, int k, int l)
 
const d3_arrayelem (int i) const
 
const dmatrixelem (int i, int j) const
 
const dvectorelem (int i, int j, int k) const
 
const double & elem (int i, int j, int k, int l) const
 
unsigned int get_ncopies () const
 
int hslicemax () const
 
int hslicemin () const
 
unsigned int hslicesize () const
 
int indexmax () const
 
int indexmin () const
 
void initialize ()
 Description not yet available. More...
 
int operator! (void) const
 
const d3_arrayoperator() (int i) const
 
const dmatrixoperator() (int i, int j) const
 
const dvectoroperator() (int i, int j, int k) const
 
const double & operator() (int i, int j, int k, int l) const
 
d3_arrayoperator() (int)
 
dmatrixoperator() (int, int)
 
dvectoroperator() (int, int, int)
 
double & operator() (int, int, int, int)
 
void operator/= (double d)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
d4_arrayoperator= (const d4_array &)
 Assigns element values from other to d4_array. More...
 
const d3_arrayoperator[] (int i) const
 
d3_arrayoperator[] (int)
 
int rowmax (void)
 
int rowmax (void) const
 
int rowmin (void)
 
int rowmin (void) const
 
int rowsize ()
 
int rowsize () const
 
void shallow_copy (const d4_array &)
 Copies pointer locations from other to d4_array. More...
 
int slicemax (void)
 
int slicemax (void) const
 
int slicemin (void)
 
int slicemin (void) const
 
int slicesize ()
 
int slicesize () const
 
d4_array sub (int, int)
 Description not yet available. 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)
 

Additional Inherited Members

- Protected Member Functions inherited from named_d4_array
 named_d4_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_d4_arrayoperator= (const d4_array &m)
 
- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Description not yet available.

Parameters

Definition at line 1722 of file admodel.h.

Constructor & Destructor Documentation

data_4array::data_4array ( void  )
inline

Definition at line 1725 of file admodel.h.

Member Function Documentation

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

Definition at line 10 of file model16.cpp.

void data_4array::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 17 of file model16.cpp.


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