Ignore:
Timestamp:
Jan 9, 2006, 6:35:53 PM (20 years ago)
Author:
ansari
Message:

Corrections AddRow() au lieu de AddLine ds swppfdtable.h .cc - Reza 9/01/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/HiStats/swppfdtable.cc

    r2849 r2891  
    4242   dt.AddDoubleColumn("X0X0pX1X1_d");
    4343   // Fill the table
    44    MuTyV x[5];
     44   r_8 x[5];
    4545   for(int i=0; i<63; i++) {
    4646     x[0] = (i%9)-4.;  x[1] = (i/9)-3.;  x[2] = x[0]*x[0]+x[1]*x[1];
    47      dt.AddLine(x);
     47     dt.AddRow(x);
    4848   }
    4949   // Printing table info
     
    346346}
    347347
    348 //! Adds a line (or row to the table) with r_8* input data.
     348//! Adds a row (or line to the table) with r_8* input data.
    349349/*!
    350350  The min/max values for each column is updated, in addition
    351   to the actions performed by the base class AddLine()
    352 */
    353 sa_size_t SwPPFDataTable::AddLine(const r_8* data)
     351  to the actions performed by the base class AddRow()
     352*/
     353sa_size_t SwPPFDataTable::AddRow(const r_8* data)
    354354{
    355355  // On est oblige de calculer les min-max lors du remplissage
     
    361361    mMinMaxNEnt[k]++;
    362362  }
    363   return BaseDataTable::AddLine(data);
    364 }
    365 
    366 //! Adds a line (or row to the table) with input data as an array of MuTyV
     363  return BaseDataTable::AddRow(data);
     364}
     365
     366//! Adds a row (or line to the table) with input data as an array of MuTyV
    367367/*!
    368368  The min/max values for each column is updated, in addition
    369369  to the actions performed by the base class AddLine()
    370370*/
    371 sa_size_t SwPPFDataTable::AddLine(const MuTyV * data)
     371sa_size_t SwPPFDataTable::AddRow(const MuTyV * data)
    372372{
    373373  // On est oblige de calculer les min-max lors du remplissage
     
    379379    mMinMaxNEnt[k]++;
    380380  }
    381   return BaseDataTable::AddLine(data);
    382 }
    383 
     381  return BaseDataTable::AddRow(data);
     382}
     383
Note: See TracChangeset for help on using the changeset viewer.