MCKL
Monte Carlo Kernel Library
Public Member Functions | List of all members
mckl::MaximumOfTTest< D, T > Class Template Reference

Tests based on the maximum-of-t method. More...

#include <mckl/random/maximum_of_t_test.hpp>

Inherits mckl::ChiSquaredTest< MaximumOfTTest< D, T > >.

Public Member Functions

 MaximumOfTTest (std::size_t n)
 
double degree_of_freedom () const
 
template<typename DistributionType >
double operator() (DistributionType &&distribution)
 
template<typename RNGType , typename U01DistributionType >
double operator() (RNGType &rng, U01DistributionType &u01)
 
- Public Member Functions inherited from mckl::ChiSquaredTest< MaximumOfTTest< D, T > >
double cdf (result_type s) const
 
bool pass (double alpha, result_type s) const
 
double pdf (result_type s) const
 

Additional Inherited Members

- Public Types inherited from mckl::ChiSquaredTest< MaximumOfTTest< D, T > >
using result_type = double
 
- Protected Member Functions inherited from mckl::ChiSquaredTest< MaximumOfTTest< D, T > >
double stat (std::size_t m, const double *count, const double *np) const
 
double stat (std::size_t m, const double *count, double np) const
 

Detailed Description

template<std::size_t D, std::size_t T>
class mckl::MaximumOfTTest< D, T >

Tests based on the maximum-of-t method.

Template Parameters
DMultiplier
TLength of the tuple

Definition at line 46 of file maximum_of_t_test.hpp.

Constructor & Destructor Documentation

◆ MaximumOfTTest()

template<std::size_t D, std::size_t T>
mckl::MaximumOfTTest< D, T >::MaximumOfTTest ( std::size_t  n)
inline

Definition at line 53 of file maximum_of_t_test.hpp.

Member Function Documentation

◆ degree_of_freedom()

template<std::size_t D, std::size_t T>
double mckl::MaximumOfTTest< D, T >::degree_of_freedom ( ) const
inline

Definition at line 78 of file maximum_of_t_test.hpp.

◆ operator()() [1/2]

template<std::size_t D, std::size_t T>
template<typename DistributionType >
double mckl::MaximumOfTTest< D, T >::operator() ( DistributionType &&  distribution)
inline

Definition at line 55 of file maximum_of_t_test.hpp.

◆ operator()() [2/2]

template<std::size_t D, std::size_t T>
template<typename RNGType , typename U01DistributionType >
double mckl::MaximumOfTTest< D, T >::operator() ( RNGType &  rng,
U01DistributionType &  u01 
)
inline

Definition at line 58 of file maximum_of_t_test.hpp.