random

package
v0.0.0-...-ece690c Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Coin = Bool

Functions

func Bool

func Bool() bool

func Dice

func Dice(sides int) int

func Float

func Float() float64

func Int

func Int() int

func NDices

func NDices(n, sides int) int

func Normal

func Normal(mean, std float64) float64

func NormalInt

func NormalInt(mean, std int) int

func Polar

func Polar() float64

-1 to 1

func PolarInt

func PolarInt() int

-1 or 1

func Range

func Range(min, max float64) float64

func RangeInt

func RangeInt(min, max int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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