29 for (
int i=mmin;i<=mmax;i++)
38 double exp60 =
exp(60.0);
39 double x = v1i - 60.0;
40 pvtmpi->
x = exp60 * (1.0 + 2.0 *
x)/(1.0 + x);
80 double* pdfvtmpi = dfvtmp.
get_v() +
min;
83 for (
int i = min; i <=
max; ++i)
88 *pdfv1i = *pdfvtmpi * *pvtmpi;
92 double exp60 =
exp(60.0);
93 double b = *pv1i - 60.0;
94 *pdfv1i = *pdfvtmpi * exp60 *
std::pow(1.0 + b, -2.0);
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
void DF_dvmfexp(void)
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.
d3_array mfexp(const d3_array &m)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void save_dvar_vector_value(const dvar_vector &v)
dvar_vector_position restore_dvar_vector_position()
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
d3_array exp(const d3_array &arr3)
Returns d3_array results with computed exp from elements in arr3.
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.
static _THREAD grad_stack * GRAD_STACK1
double x
< value of the variable
d3_array pow(const d3_array &m, int e)
Description not yet available.