Revision 1942 trunk/src/linad99/set.cpp
set.cpp (revision 1942)  

77  77 
* \param 
78  78 
*/ 
79  79 
void set_value(const prevariable& _u, const dvar_vector& x, const int& _ii, 
80 
CGNU_DOUBLE fmin,CGNU_DOUBLE fmax,const dvariable& _fpen)


80 
const double fmin, const double fmax,const dvariable& _fpen)


81  81 
{ 
82  82 
int& ii = (int&) _ii; 
83  83 
prevariable& u= (prevariable&) _u; 
...  ...  
252  252 
* \param 
253  253 
*/ 
254  254 
void set_value(const dvar_matrix& x, const dvar_vector& v, const int& ii, 
255 
CGNU_DOUBLE fmin,CGNU_DOUBLE fmax,const dvariable& fpen)


255 
const double fmin, const double fmax,const dvariable& fpen)


256  256 
{ 
257  257 
if (!(!(x))) 
258  258 
{ 
...  ...  
288  288 
* \param 
289  289 
*/ 
290  290 
void set_value(dvar3_array& x, const dvar_vector& v, const int& ii, 
291 
CGNU_DOUBLE fmin,CGNU_DOUBLE fmax,const dvariable& fpen)


291 
const double fmin, const double fmax,const dvariable& fpen)


292  292 
{ 
293  293 
if (!(!(x))) 
294  294 
{ 
...  ...  
346  346 
* \param 
347  347 
*/ 
348  348 
void set_value_partial(const dvar_vector& x, const dvar_vector& v, 
349 
const int& _ii, int n, CGNU_DOUBLE fmin,CGNU_DOUBLE fmax,


349 
const int& _ii, int n, const double fmin, const double fmax,


350  350 
const dvariable& fpen) 
351  351 
{ 
352  352 
int& ii = (int&) _ii; 
Also available in: Unified diff