Documentation
¶
Index ¶
- type G2Rand
- func (rnd *G2Rand) Float64() float64
- func (rnd *G2Rand) Int63() int64
- func (rnd *G2Rand) IntRange(s, e int) int
- func (rnd *G2Rand) Intn(n int) int
- func (rnd *G2Rand) NormFloat64Range(desiredMean, desiredStdDev float64) float64
- func (rnd *G2Rand) NormIntRange(desiredMean, desiredStdDev int) int
- func (rnd *G2Rand) Perm(n int) []int
- func (rnd *G2Rand) Read(dst []byte) (int, error)
- func (r *G2Rand) Shuffle(n int, swap func(i, j int))
- func (rnd *G2Rand) Uint32() uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type G2Rand ¶
type G2Rand struct {
// contains filtered or unexported fields
}
func NewWithSeed ¶
func (*G2Rand) NormFloat64Range ¶
func (*G2Rand) NormIntRange ¶
Click to show internal directories.
Click to hide internal directories.