quickrand

package
v0.0.0-...-09bd2b9 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InVals

func InVals(val int, vals *[]int) bool

InVals linearly searches value set for value and returns true if found

func RandInts

func RandInts(max, n int, distinct bool) *[]int

RandInts gets n random int values between 0 and max range efficiently w/ distinct option

Types

This section is empty.

Jump to

Keyboard shortcuts

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