Esempio n. 1
0
/**
Allocates matrix with row dimensions rmin to rmax and column dimensions
cmin to cmax using specified phase_start.
*/
void param_init_matrix::allocate(const ad_integer& rmin,
  const ad_integer& rmax, const index_type& cmin,
  const index_type& cmax, int _phase_start, const char *s)
{
  named_dvar_matrix::allocate(rmin,rmax,cmin,cmax,s);
  initial_params::allocate(_phase_start);
  if (ad_comm::global_bparfile)
  {
    *(ad_comm::global_bparfile) >> dvar_matrix(*this);
  }
  else if (ad_comm::global_parfile)
Esempio n. 2
0
 void param_init_matrix::allocate(
   const ad_integer& imin,
   const ad_integer&imax,
   const index_type& imin2,
   const index_type& imax2,
   const ad_integer& phase_start,
   const char * s)
 {
   named_dvar_matrix::allocate(imin,imax,imin2,imax2,s);
   if (!(!(*this)))
   {
     initial_params::allocate(phase_start);
     if (ad_comm::global_bparfile)
     {
       *(ad_comm::global_bparfile) >> dvar_matrix(*this);
     }
     else if (ad_comm::global_parfile)
Esempio n. 3
0
 void param_stddev_matrix::set_dependent_variables(void)
 {
   dvar_matrix(*this) << dvar_matrix(*this);
 }