Theoretica
A C++ numerical and automatic mathematical library
|
Histogram class. More...
#include <sstream>
#include <ostream>
#include <vector>
#include "../core/real_analysis.h"
#include "../core/dataset.h"
#include "./statistics.h"
Go to the source code of this file.
Classes | |
class | theoretica::histogram |
Histogram class with running statistics, can be constructed from the parameters of the bins or from a dataset. More... | |
Namespaces | |
theoretica | |
Main namespace of the library which contains all functions and objects. | |
theoretica::stats | |
Statistical functions. | |
Functions | |
real | theoretica::stats::mean (const histogram &h) |
Compute the mean of the values of a histogram. | |
real | theoretica::stats::tss (const histogram &h) |
Compute the total sum of squares of the values of the histogram. | |
real | theoretica::stats::variance (const histogram &h) |
Compute the variance of the values of a histogram. | |
real | theoretica::stats::stdev (const histogram &h) |
Compute the standard deviation of the values of a histogram. | |
real | theoretica::max (const histogram &h) |
Compute the maximum value of the elements of a histogram. | |
real | theoretica::min (const histogram &h) |
Compute the minimum value of the elements of a histogram. | |
Histogram class.