ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ivec2.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 
18 {
19  int min = indexmin();
20  int max = indexmax();
21  int* pvi = v + min;
22  for (int i = min; i <= max; ++i)
23  {
24  *pvi = 0;
25  ++pvi;
26  }
27 }
#define min(a, b)
Definition: cbivnorm.cpp:188
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int indexmin() const
Definition: ivector.h:99
int indexmax() const
Definition: ivector.h:104
void initialize(void)
Description not yet available.
Definition: ivec2.cpp:17
int * v
Definition: ivector.h:55
#define max(a, b)
Definition: cbivnorm.cpp:189