Lines Matching defs:Histogram
20 #include "histogram.h"
31 template <class Value> inline void Histogram<Value>::AddValue(Value value) {
43 inline Histogram<Value>::Histogram(const char* name, Value initial_bucket_width,
54 inline void Histogram<Value>::GrowBuckets(Value new_max) {
76 template <class Value> inline size_t Histogram<Value>::FindBucket(Value val) const {
77 // Since this is only a linear histogram, bucket index can be found simply with
88 inline void Histogram<Value>::BucketiseValue(Value val) {
98 template <class Value> inline void Histogram<Value>::Initialize() {
106 template <class Value> inline size_t Histogram<Value>::GetBucketCount() const {
110 template <class Value> inline void Histogram<Value>::Reset() {
121 template <class Value> inline Value Histogram<Value>::GetRange(size_t bucket_idx) const {
126 template <class Value> inline double Histogram<Value>::Mean() const {
131 template <class Value> inline double Histogram<Value>::Variance() const {
145 inline void Histogram<Value>::PrintBins(std::ostream& os, const CumulativeData& data) const {
158 inline void Histogram<Value>::PrintConfidenceIntervals(std::ostream &os, double interval,
173 template <class Value> inline void Histogram<Value>::CreateHistogram(CumulativeData& out_data) {
190 inline double Histogram<Value>::Percentile(double per, const CumulativeData& data) const {