MCKL
Monte Carlo Kernel Library
Public Types | Public Member Functions | List of all members
mckl::PoissonTest< Derived > Class Template Reference

Tests based on the Poisson distribution. More...

#include <mckl/random/poisson_test.hpp>

Public Types

using result_type = std::size_t
 

Public Member Functions

double cdf (result_type s) const
 
bool pass (double alpha, result_type s) const
 
double pdf (result_type s) const
 

Detailed Description

template<typename Derived>
class mckl::PoissonTest< Derived >

Tests based on the Poisson distribution.

Definition at line 42 of file poisson_test.hpp.

Member Typedef Documentation

◆ result_type

template<typename Derived>
using mckl::PoissonTest< Derived >::result_type = std::size_t

Definition at line 45 of file poisson_test.hpp.

Member Function Documentation

◆ cdf()

template<typename Derived>
double mckl::PoissonTest< Derived >::cdf ( result_type  s) const
inline

Definition at line 72 of file poisson_test.hpp.

◆ pass()

template<typename Derived>
bool mckl::PoissonTest< Derived >::pass ( double  alpha,
result_type  s 
) const
inline

Definition at line 47 of file poisson_test.hpp.

◆ pdf()

template<typename Derived>
double mckl::PoissonTest< Derived >::pdf ( result_type  s) const
inline

Definition at line 63 of file poisson_test.hpp.