Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultSeed uint32 = 5489 // MT19937_N is the number of elements in the internal state MT19937_N = n )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MT19937 ¶
type MT19937 struct {
// contains filtered or unexported fields
}
func NewMT19937Random ¶
func NewMT19937Random() *MT19937
type MT19937Cloner ¶
type MT19937Cloner struct {
MT19937
}
func NewMT19937Cloner ¶
func NewMT19937Cloner() *MT19937Cloner
func (*MT19937Cloner) Feed ¶
func (c *MT19937Cloner) Feed(value uint32) bool
func (*MT19937Cloner) Get ¶
func (c *MT19937Cloner) Get() *MT19937
Click to show internal directories.
Click to hide internal directories.