ADMB Documentation  11.1.2251
 All Classes Files Functions Variables Typedefs Friends Defines
dvect5.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: dvect5.cpp 1112 2013-07-12 21:41:41Z johnoel $
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00011 #include "fvar.hpp"
00012 
00016 void dvector::initialize(void)
00017 {
00018   if (!(!(*this)))  // only initialize allocated objects
00019   {
00020     for (int i=indexmin();i<=indexmax();i++)
00021     {
00022       elem(i)=0.0;
00023     }
00024   }
00025 }