12template <
class Distribution>
19template <
class Distribution, std::ranges::contiguous_range Range>
20 requires std::same_as<std::remove_cv_t<std::ranges::range_value_t<Range>>,
typename Distribution::value_type> &&
24 return fit_moments<Distribution>(std::span<const typename Distribution::value_type>(sample));
Real standardNormal(G &g)
Ziggurat algorithm of Marsaglia and Tsang with 256 layers and an explicit sign bit.
Definition variates.hpp:45
Definition bivariate_normal.hpp:10
FitResult< Distribution > fit_moments(std::span< const typename Distribution::value_type > sample)
Definition moments.hpp:14