24 double xinv = 1.0 /
x;
28 for (
int i = min; i <=
max; ++i)
58 double* pdfthis = dfthis.
get_v() +
max;
59 for (
int i = max; i >=
min; --i)
82 double xinv = 1.0 /
value(x);
86 for (
int i = min; i <=
max; ++i)
123 double* pdfthis = dfthis.
get_v() +
max;
125 for (
int i = max; i >=
min; --i)
129 tmp1 += *pdfthis * *ptmp;
136 for (
int i = max; i >=
min; --i)
double restore_prevariable_derivative(const prevariable_position &_pos)
Description not yet available.
Base class for dvariable.
Description not yet available.
dvar_vector & operator/=(const prevariable &d)
Description not yet available.
void DF_cdble_dv_diveq(void)
Description not yet available.
void save_prevariable_value(const prevariable &v)
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
friend dvector value(const dvar_vector &v1)
Description not yet available.
void save_dvector_derivatives(const dvar_vector_position &pos) const
Puts the derivative values in a dvector into a dvar_vector's guts.
Description not yet available.
void verify_identifier_string(const char *)
Verifies gradient stack string.
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.
void DF_vdble_dv_diveq(void)
Description not yet available.
prevariable_position restore_prevariable_position()
void save_prevariable_position(const prevariable &v)
void save_dvar_vector_value(const dvar_vector &v)
dvar_vector_position restore_dvar_vector_position()
void RETURN_ARRAYS_INCREMENT()
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double restore_double_value()
static _THREAD gradient_structure * _instance
int save_identifier_string(const char *)
Writes a gradient stack verification string.
dvector restore_dvar_vector_value(const dvar_vector_position &tmp)
Restores the size, address, and value information for a dvar_vector.
void save_dvar_vector_position(const dvar_vector &v)
static _THREAD DF_FILE * fp
Stores the adjoint gradient data that will be processed by gradcalc.
dvector restore_dvar_vector_derivatives(const dvar_vector_position &tmp)
Description not yet available.
double restore_prevariable_value()
void RETURN_ARRAYS_DECREMENT()
void save_double_value(double x)
void save_double_derivative(const double x, const prevariable_position &_pos)
Description not yet available.
static _THREAD grad_stack * GRAD_STACK1
class for things related to the gradient structures, including dimension of arrays, size of buffers, etc.
double x
< value of the variable