20 #include <iostream.hpp>
54 RETURN_PTR->
v->
x = (*v1.
v).
x + (*v2.
v).x;
56 &(RETURN_PTR->
v->
x),&((*v1.
v).x), &((*v2.
v).x));
71 RETURN_PTR->
v->
x = di1->
x * di2->
x;
74 &(di1->
x), di2->
x, &(di2->
x), di1->
x);
void set_gradient_stack4(void(*func)(void), double *dep_addr, double *ind_addr1, double *ind_addr2)
Description not yet available.
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).
int operator==(const prevariable &v1) const
Description not yet available.
void default_evaluation4(void)
Description not yet available.
dmatrix operator*(const d3_array &t, const dvector &v)
Description not yet available.
Holds the data for the prevariable class.
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.
static dvariable * next_RETURN_PTR()
void operator-=(const prevariable &t1)
Description not yet available.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
friend double & value(const prevariable &v1)
double_and_int * v
pointer to the data
prevariable & operator+=(const prevariable &)
Prevariable addition assignment operator.
int operator<=(const prevariable &v1) const
Description not yet available.
int operator!=(const prevariable &v1) const
Description not yet available.
int operator<(const prevariable &v1) const
Description not yet available.
static _THREAD grad_stack * GRAD_STACK1
Fundamental data type for reverse mode automatic differentiation.
double x
< value of the variable
int operator>=(const prevariable &v1) const
Description not yet available.
int operator>(const prevariable &v1) const
Description not yet available.