rand

package module
v0.0.0-...-dc16075 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2015 License: Apache-2.0 Imports: 2 Imported by: 3

README

rand

extend golang standard rand package

korean discription

http://kasw.blogspot.kr/2015/02/go.html

Documentation

Overview

extend stardard rand package can use instead of standard rand package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rand

type Rand struct {
	*r.Rand
}

func New

func New() *Rand

func (*Rand) IntRange

func (rnd *Rand) IntRange(s, e int) int

include s, not include e

func (*Rand) NormFloat64Range

func (rnd *Rand) NormFloat64Range(desiredMean, desiredStdDev float64) float64

func (*Rand) NormIntRange

func (rnd *Rand) NormIntRange(desiredMean, desiredStdDev int) int

Jump to

Keyboard shortcuts

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