This example shows how use the histogram class
try {
int seed = 1231;
double xmin = 0.;
double xmax = 10.;
double mean = 5.;
double sigma = 2.;
std::vector<double> numbers(1000);
for (auto && num : numbers) num = ran();
std::vector<double> weights(1000);
for (auto && num : weights) num = uniran();
cbl::glob::Histogram1D hist(numbers, weights, 10);
}
return 0;
}
Class used to handle binned variables.
int main()
main function to create the logo of the CosmoBolognaLib
const char * what() const noexcept override
the error description
The class NormalRandomNumbers.
@ _N_V_
the binned counts,