Changeset 201
 Timestamp:
 Nov 1, 2004, 4:00:19 PM (19 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/Statistics.h
r196 r201 54 54 /// \f$ (n1)p/100  i \f$.Thus the minimum value of the vector is 55 55 /// given by p equal to zero, the maximum is given by p equal to 56 /// 100 and the median value is given by p equal to 50. Since the 57 /// algorithm for computing percentiles involves interpolation 58 /// this function always returns a floatingpoint number, even for 59 /// integer data types. @return \a i'th percentile 56 /// 100 and the median value is given by p equal to 50. 57 /// 58 /// @return \a i'th percentile 60 59 /// 61 60 double percentile(std::vector<double>&, double p); … … 68 67 /// \f$ (n1)p/100  i \f$.Thus the minimum value of the vector is 69 68 /// given by p equal to zero, the maximum is given by p equal to 70 /// 100 and the median value is given by p equal to 50. Since the 71 /// algorithm for computing percentiles involves interpolation 72 /// this function always returns a floatingpoint number, even for 73 /// integer data types. @return \a i'th percentile 69 /// 100 and the median value is given by p equal to 50. 70 /// 71 /// @return \a i'th percentile 74 72 /// 75 73 double percentile(std::vector<size_t>&, double i);
Note: See TracChangeset
for help on using the changeset viewer.