#include <memory_resource>#include <nk/value/value.hpp>#include <tuple>Go to the source code of this file.
Functions | |
| Value | nk::stats::geopdf (const Value &k, double p, std::pmr::memory_resource *mr=nullptr) |
| Geometric pmf (y = geopdf(k, p)). | |
| Value | nk::stats::geocdf (const Value &k, double p, std::pmr::memory_resource *mr=nullptr) |
| Geometric cdf (F = geocdf(k, p)). | |
| Value | nk::stats::geoinv (const Value &q, double p, std::pmr::memory_resource *mr=nullptr) |
| Geometric inverse cdf (k = geoinv(q, p)). | |
| Value | nk::stats::geornd (::nk::ops::RngContext &rng, double p, size_t rows=1, size_t cols=1, std::pmr::memory_resource *mr=nullptr) |
| Geometric random samples (r = geornd(p, rows, cols)). | |
| std::tuple< double, double > | nk::stats::geostat (double p) |
| Geometric mean and variance ([m, v] = geostat(p)). | |