Changeset 2682 in Sophya for trunk/SophyaLib/HiStats/ntuple.cc
- Timestamp:
- Apr 21, 2005, 6:03:54 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/ntuple.cc
r2667 r2682 526 526 527 527 /* --Methode-- */ 528 uint_4NTuple::NbLines() const528 sa_size_t NTuple::NbLines() const 529 529 { 530 530 return(NEntry()); 531 531 } 532 532 /* --Methode-- */ 533 uint_4NTuple::NbColumns() const533 sa_size_t NTuple::NbColumns() const 534 534 { 535 535 return(NVar()); … … 537 537 538 538 /* --Methode-- */ 539 r_8 * NTuple::GetLineD( int n) const539 r_8 * NTuple::GetLineD(sa_size_t n) const 540 540 { 541 541 return(GetVecD(n)); … … 543 543 544 544 /* --Methode-- */ 545 r_8 NTuple::GetCell( int n, int k) const545 r_8 NTuple::GetCell(sa_size_t n, sa_size_t k) const 546 546 { 547 547 return(GetVal(n, k)); … … 549 549 550 550 /* --Methode-- */ 551 r_8 NTuple::GetCell( int n, string const & nom) const551 r_8 NTuple::GetCell(sa_size_t n, string const & nom) const 552 552 { 553 553 return(GetVal(n, nom.c_str())); … … 556 556 /* --Methode-- */ 557 557 //++ 558 void NTuple::GetMinMax( int k, double& min, double& max) const558 void NTuple::GetMinMax(sa_size_t k, double& min, double& max) const 559 559 // 560 560 // Retourne le minimum et le maximum de la variable `k'. … … 585 585 586 586 /* --Methode-- */ 587 int NTuple::ColumnIndex(string const & nom) const587 sa_size_t NTuple::ColumnIndex(string const & nom) const 588 588 { 589 589 return(IndexNom(nom.c_str())); … … 591 591 592 592 /* --Methode-- */ 593 string NTuple::ColumnName( int k) const593 string NTuple::ColumnName(sa_size_t k) const 594 594 { 595 595 return(NomIndex(k)); … … 646 646 /* --Methode-- */ 647 647 //++ 648 string NTuple::LineToString( int n) const648 string NTuple::LineToString(sa_size_t n) const 649 649 // Retourne une chaine de caracteres avec le contenu de la ligne "n" 650 650 // utilisable pour une impression
Note:
See TracChangeset
for help on using the changeset viewer.