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

#include <admodel.h>

Public Member Functions

 data_6array (void)
 
void allocate (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 &l6, const ad_integer &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 d6_array
 d6_array (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...
 
 d6_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, const index_type &l6, const index_type &u6)
 Description not yet available. More...
 
 d6_array (const d6_array &m2)
 Copy constructor (shallow) More...
 
 d6_array ()
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
 ~d6_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, int l6, int u6)
 Allocate d6_array with specified dimensions. More...
 
void allocate (int hhsl, int hhsu)
 
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 index_type &l6, const index_type &u6)
 Allocate d6_array with specified dimensions. More...
 
void allocate (void)
 Does NOT allocate, but initializes d6_array members. More...
 
void allocate (const d6_array &)
 Allocate d6_array with same dimensions as other. More...
 
void deallocate (void)
 Deallocate d6_array memory. More...
 
d5_arrayelem (int i)
 
d4_arrayelem (int i, int j)
 
d3_arrayelem (int i, int j, int k)
 
dmatrixelem (int i, int j, int k, int l)
 
dvectorelem (int i, int j, int k, int l, int _m)
 
double & elem (int i, int j, int k, int l, int _m, int _n)
 
const d5_arrayelem (int i) const
 
const d4_arrayelem (int i, int j) const
 
const d3_arrayelem (int i, int j, int k) const
 
const dmatrixelem (int i, int j, int k, int l) const
 
const dvectorelem (int i, int j, int k, int l, int _m) const
 
const double & elem (int i, int j, int k, int l, int _m, int _n) 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
 
d5_arrayoperator() (int i)
 
d4_arrayoperator() (int i, int j)
 
d3_arrayoperator() (int i, int j, int k)
 
dmatrixoperator() (int i, int j, int k, int l)
 
dvectoroperator() (int i, int j, int k, int l, int _m)
 
double & operator() (int i, int j, int k, int l, int _m, int _n)
 
const d5_arrayoperator() (int i) const
 
const d4_arrayoperator() (int i, int j) const
 
const d3_arrayoperator() (int i, int j, int k) const
 
const dmatrixoperator() (int i, int j, int k, int l) const
 
const dvectoroperator() (int i, int j, int k, int l, int _m) const
 
const double & operator() (int i, int j, int k, int l, int _m, int _n) const
 
void operator/= (double d)
 Divides all elements of d6_array by divisor. More...
 
d6_arrayoperator= (const d6_array &)
 Assigns element values from other to d6_array. More...
 
d5_arrayoperator[] (int i)
 
const d5_arrayoperator[] (int i) const
 
void shallow_copy (const d6_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_d6_array
 named_d6_array (void)
 
void allocate (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 &l6, const ad_integer &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_d6_arrayoperator= (const d6_array &m)
 
- Protected Attributes inherited from model_name_tag
adstring name
 

Detailed Description

Definition at line 1689 of file admodel.h.

Constructor & Destructor Documentation

data_6array::data_6array ( void  )
inline

Definition at line 1692 of file admodel.h.

Member Function Documentation

void data_6array::allocate ( 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 24 of file model40.cpp.

void data_6array::allocate ( const ad_integer l6,
const ad_integer 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: