ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
model26.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id$
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00007 #include <admodel.h>
00008 
00009 void named_dvar5_array::allocate(
00010     const ad_integer& hhsl,const ad_integer& hhsu,
00011     const index_type& hsl,const index_type& hsu,
00012     const index_type& sl,const index_type& sh,
00013     const index_type& nrl,const index_type& nrh,
00014     const index_type& ncl,const index_type& nch,const char * s)
00015 {
00016   dvar5_array::allocate(hhsl,hhsu,hsl,hsu,sl,sh,nrl,nrh,ncl,nch);
00017   model_name_tag::allocate(s);
00018 }
00019 
00020 void named_dvar5_array::allocate(
00021   int l5,int h5,
00022   int hhsl,int hhsu,
00023   int hsl,int hsu,
00024   int rmin,int rmax,
00025   int cmin,int cmax,
00026   const char * _s)
00027 {
00028   dvar5_array::allocate(l5,h5,hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax);
00029   model_name_tag::allocate(_s);
00030 }
00031 
00032 void named_d5_array::allocate(const ad_integer& hhsl,const ad_integer& hhsu,
00033     const index_type& hsl,const index_type& hsu, const index_type& sl,
00034     const index_type& sh,const index_type& nrl,const index_type& nrh,
00035     const index_type& ncl,const index_type& nch,const char * _s)
00036 {
00037   d5_array::allocate(hhsl,hhsu,hsl,hsu,sl,sh,nrl,nrh,ncl,nch);
00038   model_name_tag::allocate(_s);
00039 }
00040 
00041 void named_d5_array::allocate(int l5,int h5,int hhsl,int hhsu,int hsl,
00042   int hsu,int rmin,int rmax,int cmin,int cmax,const char * _s)
00043 {
00044   d5_array::allocate(l5,h5,hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax);
00045   model_name_tag::allocate(_s);
00046 }
00047 
00048 named_d5_array& named_d5_array::operator=(const d5_array& m)
00049 {
00050   this->d5_array::operator=(m);
00051   return *this;
00052 }
00053 
00054 named_dvar5_array& named_dvar5_array::operator=(const dvar5_array& m)
00055 {
00056   this->dvar5_array::operator=(m);
00057   return *this;
00058 }
00059 
00060 named_dvar5_array& named_dvar5_array::operator=(const d5_array& m)
00061 {
00062   this->dvar5_array::operator=(m);
00063   return *this;
00064 }