libnumerixpp  0.1.3
A Powerful C++ Library for High-Performance Numerical Computing
statistics.hpp File Reference

Mathematics utils for statistics. More...

#include <cmath>
#include <cstddef>
#include <vector>

Go to the source code of this file.

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::variance (const std::vector< double > &data) -> double
 variance More...
 
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...
 

Detailed Description

Mathematics utils for statistics.

Authors
alxvdev