Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
WELL.hpp
1
17
#pragma once
18
#ifndef __H__OCULAR_MATH_RANDOM_WELL__H__
19
#define __H__OCULAR_MATH_RANDOM_WELL__H__
20
21
#include "ARandom.hpp"
22
23
//------------------------------------------------------------------------------------------
24
29
namespace
Ocular
30
{
35
namespace
Math
36
{
41
namespace
Random
42
{
51
class
WELL512
:
public
ARandom
52
{
53
public
:
54
55
WELL512
();
56
~
WELL512
();
57
58
virtual
void
seed
(int64_t
seed
);
59
virtual
unsigned
next
();
60
61
protected
:
62
63
private
:
64
65
unsigned
m_Index;
66
unsigned
long
* m_State;
67
};
68
}
72
}
76
}
81
//------------------------------------------------------------------------------------------
82
83
#endif
Ocular::Math::Random::WELL512::next
virtual unsigned next()
Definition:
WELL.cpp:64
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Math::Random::WELL512
Definition:
WELL.hpp:51
Ocular::Math::Random::ARandom::seed
void seed()
Definition:
ARandom.cpp:52
Ocular::Math::Random::ARandom
Definition:
ARandom.hpp:67
OcularCore
include
Math
Random
WELL.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10