|
libnumerixpp
0.1.3
A Powerful C++ Library for High-Performance Numerical Computing
|
Mathematics utils for statistics. More...
#include <algorithm>#include <cmath>#include <cstddef>#include <vector>Namespaces | |
| mathematics | |
| Basic mathematics utils. | |
| mathematics::statistics | |
| Statistics namespace. | |
Functions | |
| auto | mathematics::statistics::get_average (const double numbers[], int length) -> double |
| Gets the average. More... | |
| auto | mathematics::statistics::factorial (size_t n) -> size_t |
| calculate factorial More... | |
| auto | mathematics::statistics::combinations (size_t n, size_t k) -> size_t |
| get combinations More... | |
| auto | mathematics::statistics::median (std::vector< double > data) -> double |
| auto | mathematics::statistics::probability (size_t favorable_outcomes, size_t total_outcomes) -> double |
| probability More... | |
| auto | mathematics::statistics::conditional_probability (size_t a_and_b, size_t b) -> double |
| conditional probability More... | |
Mathematics utils for statistics.