Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::math::TMt19937< Bits > Class Template Referencefinal

Standard Mersenne Twister generator. More...

#include <TMt19937.h>

Inheritance diagram for ph::math::TMt19937< Bits >:
ph::math::TUniformRandomBitGenerator< TMt19937< Bits >, Bits >

Public Member Functions

 PH_DEFINE_INLINE_RULE_OF_5_MEMBERS (TMt19937)
 
 TMt19937 (Bits seed)
 
Bits impl_generate ()
 
void impl_jumpAhead (uint64 distance)
 
- Public Member Functions inherited from ph::math::TUniformRandomBitGenerator< TMt19937< Bits >, Bits >
Bits generate ()
 
TargetBits generate ()
 
TargetSample generateSample ()
 
void jumpAhead (uint64 distance)
 

Additional Inherited Members

- Public Types inherited from ph::math::TUniformRandomBitGenerator< TMt19937< Bits >, Bits >
using BitsType
 
- Protected Member Functions inherited from ph::math::TUniformRandomBitGenerator< TMt19937< Bits >, Bits >
 PH_DEFINE_INLINE_RULE_OF_5_MEMBERS (TUniformRandomBitGenerator)
 

Detailed Description

template<typename Bits>
class ph::math::TMt19937< Bits >

Standard Mersenne Twister generator.

Constructor & Destructor Documentation

◆ TMt19937()

template<typename Bits >
ph::math::TMt19937< Bits >::TMt19937 ( Bits seed)
inlineexplicit

Member Function Documentation

◆ impl_generate()

template<typename Bits >
Bits ph::math::TMt19937< Bits >::impl_generate ( )
inline

◆ impl_jumpAhead()

template<typename Bits >
void ph::math::TMt19937< Bits >::impl_jumpAhead ( uint64 distance)
inline

◆ PH_DEFINE_INLINE_RULE_OF_5_MEMBERS()

template<typename Bits >
ph::math::TMt19937< Bits >::PH_DEFINE_INLINE_RULE_OF_5_MEMBERS ( TMt19937< Bits > )

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