Changeset 2891 in Sophya for trunk/SophyaLib/HiStats/swppfdtable.cc
- Timestamp:
- Jan 9, 2006, 6:35:53 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/swppfdtable.cc
r2849 r2891 42 42 dt.AddDoubleColumn("X0X0pX1X1_d"); 43 43 // Fill the table 44 MuTyVx[5];44 r_8 x[5]; 45 45 for(int i=0; i<63; i++) { 46 46 x[0] = (i%9)-4.; x[1] = (i/9)-3.; x[2] = x[0]*x[0]+x[1]*x[1]; 47 dt.Add Line(x);47 dt.AddRow(x); 48 48 } 49 49 // Printing table info … … 346 346 } 347 347 348 //! Adds a line (or rowto the table) with r_8* input data.348 //! Adds a row (or line to the table) with r_8* input data. 349 349 /*! 350 350 The min/max values for each column is updated, in addition 351 to the actions performed by the base class Add Line()352 */ 353 sa_size_t SwPPFDataTable::Add Line(const r_8* data)351 to the actions performed by the base class AddRow() 352 */ 353 sa_size_t SwPPFDataTable::AddRow(const r_8* data) 354 354 { 355 355 // On est oblige de calculer les min-max lors du remplissage … … 361 361 mMinMaxNEnt[k]++; 362 362 } 363 return BaseDataTable::Add Line(data);364 } 365 366 //! Adds a line (or rowto the table) with input data as an array of MuTyV363 return BaseDataTable::AddRow(data); 364 } 365 366 //! Adds a row (or line to the table) with input data as an array of MuTyV 367 367 /*! 368 368 The min/max values for each column is updated, in addition 369 369 to the actions performed by the base class AddLine() 370 370 */ 371 sa_size_t SwPPFDataTable::Add Line(const MuTyV * data)371 sa_size_t SwPPFDataTable::AddRow(const MuTyV * data) 372 372 { 373 373 // On est oblige de calculer les min-max lors du remplissage … … 379 379 mMinMaxNEnt[k]++; 380 380 } 381 return BaseDataTable::Add Line(data);382 } 383 381 return BaseDataTable::AddRow(data); 382 } 383
Note:
See TracChangeset
for help on using the changeset viewer.