Revision 1110 trunk/src/df1b2separable/df1b2f15.cpp
df1b2f15.cpp (revision 1110)  

77  77  
78  78 
/** 
79  79 
* Set scale factor for parameter in RE model. 
80 
* \param sf Scale factor


80 
* \param sf Scale factor 

81  81 
* The function minimizer will work internally with x*df, where x is the parameter in the model. 
82  82 
*/ 
83  83 
void initial_df1b2params::set_scalefactor(const double sf) 
...  ...  
180  180 
{ 
181  181 
for (int i=rmin;i<=rmax;i++) 
182  182 
{ 
183 
int cmin=(*this)(i).indexmin();


184 
int cmax=(*this)(i).indexmax();


183 
int cmin=(*this)(i).indexmin(); 

184 
int cmax=(*this)(i).indexmax(); 

185  185 
{ 
186  186 
for (int j=cmin;j<=cmax;j++) 
187  187 
{ 
...  ...  
194  194 
{ 
195  195 
for (int i=rmin;i<=rmax;i++) 
196  196 
{ 
197 
int cmin=(*this)(i).indexmin();


198 
int cmax=(*this)(i).indexmax();


197 
int cmin=(*this)(i).indexmin(); 

198 
int cmax=(*this)(i).indexmax(); 

199  199 
{ 
200  200 
for (int j=cmin;j<=cmax;j++) 
201  201 
{ 
...  ...  
209  209 
/** 
210  210 
* Description not yet available. 
211  211 
* \param 
212 
*/


212 
*/ 

213  213 
void df1b2_init_matrix::set_value(const init_df1b2vector& _x, 
214  214 
const int& _ii,const df1b2variable& pen) 
215  215 
{ 
...  ...  
220  220 
int rmax=indexmax(); 
221  221 
for (int i=rmin;i<=rmax;i++) 
222  222 
{ 
223 
int cmin=(*this)(i).indexmin();


224 
int cmax=(*this)(i).indexmax();


223 
int cmin=(*this)(i).indexmin(); 

224 
int cmax=(*this)(i).indexmax(); 

225  225 
{ 
226  226 
for (int j=cmin;j<=cmax;j++) 
227  227 
{ 
...  ...  
234  234 
/** 
235  235 
* Description not yet available. 
236  236 
* \param 
237 
*/


237 
*/ 

238  238 
void df1b2_init_number::set_value(const init_df1b2vector& _x,const int& _ii, 
239  239 
const df1b2variable& pen) 
240  240 
{ 
...  ...  
283  283 
* \param 
284  284 
*/ 
285  285 
df1b2_init_number::df1b2_init_number() : df1b2variable(do_naught_kludge_a) 
286 
{


286 
{ 

287  287 
//cout << "Here" << endl; 
288  288 
} 
289  289  
...  ...  
291  291 
* Description not yet available. 
292  292 
* \param 
293  293 
*/ 
294 
void df1b2_init_number::operator = (const df1b2variable& _x)


294 
void df1b2_init_number::operator = (const df1b2variable& _x) 

295  295 
{ 
296  296 
df1b2variable::operator = (_x); 
297  297 
} 
...  ...  
301  301 
* \param 
302  302 
*/ 
303  303 
void df1b2_init_bounded_number::allocate(double _minb,double _maxb, 
304 
int _n,const char * s)


304 
int _n,const char * s) 

305  305 
{ 
306  306 
minb=_minb; 
307  307 
maxb=_maxb; 
...  ...  
313  313 
/** 
314  314 
* Description not yet available. 
315  315 
* \param 
316 
*/


316 
*/ 

317  317 
void df1b2_init_bounded_number::allocate(double _minb, 
318 
double _maxb,const char * s)


318 
double _maxb,const char * s) 

319  319 
{ 
Also available in: Unified diff