Home Reference Source
public class | source

MersenneTwister

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

MAG01: *

public
public
public

mt: *

public

Method Summary

Public Methods
public

export_mta(): *

public

export_mti(): *

public
public

import_mta(_mta: *)

public

import_mti(_mti: *)

public

import_state(s: *)

public

int32(): *

public

real2(): *

public

seed(s: *)

Public Constructors

public constructor() source

Public Members

public LOWER_MASK: number source

public M: number source

public MAG01: * source

public N: number source

public UPPER_MASK: number source

public mt: * source

public mti: number source

Public Methods

public export_mta(): * source

Return:

*

public export_mti(): * source

Return:

*

public export_state(): undefined[] source

Return:

undefined[]

public import_mta(_mta: *) source

Params:

NameTypeAttributeDescription
_mta *

public import_mti(_mti: *) source

Params:

NameTypeAttributeDescription
_mti *

public import_state(s: *) source

Params:

NameTypeAttributeDescription
s *

public int32(): * source

Return:

*

public real2(): * source

Return:

*

public seed(s: *) source

Params:

NameTypeAttributeDescription
s *