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

#include <admodel.h>

Public Member Functions

 data_7array (void)
 
void allocate (int l7, int u7, int l6, int u6, int l5, int u5, int hhsl, int hhsu, int hsl, int hsu, int rmin, int rmax, int cmin, int cmax, const char *s="UNNAMED")
 
void allocate (const ad_integer &l7, const ad_integer &u7, const index_type &l6, const index_type &u6, const index_type &l5, const index_type &u5, const index_type &hhsl, const index_type &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 char *s="UNNAMED")
 
- Public Member Functions inherited from d7_array
 d7_array (int l7, int u7, int hhsl, int hhsu, int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch, int l6, int u6)
 Description not yet available. More...
 
 d7_array (const ad_integer &hhsl, const ad_integer &hhsu, const index_type &l7, const index_type &u7, 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 index_type &l6, const index_type &u6)
 Description not yet available. More...
 
 d7_array ()
 Description not yet available. More...
 
 d7_array (const d7_array &)
 Copy constructor (shallow) More...
 
 ~d7_array ()
 Destructor. More...
 
void allocate (int l7, int u7)
 Allocate a vector of empty d6_arrays. More...
 
void allocate (int l7, int u7, int hhsl, int hhsu, int hsl, int hsu, int sl, int sh, int nrl, int nrh, int ncl, int nch, int l6, int u6)
 Allocate a d7_array with indices. More...
 
void allocate (const ad_integer &hhsl, const ad_integer &hhsu, const index_type &l7, const index_type &u7, 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 index_type &l6, const index_type &u6)
 Description not yet available. More...
 
void allocate (void)
 Description not yet available. More...
 
void allocate (const d7_array &)
 Allocate d7_array using the same dimensions as other. More...
 
void deallocate (void)
 Deallocate d7_array memory. More...
 
d6_arrayelem (int i)
 
d5_arrayelem (int i, int j)
 
d4_arrayelem (int i, int j, int k)
 
d3_arrayelem (int i, int j, int k, int l)
 
dmatrixelem (int i, int j, int k, int l, int _m)
 
dvectorelem (int i, int j, int k, int l, int _m, int _n)
 
double & elem (int i, int j, int k, int l, int _m, int _n, int _p)
 
const d6_arrayelem (int i) const
 
const d5_arrayelem (int i, int j) const
 
const d4_arrayelem (int i, int j, int k) const
 
const d3_arrayelem (int i, int j, int k, int l) const
 
const dmatrixelem (int i, int j, int k, int l, int _m) const
 
const dvectorelem (int i, int j, int k, int l, int _m, int _n) const
 
const double & elem (int i, int j, int k, int l, int _m, int _n, int _p) const
 
unsigned int get_ncopies () const
 
int indexmax () const
 
int indexmin () const
 
void initialize ()
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
int operator! (void) const
 
d6_arrayoperator() (int i)
 
d5_arrayoperator() (int i, int j)
 
d4_arrayoperator() (int i, int j, int k)
 
d3_arrayoperator() (int i, int j, int k, int l)
 
dmatrixoperator() (int i, int j, int k, int l, int _m)
 
dvectoroperator() (int i, int j, int k, int l, int _m, int _n)
 
double & operator() (int i, int j, int k, int l, int _m, int _n, int _p)
 
const d6_arrayoperator() (int i) const
 
const d5_arrayoperator() (int i, int j) const
 
const d4_arrayoperator() (int i, int j, int k) const
 
const d3_arrayoperator() (int i, int j, int k, int l) const
 
const dmatrixoperator() (int i, int j, int k, int l, int _m) const
 
const dvectoroperator() (int i, int j, int k, int l, int _m, int _n) const
 
const double & operator() (int i, int j, int k, int l, int _m, int _n, int _p) const
 
void operator/= (double d)
 Divide all elements of d7_array by divisor. More...
 
d7_arrayoperator= (const d7_array &)
 Assign element values from other to d7_array. More...
 
d6_arrayoperator[] (int i)
 
const d6_arrayoperator[] (int i) const
 
void shallow_copy (const d7_array &)
 Shallow copy other data structure pointers. 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_d7_array
 named_d7_array (void)
 
void allocate (int l7, int u7, int l6, int u6, 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 &l7, const ad_integer &u7, const index_type &l6, const index_type &u6, const index_type &l5, const index_type &u5, const index_type &hhsl, const index_type &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 char *s)
 
named_d7_arrayoperator= (const d7_array &m)
 
- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Definition at line 1672 of file admodel.h.

Constructor & Destructor Documentation

data_7array::data_7array ( void  )
inline

Definition at line 1675 of file admodel.h.

Member Function Documentation

void data_7array::allocate ( int  l7,
int  u7,
int  l6,
int  u6,
int  l5,
int  u5,
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 model40.cpp.

void data_7array::allocate ( const ad_integer l7,
const ad_integer u7,
const index_type l6,
const index_type u6,
const index_type l5,
const index_type u5,
const index_type hhsl,
const index_type 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 char *  s = "UNNAMED" 
)

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