|
Public Member Functions |
| | Cdf (const std::vector< size_t > &data, bool countZeros) |
| | This constructor assumes that is ok to copy and sort the data... that it is not too big.
|
| float | getCDF (const size_t value) |
| | Get the CDF at the point value.
|
| float | getCDF (const size_t value, float &bottom, float &top) |
| | Get the bracketing percents for a point... there may be many with the same value.
|
| void | print () |
| | Dump the cdf to stdout.
|
| void | writeForGraphing (const std::string &filename) |
| | Write the data out to a file in a style suitable for gnuplot.
|
Private Attributes |
| std::vector< size_t > | value |
| std::vector< float > | percent |