Statistics
| Revision:

root / branches / pthreads-737 / src / linad99 / d3arr9.cpp @ 765

History | View | Annotate | Download (514 Bytes)

1
/*
2
 * $Id: d3arr9.cpp 542 2012-07-10 21:04:06Z johnoel $
3
 *
4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California 
6
 */
7
/**
8
 * \file
9
 * Description not yet available.
10
 */
11
#include <fvar.hpp>
12

    
13
/**
14
 * Description not yet available.
15
 * \param
16
 */
17
double d3_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
}