26 for (
int i = mmin; i <= mmax; ++i)
74 allocate(min1,max1,bmin,bmax,phz1,s);
95 allocate(min1, max1, bmin, bmax, 1, s);
119 static_cast<unsigned int>(max1 - min1 + 1)];
122 cerr <<
" error trying to allocate memory in "
123 <<
"param_init_bounded_number_vector " <<
endl;
145 dvector scalefactors(mmin, mmax);
146 for (
int i = mmin; i <= mmax; ++i)
163 cerr <<
"non matching vector bounds in"
164 <<
" init_number_vector::set_scalefactor" <<
endl;
167 for (
int i = mmin; i <= mmax; ++i)
181 for (
int i = mmin; i <= mmax; ++i)
192 for (
int i=mmin;i<=mmax;i++)
204 cerr <<
"non matching vector bounds in"
205 " init_vector_vector::set_scalefactor" <<
endl;
209 for (
int i=mmin;i<=mmax;i++)
219 for (
int i=mmin;i<=mmax;i++)
230 for (
int i=mmin;i<=mmax;i++)
242 cerr <<
"non matching vector bounds in"
243 " init_matrix_vector::set_scalefactor" <<
endl;
247 for (
int i=mmin;i<=mmax;i++)
257 for (
int i=mmin;i<=mmax;i++)
268 for (
int i=mmin;i<=mmax;i++)
280 cerr <<
"non matching vector bounds in"
281 " init_bounded_number_vector::set_scalefactor" <<
endl;
285 for (
int i=mmin;i<=mmax;i++)
295 for (
int i=mmin;i<=mmax;i++)
306 for (
int i=mmin;i<=mmax;i++)
318 cerr <<
"non matching vector bounds in"
319 " init_bounded_vector_vector::set_scalefactor" <<
endl;
323 for (
int i=mmin;i<=mmax;i++)
333 for (
int i=mmin;i<=mmax;i++)
344 for (
int i=mmin;i<=mmax;i++)
356 cerr <<
"non matching vector bounds in"
357 " init_bounded_matrix_vector::set_scalefactor" <<
endl;
361 for (
int i=mmin;i<=mmax;i++)
371 for (
int i=mmin;i<=mmax;i++)
void set_scalefactor(double s)
Uses polymorphism to get index information from various data types to be used in constructing and all...
void set_scalefactor(double s)
void set_scalefactor(double s)
Sets scalefactor for param_init_number_vector.
~param_init_bounded_number_vector()
Destructor.
dvector get_scalefactor()
void allocate(double _minb, double _maxb, int phase_start=1, const char *s="UNNAMED")
Vector of double precision numbers.
int indexmin() const
Get minimum valid index.
void set_initial_value(const double_index_type &it)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
void set_initial_value(double x)
void deallocate()
Deallocate param_init_bounded_number_vector memory.
Description not yet available.
void set_scalefactor(double s)
void set_scalefactor(double s)
prnstream & endl(prnstream &)
dvector get_scalefactor()
Array of integers(int) with indexes from index_min to indexmax.
void set_scalefactor(double s)
int indexmax() const
Get maximum valid index.
Description not yet available.
dvector get_scalefactor(void)
Returns vector of scalefactor values.
param_init_bounded_number * v
param_init_bounded_number_vector()
Default constructor.
adstring str(double x, int minwidth=17, int decplaces=-1)
Convert x to adstring with minimum width and total number of decimal places.
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...
Description not yet available.
dvector column(const dmatrix &matrix, int j)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
dvector get_scalefactor(void)
dvector get_scalefactor(void)
dvector get_scalefactor(void)
Description not yet available.