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::exppdf (const Value &x, double mu, std::pmr::memory_resource *mr=nullptr)
 Exponential pdf (y = exppdf(x, mu)).
Value nk::stats::expcdf (const Value &x, double mu, std::pmr::memory_resource *mr=nullptr)
 Exponential cdf (F = expcdf(x, mu)).
Value nk::stats::expinv (const Value &p, double mu, std::pmr::memory_resource *mr=nullptr)
 Exponential inverse cdf (x = expinv(p, mu)).
Value nk::stats::exprnd (::nk::ops::RngContext &rng, double mu, size_t rows=1, size_t cols=1, std::pmr::memory_resource *mr=nullptr)
 Exponential random samples (r = exprnd(mu, rows, cols)).
std::tuple< double, double > nk::stats::expstat (double mu)
 Exponential mean and variance ([m, v] = expstat(mu)).