Statistics
| Revision:

root / trunk / src / linad99 / fvar_m36.cpp @ 1942

History | View | Annotate | Download (723 Bytes)

1
/*
2
 * $Id: fvar_m36.cpp 1942 2014-04-28 22:22:45Z 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
// file fvar.cpp
12
// constructors, destructors and misc functions involving class dvariable
13

    
14
#include "fvar.hpp"
15

    
16
#ifdef __TURBOC__
17
  #pragma hdrstop
18
  #include <iostream.h>
19
#endif
20

    
21
#ifdef __ZTC__
22
  #include <iostream.hpp>
23
#endif
24

    
25

    
26
#include <stdio.h>
27
#ifndef __SUN__
28
#endif
29
#include <math.h>
30

    
31
/**
32
 * Description not yet available.
33
 * \param
34
 */
35
double dvar_matrix::fill_seqadd(const double x, const double d)
36
{
37
  double x1=x;
38
  double d1=d;
39
  for (int i=rowmin();i<=rowmax();i++)
40
  {
41
    elem(i).fill_seqadd(x1,d1);
42
    x1+=elem(i).size()*d1;
43
  }
44
  return x1;
45
}