22 #include <iostream.hpp>
39 cerr <<
" Incompatible array bounds in "
40 "dmatrix operator*(const dvar_matrix& x, const dmatrix& m)\n";
46 const unsigned int rowsize = cm2.
rowsize();
49 double* temp_col =
new double[rowsize];
55 temp_col[k] = cm2.
elem(k,j);
63 sum+=temp_row(k) * (temp_col[k]);
73 catch (std::bad_alloc& e)
75 cerr <<
"Error[" << __FILE__ <<
':' << __LINE__
76 <<
"]: Unable to allocate array.\n";
118 dfsum=dftmp.
elem(i,j);
122 dfm1.
elem(i,k)+=dfsum * cm2.
elem(k,j);
Description not yet available.
void dmcm_prod(void)
Description not yet available.
Vector of double precision numbers.
void save_dmatrix_position(const dmatrix &m)
dmatrix restore_dvar_matrix_derivatives(const dvar_matrix_position &_pos)
Description not yet available.
dvar_vector nograd_assign(dvector tmp)
Description not yet available.
double sum(const d3_array &darray)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dmatrix_position restore_dmatrix_position()
void save_dmatrix_value(const dmatrix &m)
void verify_identifier_string(const char *)
Verifies gradient stack string.
dmatrix restore_dmatrix_value(const dmatrix_position &mpos)
dmatrix operator*(const d3_array &t, const dvector &v)
Description not yet available.
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.
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.
dvar_matrix_position restore_dvar_matrix_position()
static _THREAD DF_FILE * fp
void save_dvar_matrix_position(const dvar_matrix &m)
Class definition of matrix with derivitive information .
Stores the adjoint gradient data that will be processed by gradcalc.
unsigned int rowsize() const
dvector value(const df1_one_vector &v)
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.
Description not yet available.