OROCHI
 
Loading...
Searching...
No Matches
GxRandomMT19937 Class Reference

メルセンヌツイスター乱数クラス More...

#include <GxSysEnvironment.h>

Inheritance diagram for GxRandomMT19937:
Collaboration diagram for GxRandomMT19937:

Public Member Functions

初期化
 GxRandomMT19937 (void)
 デフォルトコンストラクタ
 
 GxRandomMT19937 (u32 seed)
 コンストラクタ
 
 ~GxRandomMT19937 (void) override
 デストラクタ
 
void initialize (u32 seed) override
 初期化
 
アクセサ
u32 getRandomU32 (void) override
 乱数生成(整数)
 
- Public Member Functions inherited from GxRandom
 GxRandom (void)
 デフォルトコンストラクタ
 
virtual ~GxRandom (void)
 デストラクタ
 
GX_FORCE_INLINE f32 getRandomF32 (void)
 乱数生成(32bit浮動少数)
 
GX_FORCE_INLINE f32 getRandomF32 (f32 min, f32 max)
 乱数生成(32bit浮動少数,範囲指定)
 
GX_FORCE_INLINE f64 getRandomF64 (void)
 乱数生成(64bit浮動少数)
 

Detailed Description

メルセンヌツイスター乱数クラス

Constructor & Destructor Documentation

◆ GxRandomMT19937()

GxRandomMT19937::GxRandomMT19937 ( u32 seed)

コンストラクタ

Parameters
seed[in] シード
Here is the call graph for this function:

Member Function Documentation

◆ getRandomU32()

u32 GxRandomMT19937::getRandomU32 ( void )
overridevirtual

乱数生成(整数)

Returns
乱数

Implements GxRandom.

Here is the call graph for this function:

◆ initialize()

void GxRandomMT19937::initialize ( u32 seed)
overridevirtual

初期化

Parameters
seed[in] シード

Implements GxRandom.

Here is the caller graph for this function:

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