Changeset 201


Ignore:
Timestamp:
Nov 1, 2004, 4:00:19 PM (19 years ago)
Author:
Peter
Message:

doc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Statistics.h

    r196 r201  
    5454    /// \f$ (n-1)p/100 - i \f$.Thus the minimum value of the vector is
    5555    /// 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 floating-point 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
    6059    ///
    6160    double percentile(std::vector<double>&, double p);
     
    6867    /// \f$ (n-1)p/100 - i \f$.Thus the minimum value of the vector is
    6968    /// 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 floating-point 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
    7472    ///
    7573    double percentile(std::vector<size_t>&, double i);
Note: See TracChangeset for help on using the changeset viewer.