nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
#include <memory_resource>
#include <nk/value/value.hpp>
#include <tuple>

Go to the source code of this file.

Functions

Value nk::stats::unifpdf (const Value &x, double a, double b, std::pmr::memory_resource *mr=nullptr)
 Continuous-uniform pdf (y = unifpdf(x, a, b)).
Value nk::stats::unifcdf (const Value &x, double a, double b, std::pmr::memory_resource *mr=nullptr)
 Continuous-uniform cdf (p = unifcdf(x, a, b)).
Value nk::stats::unifinv (const Value &p, double a, double b, std::pmr::memory_resource *mr=nullptr)
 Continuous-uniform inverse cdf (x = unifinv(p, a, b)).
Value nk::stats::unifrnd (::nk::ops::RngContext &rng, double a, double b, size_t rows=1, size_t cols=1, std::pmr::memory_resource *mr=nullptr)
 Continuous-uniform random samples (r = unifrnd(a, b, rows, cols)).
std::tuple< double, double > nk::stats::unifstat (double a, double b)
 Continuous-uniform mean and variance ([m, v] = unifstat(a, b)).