ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
model27.cpp
Go to the documentation of this file.
1 /*
2  * $Id$
3  *
4  * Author: David Fournier
5  * Copyright (c) 2008-2012 Regents of the University of California
6  */
7 #include <admodel.h>
8 
10  const ad_integer& hhsl,const ad_integer& hhsu,
11  const index_type& hsl,const index_type& hsu,
12  const index_type& sl,const index_type& sh,
13  const index_type& nrl,const index_type& nrh,
14  const index_type& ncl,const index_type& nch,
15  const index_type& ncl6,const index_type& nch6,const char * _s)
16 {
17  dvar6_array::allocate(hhsl,hhsu,hsl,hsu,sl,sh,nrl,nrh,ncl,nch,
18  ncl6,nch6);
20 }
21 
22 void named_dvar6_array::allocate(int l5,int h5,
23  int hhsl,int hhsu,
24  int hsl,int hsu,
25  int rmin,int rmax,
26  int cmin,int cmax,
27  int cmin6,int cmax6,
28  const char * _s)
29 {
30  dvar6_array::allocate(l5,h5,hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax,
31  cmin6,cmax6);
33 }
34 
36  const ad_integer& hhsl,const ad_integer& hhsu,
37  const index_type& hsl,const index_type& hsu,
38  const index_type& sl,const index_type& sh,
39  const index_type& nrl,const index_type& nrh,
40  const index_type& ncl,const index_type& nch,
41  const index_type& ncl6,const index_type& nch6,const char * _s)
42 {
43  d6_array::allocate(hhsl,hhsu,hsl,hsu,sl,sh,nrl,nrh,ncl,nch,
44  ncl6,nch6);
46 }
47 
48 
49 void named_d6_array::allocate(int l5,int h5,int hhsl,int hhsu,int hsl,
50  int hsu,int rmin,int rmax,int cmin,int cmax,int l6,int u6,
51  const char * s)
52 {
53  d6_array::allocate(l5,h5,hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax,l6,u6);
55 }
56 
58 {
59  this->d6_array::operator=(m);
60  return *this;
61 }
62 
64 {
65  this->dvar6_array::operator=(m);
66  return *this;
67 }
68 
70 {
71  this->dvar6_array::operator=(m);
72  return *this;
73 }
Uses polymorphism to get index information from various data types to be used in constructing and all...
Definition: fvar.hpp:7731
Description not yet available.
Definition: fvar.hpp:6861
void allocate(void)
Does NOT allocate, but initializes d6_array members.
Definition: d6arr2.cpp:14
Description not yet available.
Definition: fvar.hpp:6673
void allocate(const char *s)
Definition: model.cpp:112
void allocate(void)
Description not yet available.
Definition: f6arr2.cpp:26
Description not yet available.
named_d6_array & operator=(const d6_array &m)
Definition: model27.cpp:57
d6_array & operator=(const d6_array &)
Assigns element values from other to d6_array.
Definition: d6arr.cpp:93
Description not yet available.
Definition: admodel.h:644
named_dvar6_array & operator=(const dvar6_array &m)
Definition: model27.cpp:63
Description not yet available.
Definition: admodel.h:402
Stores integer.
Definition: fvar.hpp:7654
dvar6_array & operator=(const d6_array &)
Description not yet available.
Definition: f6arr.cpp:126