ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
d3arr9.cpp
Go to the documentation of this file.
1 
5 #include <fvar.hpp>
6 
15 double d3_array::fill_seqadd(double initial, double offset)
16 {
17  double last = initial;
18  int min = indexmin();
19  int max = indexmax();
20  dmatrix* pti = t + min;
21  for (int i = min; i <= max; ++i)
22  {
23  last = pti->fill_seqadd(last, offset);
24  ++pti;
25  }
26  return last;
27 }
int indexmax() const
Definition: fvar.hpp:3822
dmatrix * t
Definition: fvar.hpp:3729
#define min(a, b)
Definition: cbivnorm.cpp:188
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
Definition: fvar.hpp:2819
double fill_seqadd(double, double)
Description not yet available.
Definition: dmat21.cpp:35
int indexmin() const
Definition: fvar.hpp:3818
double fill_seqadd(double, double)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition: d3arr9.cpp:15
#define max(a, b)
Definition: cbivnorm.cpp:189