C# Class XSpect.MTRandom

Inheritance: System.Random
Datei anzeigen Open project: takeshik/linx

Public Methods

Method Description
MTRandom ( ) : System
Next ( ) : Int32
Next ( Int32 maxValue ) : Int32
Next ( Int32 minValue, Int32 maxValue ) : Int32
NextByte ( ) : Byte
NextByte ( Byte maxValue ) : Byte
NextByte ( Byte minValue, Byte maxValue ) : Byte
NextBytes ( ) : IEnumerable
NextBytes ( Byte maxValue ) : IEnumerable
NextBytes ( Byte minValue, Byte maxValue ) : IEnumerable
NextBytes ( Byte buffer ) : void
NextBytes ( Byte buffer, Int32 length ) : void
NextChar ( ) : Char
NextChar ( Char maxValue ) : Char
NextChar ( Char minValue, Char maxValue ) : Char
NextChars ( ) : IEnumerable
NextChars ( Char maxValue ) : IEnumerable
NextChars ( Char minValue, Char maxValue ) : IEnumerable
NextChars ( Char buffer ) : void
NextChars ( Char buffer, Int32 length ) : void
NextDecimal ( ) : Decimal
NextDecimal ( Decimal maxValue ) : Decimal
NextDecimal ( Decimal minValue, Decimal maxValue ) : Decimal
NextDecimals ( ) : IEnumerable
NextDecimals ( Decimal maxValue ) : IEnumerable
NextDecimals ( Decimal minValue, Decimal maxValue ) : IEnumerable
NextDouble ( ) : Double
NextDouble ( System.Boolean isSigned, System.Boolean isMinClosed, System.Boolean isMaxClosed ) : Double
NextDoubles ( ) : IEnumerable
NextDoubles ( System.Boolean isSigned, System.Boolean isMinClosed, System.Boolean isMaxClosed ) : IEnumerable
NextInt16 ( ) : Int16
NextInt16 ( Int16 maxValue ) : Int16
NextInt16 ( Int16 minValue, Int16 maxValue ) : Int16
NextInt16s ( ) : IEnumerable
NextInt16s ( Int16 maxValue ) : IEnumerable
NextInt16s ( Int16 minValue, Int16 maxValue ) : IEnumerable
NextInt32 ( ) : Int32
NextInt32 ( Int32 maxValue ) : Int32
NextInt32 ( Int32 minValue, Int32 maxValue ) : Int32
NextInt32s ( ) : IEnumerable
NextInt32s ( Int32 maxValue ) : IEnumerable
NextInt32s ( Int32 minValue, Int32 maxValue ) : IEnumerable
NextInt64 ( ) : System.Int64
NextInt64 ( System.Int64 maxValue ) : System.Int64
NextInt64 ( System.Int64 minValue, System.Int64 maxValue ) : System.Int64
NextInt64s ( ) : IEnumerable
NextInt64s ( System.Int64 maxValue ) : IEnumerable
NextInt64s ( System.Int64 minValue, System.Int64 maxValue ) : IEnumerable
NextSingle ( ) : System.Single
NextSingle ( System.Boolean isSigned, System.Boolean isMinClosed, System.Boolean isMaxClosed ) : System.Single
NextSingles ( ) : IEnumerable
NextSingles ( System.Boolean isSigned, System.Boolean isMinClosed, System.Boolean isMaxClosed ) : IEnumerable

Protected Methods

Method Description
Sample ( ) : Double

Private Methods

Method Description
GenerateUInt32 ( ) : UInt32
MTRandom ( UInt32 seed ) : System
MTRandom ( UInt32 initKey, Int32 length ) : System
NextSByte ( ) : SByte
NextSByte ( SByte maxValue ) : SByte
NextSByte ( SByte minValue, SByte maxValue ) : SByte
NextSBytes ( ) : IEnumerable
NextSBytes ( SByte maxValue ) : IEnumerable
NextSBytes ( SByte minValue, SByte maxValue ) : IEnumerable
NextSBytes ( SByte buffer ) : void
NextSBytes ( SByte buffer, Int32 length ) : void
NextUInt16 ( ) : UInt16
NextUInt16 ( UInt16 maxValue ) : UInt16
NextUInt16 ( UInt16 minValue, UInt16 maxValue ) : UInt16
NextUInt16s ( ) : IEnumerable
NextUInt16s ( UInt16 maxValue ) : IEnumerable
NextUInt16s ( UInt16 minValue, UInt16 maxValue ) : IEnumerable
NextUInt32 ( ) : UInt32
NextUInt32 ( UInt32 maxValue ) : UInt32
NextUInt32 ( UInt32 minValue, UInt32 maxValue ) : UInt32
NextUInt32s ( ) : IEnumerable
NextUInt32s ( UInt32 maxValue ) : IEnumerable
NextUInt32s ( UInt32 minValue, UInt32 maxValue ) : IEnumerable
NextUInt64 ( ) : System.UInt64
NextUInt64 ( System.UInt64 maxValue ) : System.UInt64
NextUInt64 ( System.UInt64 minValue, System.UInt64 maxValue ) : System.UInt64
NextUInt64s ( ) : IEnumerable
NextUInt64s ( System.UInt64 maxValue ) : IEnumerable
NextUInt64s ( System.UInt64 minValue, System.UInt64 maxValue ) : IEnumerable

Method Details

MTRandom() public method

public MTRandom ( ) : System
return System

Next() public method

public Next ( ) : Int32
return System.Int32

Next() public method

public Next ( Int32 maxValue ) : Int32
maxValue System.Int32
return System.Int32

Next() public method

public Next ( Int32 minValue, Int32 maxValue ) : Int32
minValue System.Int32
maxValue System.Int32
return System.Int32

NextByte() public method

public NextByte ( ) : Byte
return Byte

NextByte() public method

public NextByte ( Byte maxValue ) : Byte
maxValue Byte
return Byte

NextByte() public method

public NextByte ( Byte minValue, Byte maxValue ) : Byte
minValue Byte
maxValue Byte
return Byte

NextBytes() public method

public NextBytes ( ) : IEnumerable
return IEnumerable

NextBytes() public method

public NextBytes ( Byte maxValue ) : IEnumerable
maxValue Byte
return IEnumerable

NextBytes() public method

public NextBytes ( Byte minValue, Byte maxValue ) : IEnumerable
minValue Byte
maxValue Byte
return IEnumerable

NextBytes() public method

public NextBytes ( Byte buffer ) : void
buffer Byte
return void

NextBytes() public method

public NextBytes ( Byte buffer, Int32 length ) : void
buffer Byte
length System.Int32
return void

NextChar() public method

public NextChar ( ) : Char
return Char

NextChar() public method

public NextChar ( Char maxValue ) : Char
maxValue Char
return Char

NextChar() public method

public NextChar ( Char minValue, Char maxValue ) : Char
minValue Char
maxValue Char
return Char

NextChars() public method

public NextChars ( ) : IEnumerable
return IEnumerable

NextChars() public method

public NextChars ( Char maxValue ) : IEnumerable
maxValue Char
return IEnumerable

NextChars() public method

public NextChars ( Char minValue, Char maxValue ) : IEnumerable
minValue Char
maxValue Char
return IEnumerable

NextChars() public method

public NextChars ( Char buffer ) : void
buffer Char
return void

NextChars() public method

public NextChars ( Char buffer, Int32 length ) : void
buffer Char
length System.Int32
return void

NextDecimal() public method

public NextDecimal ( ) : Decimal
return Decimal

NextDecimal() public method

public NextDecimal ( Decimal maxValue ) : Decimal
maxValue Decimal
return Decimal

NextDecimal() public method

public NextDecimal ( Decimal minValue, Decimal maxValue ) : Decimal
minValue Decimal
maxValue Decimal
return Decimal

NextDecimals() public method

public NextDecimals ( ) : IEnumerable
return IEnumerable

NextDecimals() public method

public NextDecimals ( Decimal maxValue ) : IEnumerable
maxValue Decimal
return IEnumerable

NextDecimals() public method

public NextDecimals ( Decimal minValue, Decimal maxValue ) : IEnumerable
minValue Decimal
maxValue Decimal
return IEnumerable

NextDouble() public method

public NextDouble ( ) : Double
return Double

NextDouble() public method

public NextDouble ( System.Boolean isSigned, System.Boolean isMinClosed, System.Boolean isMaxClosed ) : Double
isSigned System.Boolean
isMinClosed System.Boolean
isMaxClosed System.Boolean
return Double

NextDoubles() public method

public NextDoubles ( ) : IEnumerable
return IEnumerable

NextDoubles() public method

public NextDoubles ( System.Boolean isSigned, System.Boolean isMinClosed, System.Boolean isMaxClosed ) : IEnumerable
isSigned System.Boolean
isMinClosed System.Boolean
isMaxClosed System.Boolean
return IEnumerable

NextInt16() public method

public NextInt16 ( ) : Int16
return System.Int16

NextInt16() public method

public NextInt16 ( Int16 maxValue ) : Int16
maxValue System.Int16
return System.Int16

NextInt16() public method

public NextInt16 ( Int16 minValue, Int16 maxValue ) : Int16
minValue System.Int16
maxValue System.Int16
return System.Int16

NextInt16s() public method

public NextInt16s ( ) : IEnumerable
return IEnumerable

NextInt16s() public method

public NextInt16s ( Int16 maxValue ) : IEnumerable
maxValue System.Int16
return IEnumerable

NextInt16s() public method

public NextInt16s ( Int16 minValue, Int16 maxValue ) : IEnumerable
minValue System.Int16
maxValue System.Int16
return IEnumerable

NextInt32() public method

public NextInt32 ( ) : Int32
return System.Int32

NextInt32() public method

public NextInt32 ( Int32 maxValue ) : Int32
maxValue System.Int32
return System.Int32

NextInt32() public method

public NextInt32 ( Int32 minValue, Int32 maxValue ) : Int32
minValue System.Int32
maxValue System.Int32
return System.Int32

NextInt32s() public method

public NextInt32s ( ) : IEnumerable
return IEnumerable

NextInt32s() public method

public NextInt32s ( Int32 maxValue ) : IEnumerable
maxValue System.Int32
return IEnumerable

NextInt32s() public method

public NextInt32s ( Int32 minValue, Int32 maxValue ) : IEnumerable
minValue System.Int32
maxValue System.Int32
return IEnumerable

NextInt64() public method

public NextInt64 ( ) : System.Int64
return System.Int64

NextInt64() public method

public NextInt64 ( System.Int64 maxValue ) : System.Int64
maxValue System.Int64
return System.Int64

NextInt64() public method

public NextInt64 ( System.Int64 minValue, System.Int64 maxValue ) : System.Int64
minValue System.Int64
maxValue System.Int64
return System.Int64

NextInt64s() public method

public NextInt64s ( ) : IEnumerable
return IEnumerable

NextInt64s() public method

public NextInt64s ( System.Int64 maxValue ) : IEnumerable
maxValue System.Int64
return IEnumerable

NextInt64s() public method

public NextInt64s ( System.Int64 minValue, System.Int64 maxValue ) : IEnumerable
minValue System.Int64
maxValue System.Int64
return IEnumerable

NextSingle() public method

public NextSingle ( ) : System.Single
return System.Single

NextSingle() public method

public NextSingle ( System.Boolean isSigned, System.Boolean isMinClosed, System.Boolean isMaxClosed ) : System.Single
isSigned System.Boolean
isMinClosed System.Boolean
isMaxClosed System.Boolean
return System.Single

NextSingles() public method

public NextSingles ( ) : IEnumerable
return IEnumerable

NextSingles() public method

public NextSingles ( System.Boolean isSigned, System.Boolean isMinClosed, System.Boolean isMaxClosed ) : IEnumerable
isSigned System.Boolean
isMinClosed System.Boolean
isMaxClosed System.Boolean
return IEnumerable

Sample() protected method

protected Sample ( ) : Double
return Double