Statistics
| Revision:

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

History | View | Annotate | Download (608 Bytes)

1
/*
2
 * $Id: fvar_a56.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
#include "fvar.hpp"
12

    
13
/**
14
 * Description not yet available.
15
 * \param
16
 */
17
dvar_vector& dvar_vector::operator*=(const double x)
18
  {
19
    for (int i=indexmin(); i<=indexmax(); i++)
20
    {
21
      elem(i)*=x;
22
    }
23
    return(*this);
24
  }
25

    
26
/**
27
 * Description not yet available.
28
 * \param
29
 */
30
dvar_vector& dvar_vector::operator*=(const prevariable& x)
31
  {
32
    for (int i=indexmin(); i<=indexmax(); i++)
33
    {
34
      elem(i)*=x;
35
    }
36
    return(*this);
37
  }