ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
model26.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,const char * s)
15 {
16  dvar5_array::allocate(hhsl,hhsu,hsl,hsu,sl,sh,nrl,nrh,ncl,nch);
18 }
19 
21  int l5,int h5,
22  int hhsl,int hhsu,
23  int hsl,int hsu,
24  int rmin,int rmax,
25  int cmin,int cmax,
26  const char * _s)
27 {
28  dvar5_array::allocate(l5,h5,hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax);
30 }
31 
32 void named_d5_array::allocate(const ad_integer& hhsl,const ad_integer& hhsu,
33  const index_type& hsl,const index_type& hsu, const index_type& sl,
34  const index_type& sh,const index_type& nrl,const index_type& nrh,
35  const index_type& ncl,const index_type& nch,const char * _s)
36 {
37  d5_array::allocate(hhsl,hhsu,hsl,hsu,sl,sh,nrl,nrh,ncl,nch);
39 }
40 
41 void named_d5_array::allocate(int l5,int h5,int hhsl,int hhsu,int hsl,
42  int hsu,int rmin,int rmax,int cmin,int cmax,const char * _s)
43 {
44  d5_array::allocate(l5,h5,hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax);
46 }
47 
49 {
50  this->d5_array::operator=(m);
51  return *this;
52 }
53 
55 {
56  this->dvar5_array::operator=(m);
57  return *this;
58 }
59 
61 {
62  this->dvar5_array::operator=(m);
63  return *this;
64 }
Uses polymorphism to get index information from various data types to be used in constructing and all...
Definition: fvar.hpp:7731
named_d5_array & operator=(const d5_array &m)
Definition: model26.cpp:48
Description not yet available.
Definition: admodel.h:626
d5_array & operator=(const d5_array &)
Assigns element values from other to d5_array.
Definition: d5arr.cpp:100
Description not yet available.
Definition: admodel.h:378
void allocate(const char *s)
Definition: model.cpp:112
dvar5_array & operator=(const d5_array &)
Description not yet available.
Definition: f5arr.cpp:146
Description not yet available.
Definition: fvar.hpp:6498
Description not yet available.
void allocate(void)
Description not yet available.
Definition: f5arr3.cpp:26
named_dvar5_array & operator=(const dvar5_array &m)
Definition: model26.cpp:54
void allocate(void)
Description not yet available.
Definition: d5arr3.cpp:26
Description not yet available.
Definition: fvar.hpp:6331
Stores integer.
Definition: fvar.hpp:7654