RandLib 2.0.0
Probability distributions, fitting, and heavy-tail tools for C++20
Loading...
Searching...
No Matches
select.hpp File Reference
#include <randlib/fit/mle.hpp>
#include <cmath>
#include <concepts>
#include <limits>
#include <optional>
#include <ranges>
#include <span>
#include <type_traits>
#include <utility>
#include <variant>
Include dependency graph for select.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  randlib::BestFitResult< Distributions >
 

Namespaces

namespace  randlib
 

Functions

template<class First , class... Rest>
requires (detail::FittableModel<First> && ... && detail::FittableModel<Rest>) && (std::same_as<typename First::value_type, typename Rest::value_type> && ...)
BestFitResult< First, Rest... > randlib::fit_best (std::span< const typename First::value_type > sample, Criterion criterion)
 
template<class First , class... Rest, std::ranges::contiguous_range Range>
requires std::same_as<std::remove_cv_t<std::ranges::range_value_t<Range>>, typename First::value_type> && (detail::FittableModel<First> && ... && detail::FittableModel<Rest>) && (std::same_as<typename First::value_type, typename Rest::value_type> && ...)
BestFitResult< First, Rest... > randlib::fit_best (const Range &sample, Criterion criterion)