Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.math.rand
- Platforms: .NET, .NET Standard 2.0, Island
Methods
ExpFloat64
class method ExpFloat64: float64
static float64 ExpFloat64()
static func ExpFloat64() -> float64
func ExpFloat64() float64
Shared Function ExpFloat64() As float64
Float32
class method Float32: float32
static float32 Float32()
static func Float32() -> float32
func Float32() float32
Shared Function Float32() As float32
Float64
class method Float64: float64
static float64 Float64()
static func Float64() -> float64
func Float64() float64
Shared Function Float64() As float64
Int
class method Int: int
static int Int()
static func Int() -> int
func Int() int
Shared Function Int() As int
Int31
class method Int31: int32
static int32 Int31()
static func Int31() -> int32
func Int31() int32
Shared Function Int31() As int32
Int31n
Parameters:
- n:
Int63
class method Int63: int64
static int64 Int63()
static func Int63() -> int64
func Int63() int64
Shared Function Int63() As int64
Int63n
Parameters:
- n:
Intn
Parameters:
- n:
New
// .NET, .NET Standard 2.0
class method New(src: Source): Memory<Rand>
// Island
class method New(src: Source): Memory<Rand>
// .NET, .NET Standard 2.0
static Memory<Rand> New(Source src)
// Island
static Memory<Rand> New(Source src)
// .NET, .NET Standard 2.0
static func New(_ src: Source) -> Memory<Rand>
// Island
static func New(_ src: Source) -> Memory<Rand>
Parameters:
- src:
NewSource
Parameters:
- seed:
NewZipf
// .NET, .NET Standard 2.0
class method NewZipf(r: Memory<Rand>; s: float64; v: float64; imax: uint64): Memory<Zipf>
// Island
class method NewZipf(r: Memory<Rand>; s: float64; v: float64; imax: uint64): Memory<Zipf>
// .NET, .NET Standard 2.0
static Memory<Zipf> NewZipf(Memory<Rand> r, float64 s, float64 v, uint64 imax)
// Island
static Memory<Zipf> NewZipf(Memory<Rand> r, float64 s, float64 v, uint64 imax)
// .NET, .NET Standard 2.0
static func NewZipf(_ r: Memory<Rand>, _ s: float64, _ v: float64, _ imax: uint64) -> Memory<Zipf>
// Island
static func NewZipf(_ r: Memory<Rand>, _ s: float64, _ v: float64, _ imax: uint64) -> Memory<Zipf>
Parameters:
- r:
- s:
- v:
- imax:
NormFloat64
class method NormFloat64: float64
static float64 NormFloat64()
static func NormFloat64() -> float64
func NormFloat64() float64
Shared Function NormFloat64() As float64
Perm
Parameters:
- n:
Read
Parameters:
- p:
Seed
class method Seed(seed: int64)
static void Seed(int64 seed)
static func Seed(_ seed: int64)
Shared Sub Seed(seed As int64)
Parameters:
- seed:
Shuffle
// .NET, .NET Standard 2.0
class method Shuffle(n: int; swap: Action<Int64, Int64>)
// Island
class method Shuffle(n: int; swap: Action<RemObjects.Elements.System.Int64,RemObjects.Elements.System.Int64>)
// .NET, .NET Standard 2.0
static void Shuffle(int n, Action<Int64, Int64> swap)
// Island
static void Shuffle(int n, Action<RemObjects.Elements.System.Int64,RemObjects.Elements.System.Int64> swap)
// .NET, .NET Standard 2.0
static func Shuffle(_ n: int, _ swap: Action<Int64, Int64>)
// Island
static func Shuffle(_ n: int, _ swap: Action<RemObjects.Elements.System.Int64,RemObjects.Elements.System.Int64>)
Parameters:
- n:
- swap:
Uint32
class method Uint32: uint32
static uint32 Uint32()
static func Uint32() -> uint32
func Uint32() uint32
Shared Function Uint32() As uint32
Uint64
class method Uint64: uint64
static uint64 Uint64()
static func Uint64() -> uint64
func Uint64() uint64
Shared Function Uint64() As uint64