33 double value_x =
value(x);
34 for (
int i = min; i <=
max; ++i)
37 ptmp->
x = *pt1 - value_x;
65 double* pdftmp = dftmp.
get_v() +
max;
66 for (
int i = max; i >=
min; --i)
Base class for dvariable.
Description not yet available.
void DF_v_xdble_diff(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).
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
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.
prevariable_position restore_prevariable_position()
void save_prevariable_position(const prevariable &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.
static _THREAD gradient_structure * _instance
int save_identifier_string(const char *)
Writes a gradient stack verification string.
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.
void RETURN_ARRAYS_DECREMENT()
dvector value(const df1_one_vector &v)
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