23 #include <iostream.hpp>
37 RETURN_PTR->
v->
x = x + (v2.
v->
x);
39 &(RETURN_PTR->
v->
x),&(v2.
v->
x));
52 RETURN_PTR->
v->
x=v1.
v->
x+
x;
54 &(RETURN_PTR->
v->
x), &(v1.
v->
x));
67 RETURN_PTR->
v->
x=v1.
v->
x - v2.
v->
x;
69 &(RETURN_PTR->
v->
x),&(v1.
v->
x),&(v2.
v->
x));
82 RETURN_PTR->
v->
x=v1.
v->
x -
x;
84 &(RETURN_PTR->
v->
x), &(v1.
v->
x));
97 RETURN_PTR->
v->
x = x - v2.
v->
x;
99 &(RETURN_PTR->
v->
x), &(v2.
v->
x));
112 RETURN_PTR->
v->
x = -(v1.
v->
x);
114 &(RETURN_PTR->
v->
x),&(v1.
v->
x));
127 double x = 1 / v2.
v->
x;
128 double y = v1.
v->
x *
x;
129 RETURN_PTR->
v->
x = y;
131 &(RETURN_PTR->
v->
x),&(v1.
v->
x),x,&(v2.
v->
x),-y*x);
144 double x = 1 / v2.
v->
x;
146 RETURN_PTR->
v->
x = y;
149 &(RETURN_PTR->
v->
x), &(v2.
v->
x),-y*x);
163 double y = v1.
v->
x *
x;
165 RETURN_PTR->
v->
x = y;
168 &(RETURN_PTR->
v->
x), &(v1.
v->
x),x);
Base class for dvariable.
void default_evaluation3(void)
Description not yet available.
d3_array operator-(const d3_array &a, const d3_array &b)
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k).
d3_array operator+(const d3_array &a, const d3_array &b)
Returns d3_array results with computed elements addition of a(i, j, k) + b(i, j, k).
void default_evaluation1m(void)
Description not yet available.
void set_gradient_stack(void(*func)(void), double *dep_addr, double *ind_addr1=NULL, double mult1=0, double *ind_addr2=NULL, double mult2=0)
Description not yet available.
void default_evaluation1(void)
Description not yet available.
static dvariable * next_RETURN_PTR()
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void default_evaluation(void)
Description not yet available.
double_and_int * v
pointer to the data
d3_array operator/(const d3_array &m, const double d)
Author: David Fournier.
void default_evaluation4m(void)
Description not yet available.
static _THREAD grad_stack * GRAD_STACK1
Fundamental data type for reverse mode automatic differentiation.
double x
< value of the variable