libTriton  version 1.0 build 1532
Classes | Public Types | Public Member Functions | List of all members
math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned > Class Template Reference

Classes

struct  param_type
 

Public Types

using result_type = uintwide_t< Width2, LimbType, AllocatorType, IsSigned >
 

Public Member Functions

 uniform_int_distribution (const result_type &p_a, const result_type &p_b=(std::numeric_limits< result_type >::max)())
 
 uniform_int_distribution (const param_type &other_params)
 
 uniform_int_distribution (const uniform_int_distribution &other_distribution)=delete
 
 uniform_int_distribution (uniform_int_distribution &&other) noexcept
 
auto operator= (const uniform_int_distribution &other) -> uniform_int_distribution &
 
auto operator= (uniform_int_distribution &&other) noexcept -> uniform_int_distribution &
 
void param (const param_type &new_params)
 
WIDE_INTEGER_NODISCARD auto param () const -> const param_type &
 
WIDE_INTEGER_NODISCARD auto a () const -> result_type
 
WIDE_INTEGER_NODISCARD auto b () const -> result_type
 
template<typename GeneratorType , const int GeneratorResultBits = std::numeric_limits<typename GeneratorType::result_type>::digits>
WIDE_INTEGER_CONSTEXPR auto operator() (GeneratorType &generator) -> result_type
 
template<typename GeneratorType , const int GeneratorResultBits = std::numeric_limits<typename GeneratorType::result_type>::digits>
WIDE_INTEGER_CONSTEXPR auto operator() (GeneratorType &input_generator, const param_type &input_params) -> result_type
 

Detailed Description

template<const size_t Width2, typename LimbType, typename AllocatorType, const bool IsSigned>
class math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >

Definition at line 5381 of file uintwide_t.h.

Member Typedef Documentation

◆ result_type

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
using math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::result_type = uintwide_t<Width2, LimbType, AllocatorType, IsSigned>

Definition at line 5384 of file uintwide_t.h.

Constructor & Destructor Documentation

◆ uniform_int_distribution() [1/4]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::uniform_int_distribution ( )
inline

Definition at line 5446 of file uintwide_t.h.

◆ uniform_int_distribution() [2/4]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::uniform_int_distribution ( const result_type p_a,
const result_type p_b = (std::numeric_limits<result_type>::max)() 
)
inlineexplicit

Definition at line 5448 of file uintwide_t.h.

◆ uniform_int_distribution() [3/4]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::uniform_int_distribution ( const param_type other_params)
inlineexplicit

Definition at line 5452 of file uintwide_t.h.

◆ uniform_int_distribution() [4/4]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::uniform_int_distribution ( uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned > &&  other)
inlinenoexcept

Definition at line 5457 of file uintwide_t.h.

Member Function Documentation

◆ a()

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
WIDE_INTEGER_NODISCARD auto math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::a ( ) const -> result_type
inline

Definition at line 5485 of file uintwide_t.h.

◆ b()

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
WIDE_INTEGER_NODISCARD auto math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::b ( ) const -> result_type
inline

Definition at line 5486 of file uintwide_t.h.

◆ operator()() [1/2]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
template<typename GeneratorType , const int GeneratorResultBits = std::numeric_limits<typename GeneratorType::result_type>::digits>
WIDE_INTEGER_CONSTEXPR auto math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::operator() ( GeneratorType &  generator) -> result_type
inline

Definition at line 5490 of file uintwide_t.h.

◆ operator()() [2/2]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
template<typename GeneratorType , const int GeneratorResultBits = std::numeric_limits<typename GeneratorType::result_type>::digits>
WIDE_INTEGER_CONSTEXPR auto math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::operator() ( GeneratorType &  input_generator,
const param_type input_params 
) -> result_type
inline

Definition at line 5501 of file uintwide_t.h.

◆ operator=() [1/2]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
auto math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::operator= ( const uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned > &  other) -> uniform_int_distribution &
inline

Definition at line 5461 of file uintwide_t.h.

◆ operator=() [2/2]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
auto math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::operator= ( uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned > &&  other) -> uniform_int_distribution &
inlinenoexcept

Definition at line 5471 of file uintwide_t.h.

◆ param() [1/2]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
WIDE_INTEGER_NODISCARD auto math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::param ( ) const -> const param_type &
inline

Definition at line 5483 of file uintwide_t.h.

◆ param() [2/2]

template<const size_t Width2, typename LimbType , typename AllocatorType , const bool IsSigned>
void math::wide_integer::uniform_int_distribution< Width2, LimbType, AllocatorType, IsSigned >::param ( const param_type new_params)
inline

Definition at line 5478 of file uintwide_t.h.


The documentation for this class was generated from the following file: