ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
f3arr16.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 
17 double dvar3_array::fill_seqadd(double i1,double i2)
18 {
19  int mmin=indexmin();
20  int mmax=indexmax();
21  double inp = i1;
22  for (int i=mmin;i<=mmax;i++)
23  {
24  double tmp=(*this)(i).fill_seqadd(inp,i2);
25  inp=tmp;
26  }
27  return inp;
28 }
int indexmax() const
Definition: fvar.hpp:4273
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
int indexmin() const
Definition: fvar.hpp:4272
double fill_seqadd(double, double)
Description not yet available.
Definition: f3arr16.cpp:17