52 cerr <<
" Error allocating memory in dvar_matrix contructor"<<
endl;
57 cerr <<
" Error allocating memory in dvar_matrix contructor"<<
endl;
62 for (
int i = index_min; i <=
index_max; ++i)
142 for (
int i = min; i <=
max; ++i)
158 for (
int i=nrl; i<=nrh; i++)
190 cerr <<
" Error allocating memory in dvar_matrix::allocate(int, int)\n";
195 cerr <<
" Error allocating memory in dvar_matrix::allocate(int, int)\n";
201 for (
int i = nrl; i <= nrh; ++i)
220 for (
int i = nrl; i <= nrh; ++i)
236 allocate(static_cast<int>(nrl), static_cast<int>(nrh));
252 cerr <<
" Error allocating memory in dvar_matrix contructor\n";
257 cerr <<
" Error allocating memory in dvar_matrix contructor\n";
262 for (
int i = nrl; i <= nrh; ++i)
289 cerr <<
" Error allocating memory in dvar_matrix contructor"<<
endl;
294 cerr <<
" Error allocating memory in dvar_matrix contructor"<<
endl;
299 for (
int i = nrl; i <= nrh; ++i)
349 cerr <<
"Incompatible array bounds in "
350 "dvar_matrix(int nrl, int nrh, const ivector& ncl, const ivector& nch)"
358 cerr <<
" Error allocating memory in dvar_matrix contructor"<<
endl;
363 cerr <<
" Error allocating memory in dvar_matrix contructor"<<
endl;
367 int* pncli = ncl.
get_v() + nrl;
368 int* pnchi = nch.
get_v() + nrl;
369 for (
int i = nrl; i <= nrh; ++i)
409 cerr <<
"Incompatible array bounds in "
410 "dvar_matrix(int nrl, int nrh, const int& ncl, const ivector& nch)"
418 cerr <<
" Error allocating memory in dvar_matrix contructor"<<
endl;
423 cerr <<
" Error allocating memory in dvar_matrix contructor"<<
endl;
427 int* pnchi = nch.
get_v() + nrl;
428 for (
int i = nrl; i <= nrh; ++i)
448 for (
int i = nrl; i <= nrh; ++i)
473 cerr <<
"Warning -- Unable to shallow copy an unallocated dvar_matrix.\n";
506 cerr <<
"Warning -- Unable to deallocate an unallocated dvar_matrix.\n";
528 cerr <<
"Error: Incompatible array bounds in "
529 "dvar_matrix& dvar_matrix::operator=(const dvar_matrix&)\n";
538 for (
int i = min; i <=
max; ++i)
561 cerr <<
"Error: Incompatible array bounds in "
562 <<
"dvar_matrix& dvar_matrix::operator=(const dmatrix&)\n";
569 const dvector* pother = &other(min);
570 for (
int i = min; i <=
max; ++i)
586 ostream& s= (ostream&) _s;
587 s <<
" matrix_copy flags \n";
Description not yet available.
int allocated(const ivector &v)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
void initialize(void)
Zero initialize allocated dvar_matrix, then saves adjoint function and position data.
~dvar_matrix()
Destructor.
Null class to allow specialized function overloads.
void shallow_copy(const dvar_matrix &)
Shallow copy other data structure pointers.
prnstream & endl(prnstream &)
Array of integers(int) with indexes from index_min to indexmax.
void deallocate()
Deallocate dvar_matrix memory.
int indexmin() const
Returns lower row index.
int indexmax() const
Get maximum valid index.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void allocate(void)
Does not allocate, but initializes members.
Description not yet available.
dvar_matrix sub(int, int)
Description not yet available.
unsigned int rowsize() const
void allocate(int, int)
Allocate dvar_vector with indexmin = ncl and indexmax = nch.
dvar_matrix()
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvar_matrix & operator=(const dvar_matrix &)
Assigns other values to dvar_matrix.
Class definition of matrix with derivitive information .
dvar_vector & operator()(int i)
int indexmax() const
Returns upper row index.
void copy_status(const ostream &_s, const dvar_vector &v)
Description not yet available.