Changeset 2682 in Sophya for trunk/SophyaLib/HiStats/xntuple.cc
- Timestamp:
- Apr 21, 2005, 6:03:54 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/xntuple.cc
r2615 r2682 718 718 // 719 719 // 720 uint_4XNTuple::NbLines() const720 sa_size_t XNTuple::NbLines() const 721 721 { 722 722 return(NEntry()); 723 723 } 724 724 725 uint_4XNTuple::NbColumns() const725 sa_size_t XNTuple::NbColumns() const 726 726 { 727 727 return(NVar()); 728 728 } 729 729 730 r_8* XNTuple::GetLineD( int n) const730 r_8* XNTuple::GetLineD(sa_size_t n) const 731 731 { 732 732 // memcpy() impossible … … 745 745 746 746 747 r_8 XNTuple::GetCell( int n, int k) const747 r_8 XNTuple::GetCell(sa_size_t n, sa_size_t k) const 748 748 { 749 749 if( k<0 || k>=(mD+mF+mI+mS) ) return BADVAL ; … … 756 756 757 757 758 r_8 XNTuple::GetCell( int n, string const& nom) const758 r_8 XNTuple::GetCell(sa_size_t n, string const& nom) const 759 759 { 760 760 int k = IndexNom(nom.c_str()) ; … … 767 767 } 768 768 769 string XNTuple::GetCelltoString( int n, int k) const769 string XNTuple::GetCelltoString(sa_size_t n, sa_size_t k) const 770 770 { 771 771 char buff[32]; … … 782 782 } 783 783 784 void XNTuple::GetMinMax( int k, double& min, double& max) const784 void XNTuple::GetMinMax(sa_size_t k, double& min, double& max) const 785 785 { 786 786 min = 9E19 ; max = -9E19 ; … … 800 800 801 801 802 int XNTuple::ColumnIndex(string const& nom) const802 sa_size_t XNTuple::ColumnIndex(string const& nom) const 803 803 { 804 804 return IndexNom(nom.c_str()) ; … … 806 806 807 807 808 string XNTuple::ColumnName( int k) const808 string XNTuple::ColumnName(sa_size_t k) const 809 809 { 810 810 return NomIndex(k) ; … … 882 882 883 883 884 string XNTuple::LineToString( int n) const884 string XNTuple::LineToString(sa_size_t n) const 885 885 { 886 886 char buff[32];
Note:
See TracChangeset
for help on using the changeset viewer.