ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fvar_a61.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  */
11 #include <admodel.h>
12 
18  {
20  int i;
21  va=NULL;
22  allocate(t.indexmin(),t.indexmax());
23  initialize();
24  for ( i=indexmin(); i<=indexmax(); i++)
25  {
26  (*this)(i)=t(i);
27  }
28  }
29 
35  {
37  int i;
38  va=NULL;
39  allocate(t.indexmin(),t.indexmax());
40  initialize();
41  for ( i=indexmin(); i<=indexmax(); i++)
42  {
43  (*this)(i)=t(i);
44  }
45  }
dvar_vector()
Default constructor.
Definition: fvar_arr.cpp:150
int indexmin() const
Definition: admodel.h:2901
void allocate(void)
Does not allocate, but initializes dvar_vector to empty.
Definition: fvar_arr.cpp:216
Description not yet available.
int indexmin() const
Definition: fvar.hpp:2287
void initialize(void)
Description not yet available.
Definition: fvar_a24.cpp:17
Description not yet available.
Definition: admodel.h:2873
int indexmax() const
Definition: admodel.h:2902
double_and_int * va
Definition: fvar.hpp:2175
Class object for init_bounded_number vector.
Definition: admodel.h:2915
int indexmax() const
Definition: fvar.hpp:2292