#include <memory_resource>#include <nk/value/value.hpp>#include <tuple>Go to the source code of this file.
Functions | |
| Value | nk::stats::unidpdf (const Value &k, double N, std::pmr::memory_resource *mr=nullptr) |
| Discrete-uniform pmf (y = unidpdf(k, N)). | |
| Value | nk::stats::unidcdf (const Value &k, double N, std::pmr::memory_resource *mr=nullptr) |
| Discrete-uniform cdf (F = unidcdf(k, N)). | |
| Value | nk::stats::unidinv (const Value &p, double N, std::pmr::memory_resource *mr=nullptr) |
| Discrete-uniform inverse cdf (k = unidinv(p, N)). | |
| Value | nk::stats::unidrnd (::nk::ops::RngContext &rng, double N, size_t rows=1, size_t cols=1, std::pmr::memory_resource *mr=nullptr) |
| Discrete-uniform random samples (r = unidrnd(N, rows, cols)). | |
| std::tuple< double, double > | nk::stats::unidstat (double N) |
| Discrete-uniform mean and variance ([m, v] = unidstat(N)). | |