Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
distribution.h File Reference

(ac01635f461bd9f211d89f6eea833d9d928fd113)

#include "../../namespaces.h"
#include <functional>
#include <optional>
#include <ostream>
#include <unordered_map>
Include dependency graph for distribution.h:

Go to the source code of this file.

Classes

struct  QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE::DistributionError< T >

Namespaces

namespace  QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE

Typedefs

template<typename T>
using QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE::Histogram = std::unordered_map<T, std::size_t>

Functions

template<typename InputIt, typename GroupBy>
auto QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE::make_histogram (InputIt begin, InputIt end, GroupBy &&group_by)
template<typename T>
std::ostream & QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE::operator<< (std::ostream &os, const DistributionError< T > &error)
template<typename T, typename GroupBy, typename ProbabilityOf>
std::optional< DistributionError< T > > QDOC_CATCH_GENERATORS_UTILITIES_ABSOLUTE_NAMESPACE::respects_distribution (std::vector< T > &&sequence, GroupBy &&group_by, ProbabilityOf &&probability_of, double margin=33)
 Returns true when the given sequence approximately respects a given distribution.