rand

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RandFactory

type RandFactory struct{}

func (RandFactory) Float

func (f RandFactory) Float() float64

func (RandFactory) Float32

func (RandFactory) Float32() float32

func (RandFactory) Float32n

func (RandFactory) Float32n(min, max float32) float32

func (RandFactory) Float64

func (RandFactory) Float64() float64

func (RandFactory) Float64n

func (RandFactory) Float64n(min, max float64) float64

func (RandFactory) Floatn

func (f RandFactory) Floatn(min, max float64) float64

func (RandFactory) Int

func (RandFactory) Int() int

func (RandFactory) Int16

func (RandFactory) Int16() int

func (RandFactory) Int32

func (RandFactory) Int32() int

func (RandFactory) Int64

func (RandFactory) Int64() int64

func (RandFactory) Int8

func (RandFactory) Int8() int

func (RandFactory) Intn

func (RandFactory) Intn(min, max int64) int64

func (RandFactory) New

func (RandFactory) New(seed int64) *rand.Rand

func (RandFactory) Perm

func (RandFactory) Perm(n int) []int

func (RandFactory) Read

func (RandFactory) Read(buf base.Buffer) (int, error)

func (RandFactory) Shuffle

func (RandFactory) Shuffle(n int, swap func(i, j int))

func (RandFactory) Uint16 added in v1.0.5

func (RandFactory) Uint16() uint

func (RandFactory) Uint32

func (RandFactory) Uint32() uint

func (RandFactory) Uint64

func (RandFactory) Uint64() uint64

func (RandFactory) Uint8

func (RandFactory) Uint8() uint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL