Grok 12.0.1
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
hwy::HWY_NAMESPACE::CachedXoshiro< size > Class Template Reference

#include <random-inl.h>

Public Types

using result_type = std::uint64_t
 

Public Member Functions

 CachedXoshiro (const result_type seed, const result_type threadNumber=0)
 
result_type operator() () noexcept
 

Static Public Member Functions

static constexpr result_type min ()
 
static constexpr result_type max ()
 

Private Attributes

VectorXoshiro generator_
 
std::array< result_type, size > cache_
 
std::size_t index_
 

Member Typedef Documentation

◆ result_type

template<std::uint64_t size = 1024>
using hwy::HWY_NAMESPACE::CachedXoshiro< size >::result_type = std::uint64_t

Constructor & Destructor Documentation

◆ CachedXoshiro()

template<std::uint64_t size = 1024>
hwy::HWY_NAMESPACE::CachedXoshiro< size >::CachedXoshiro ( const result_type seed,
const result_type threadNumber = 0 )
inlineexplicit

Member Function Documentation

◆ max()

template<std::uint64_t size = 1024>
static constexpr result_type hwy::HWY_NAMESPACE::CachedXoshiro< size >::max ( )
inlinestaticconstexpr

◆ min()

template<std::uint64_t size = 1024>
static constexpr result_type hwy::HWY_NAMESPACE::CachedXoshiro< size >::min ( )
inlinestaticconstexpr

◆ operator()()

template<std::uint64_t size = 1024>
result_type hwy::HWY_NAMESPACE::CachedXoshiro< size >::operator() ( )
inlinenoexcept

References HWY_UNLIKELY.

Member Data Documentation

◆ cache_

template<std::uint64_t size = 1024>
std::array<result_type, size> hwy::HWY_NAMESPACE::CachedXoshiro< size >::cache_
private

◆ generator_

template<std::uint64_t size = 1024>
VectorXoshiro hwy::HWY_NAMESPACE::CachedXoshiro< size >::generator_
private

◆ index_

template<std::uint64_t size = 1024>
std::size_t hwy::HWY_NAMESPACE::CachedXoshiro< size >::index_
private

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