41 int rowmin,
int rowmax,
42 int colmin,
int colmax,
46 imatrix phase_start(rowmin, rowmax, colmin, colmax);
48 allocate(rowmin, rowmax, colmin, colmax, bmin, bmax, phase_start, s);
67 int rowmin,
int rowmax,
68 int colmin,
int colmax,
79 unsigned int size =
static_cast<unsigned int>(rowmax - rowmin + 1);
83 cerr <<
" error trying to allocate memory in "
84 "param_init_bounded_number_vector " <<
endl;
96 v[i].
allocate(colmin, colmax, bmin[i], bmax[i], phase_start[i],
107 const double scalefactor)
183 "param_init_bounded_number_matrix::operator[](const int i) const",
189 "param_init_bounded_number_matrix::operator[](const int i) const",
208 "param_init_bounded_number_matrix::operator[](const int i) const",
214 "param_init_bounded_number_matrix::operator[](const int i) const",
void set_scalefactor(double s)
Description not yet available.
dvector get_scalefactor()
void allocate(void)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
param_init_bounded_number_vector & operator()(const int i) const
Returns param_init_bounded_vector for index i.
void set_scalefactor(const double scalefactor)
Set scalefactor for each element of param_init_bounded_number_matrix.
void deallocate()
Deallocate param_init_bounded_number_vector memory.
void allocate(int rowmin, int rowmax, int colmin, int colmax, const dmatrix &bmin, const dmatrix &bmax, const char *s)
Allocate matrix of param_init_bounded numbers with dimension [rowmin to rowmax] x [colmin to colmax] ...
virtual ~param_init_bounded_number_matrix()
Destructor.
param_init_bounded_number_matrix()
Default constructor.
Description not yet available.
prnstream & endl(prnstream &)
param_init_bounded_number_vector * v
Description not yet available.
#define ADMB_ARRAY_BOUNDS_ERROR(message, function, lower_bounds, upper_bounds, index)
adstring str(double x, int minwidth=17, int decplaces=-1)
Convert x to adstring with minimum width and total number of decimal places.
dmatrix get_scalefactor() const
Returns matrix with scalefactors for each element in param_init_bounded_number_matrix.
void allocate(int min1, int max1, const double_index_type &bmin, const double_index_type &bmax, const index_type &phase_start, const char *s)
Allocate vector of param_init_bounded_number with dimension [min1 to max1] and bounded by [bmin...
Class object for init_bounded_number vector.
void deallocate()
Free allocated memory.
param_init_bounded_number_vector & operator[](const int i) const
Returns param_init_bounded_vector for index i.