ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
model27.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_dvar6_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,
00015     const index_type& ncl6,const index_type& nch6,const char * _s)
00016 {
00017   dvar6_array::allocate(hhsl,hhsu,hsl,hsu,sl,sh,nrl,nrh,ncl,nch,
00018     ncl6,nch6);
00019   model_name_tag::allocate(_s);
00020 }
00021 
00022 void named_dvar6_array::allocate(int l5,int h5,
00023   int hhsl,int hhsu,
00024   int hsl,int hsu,
00025   int rmin,int rmax,
00026   int cmin,int cmax,
00027   int cmin6,int cmax6,
00028   const char * _s)
00029 {
00030   dvar6_array::allocate(l5,h5,hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax,
00031     cmin6,cmax6);
00032   model_name_tag::allocate(_s);
00033 }
00034 
00035 void named_d6_array::allocate(
00036     const ad_integer& hhsl,const ad_integer& hhsu,
00037     const index_type& hsl,const index_type& hsu,
00038     const index_type& sl,const index_type& sh,
00039     const index_type& nrl,const index_type& nrh,
00040     const index_type& ncl,const index_type& nch,
00041     const index_type& ncl6,const index_type& nch6,const char * _s)
00042 {
00043   d6_array::allocate(hhsl,hhsu,hsl,hsu,sl,sh,nrl,nrh,ncl,nch,
00044     ncl6,nch6);
00045   model_name_tag::allocate(_s);
00046 }
00047 
00048 
00049 void named_d6_array::allocate(int l5,int h5,int hhsl,int hhsu,int hsl,
00050   int hsu,int rmin,int rmax,int cmin,int cmax,int l6,int u6,
00051   const char * s)
00052 {
00053   d6_array::allocate(l5,h5,hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax,l6,u6);
00054   model_name_tag::allocate(s);
00055 }
00056 
00057 named_d6_array& named_d6_array::operator=(const d6_array& m)
00058 {
00059   this->d6_array::operator=(m);
00060   return *this;
00061 }
00062 
00063 named_dvar6_array& named_dvar6_array::operator=(const dvar6_array& m)
00064 {
00065   this->dvar6_array::operator=(m);
00066   return *this;
00067 }
00068 
00069 named_dvar6_array& named_dvar6_array::operator=(const d6_array& m)
00070 {
00071   this->dvar6_array::operator=(m);
00072   return *this;
00073 }