Revision 1942 trunk/src/linad99/fvar_op2.cpp

fvar_op2.cpp (revision 1942)
38 38
 * Description not yet available.
39 39
 * \param
40 40
 */
41
prevariable& operator+(CGNU_DOUBLE x, const prevariable& v2)
41
prevariable& operator+(const double x, const prevariable& v2)
42 42
{
43 43
  if (++gradient_structure::RETURN_PTR > gradient_structure::MAX_RETURN)
44 44
    gradient_structure::RETURN_PTR = gradient_structure::MIN_RETURN;
......
53 53
 * Description not yet available.
54 54
 * \param
55 55
 */
56
prevariable& operator+(const prevariable& v1, CGNU_DOUBLE x)
56
prevariable& operator+(const prevariable& v1, const double x)
57 57
{
58 58
  if (++gradient_structure::RETURN_PTR > gradient_structure::MAX_RETURN)
59 59
    gradient_structure::RETURN_PTR = gradient_structure::MIN_RETURN;
......
82 82
 * Description not yet available.
83 83
 * \param
84 84
 */
85
prevariable& operator-(const prevariable& v1, CGNU_DOUBLE x)
85
prevariable& operator-(const prevariable& v1, const double x)
86 86
{
87 87
  if (++gradient_structure::RETURN_PTR > gradient_structure::MAX_RETURN)
88 88
    gradient_structure::RETURN_PTR = gradient_structure::MIN_RETURN;
......
96 96
 * Description not yet available.
97 97
 * \param
98 98
 */
99
prevariable& operator-(CGNU_DOUBLE x, const prevariable& v2)
99
prevariable& operator-(const double x, const prevariable& v2)
100 100
{
101 101
  if (++gradient_structure::RETURN_PTR > gradient_structure::MAX_RETURN)
102 102
    gradient_structure::RETURN_PTR = gradient_structure::MIN_RETURN;
......
141 141
 * Description not yet available.
142 142
 * \param
143 143
 */
144
prevariable& operator/( CGNU_DOUBLE u, const prevariable& v2)
144
prevariable& operator/(const double u, const prevariable& v2)
145 145
{
146 146
  if (++gradient_structure::RETURN_PTR > gradient_structure::MAX_RETURN)
147 147
    gradient_structure::RETURN_PTR = gradient_structure::MIN_RETURN;
......
160 160
 * Description not yet available.
161 161
 * \param
162 162
 */
163
prevariable& operator/(const prevariable& v1, CGNU_DOUBLE u)
163
prevariable& operator/(const prevariable& v1, const double u)
164 164
{
165 165
  if (++gradient_structure::RETURN_PTR > gradient_structure::MAX_RETURN)
166 166
    gradient_structure::RETURN_PTR = gradient_structure::MIN_RETURN;

Also available in: Unified diff