34 cerr <<
" Incompatible array bounds in "
35 "dvar_vector operator * (const dvar_matrix& m, const dvar_vector& x)\n";
45 for (
int i = imin; i <= imax; ++i)
49 double* pxj = x.
get_v() + jmin;
50 for (
int j = jmin; j <= jmax; ++j)
53 sum += pmij->
x * *pxj;
97 double* pdftmpi = dftmp.
get_v() + mmax;
99 for (
int i=mmax; i>=mmin; i--)
102 double dfsum = *pdftmpi;
103 double* pdfmij = pdfmi->
get_v() + jmax;
104 double* pxj = x.
get_v() + jmax;
105 for (
int j = jmax; j >= jmin; --j)
108 *pdfmij += dfsum * *pxj;
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
double sum(const d3_array &darray)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Description not yet available.
Null class to allow specialized function overloads.
void verify_identifier_string(const char *)
Verifies gradient stack string.
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.
void save_dvector_position(const dvector &v)
void save_dvector_value(const dvector &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.
void save_dmatrix_derivatives(const dvar_matrix_position &pos) const
Description not yet available.
static _THREAD gradient_structure * _instance
Description not yet available.
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)
dvar_matrix_position restore_dvar_matrix_position()
static _THREAD DF_FILE * fp
void save_dvar_matrix_position(const dvar_matrix &m)
void dmcv_prod(void)
Description not yet available.
Class definition of matrix with derivitive information .
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()
static _THREAD grad_stack * GRAD_STACK1
class for things related to the gradient structures, including dimension of arrays, size of buffers, etc.
void initialize(void)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
double x
< value of the variable
Description not yet available.