ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
model16.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 
8 #include <admodel.h>
9 
10 void data_4array::allocate(int hhsl,int hhsu,int hsl,int hsu,
11  int rmin,int rmax,int cmin,int cmax,const char * s)
12 {
13  named_d4_array::allocate(hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax,s);
15 }
16 
18  const index_type& hsl, const index_type& hsu,
19  const index_type& rmin, const index_type& rmax,
20  const index_type& cmin, const index_type& cmax, const char *s)
21 {
22  named_d4_array::allocate(hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax,s);
24 }
25 
26 void data_4iarray::allocate(int hhsl,int hhsu,int hsl,int hsu,
27  int rmin,int rmax,int cmin,int cmax,const char * s)
28 {
29  named_i4_array::allocate(hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax,s);
31 }
32 
34  const index_type& hsl, const index_type& hsu,
35  const index_type& rmin, const index_type& rmax,
36  const index_type& cmin, const index_type& cmax, const char *s)
37 {
38  named_i4_array::allocate(hhsl,hhsu,hsl,hsu,rmin,rmax,cmin,cmax,s);
40 }
Uses polymorphism to get index information from various data types to be used in constructing and all...
Definition: fvar.hpp:7731
void allocate(void)
Does not allocate, but initializes pointers to NULL.
Definition: d4arr3.cpp:14
Description not yet available.
i4_array()
Default constructor.
Definition: i4arr.cpp:26
void allocate(void)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition: i4arr.cpp:9
static cifstream * global_datafile
Definition: fvar.hpp:8856
Stores integer.
Definition: fvar.hpp:7654
d4_array()
Default constructor.
Definition: d4arr3.cpp:9