Revision 302 trunk/src/nh99/model47.cpp

model47.cpp (revision 302)
68 68
     v=NULL;
69 69
 }
70 70

  
71
  dvector value(const param_init_number_vector& t)
72
  {
73
    dvector vt(t.indexmin(),t.indexmax());
74
    for (int i = t.indexmin(); i <= t.indexmax(); i++)
75
    {
76
       vt(i) = value(t(i));
77
    }
78
    return vt;
79
  }
71 80

  
81
  dvector value(const param_init_bounded_number_vector& t)
82
  {
83
    dvector vt(t.indexmin(),t.indexmax());
84
    for (int i = t.indexmin(); i <= t.indexmax(); i++)
85
    {
86
       vt(i) = value(t(i));
87
    }
88
    return vt;
89
  }
90

  
91

  

Also available in: Unified diff