ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fvar_a13.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 "fvar.hpp"
12 #include <stdlib.h>
13 
14 #ifdef __TURBOC__
15  #pragma hdrstop
16  #include <alloc.h>
17 #endif
18 
24  {
25  va=NULL;
26  allocate(ncl,nch);
27 
28  #ifdef DIAG
29  cout << " Allocating dvar_vector with ptr_address\n "
30  << &va << " pointing at " << (va+indexmin()) << "\n";
31  #endif
32  }
dvar_vector()
Default constructor.
Definition: fvar_arr.cpp:150
void allocate(void)
Does not allocate, but initializes dvar_vector to empty.
Definition: fvar_arr.cpp:216
Null class to allow specialized function overloads.
Definition: fvar.hpp:469
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int indexmin() const
Definition: fvar.hpp:2287
double_and_int * va
Definition: fvar.hpp:2175