ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
fvar_a13.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  */
00011 #include "fvar.hpp"
00012 #include <stdlib.h>
00013 
00014 #ifdef __TURBOC__
00015   #pragma hdrstop
00016   #include <alloc.h>
00017 #endif
00018 
00023  dvar_vector::dvar_vector(int ncl,int nch,kkludge_object kg)
00024  {
00025    va=NULL;
00026    allocate(ncl,nch);
00027 
00028    #ifdef DIAG
00029      cout << " Allocating dvar_vector with ptr_address\n  "
00030          << &va << "  pointing at  " << (va+indexmin()) << "\n";
00031    #endif
00032  }