The random Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The random Reference Manual

This is the random Reference Manual, version 0.2, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 12:30:07 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

random
======

ACM random number generator


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 random

Author

Robert Brown

License

New BSD license. See the copyright messages in individual files.

Description

Some simple random number generators.

Version

0.2

Defsystem Dependency

com.google.base

Dependency

com.google.base

Source

random.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 random.asd

Location

random.asd

Systems

random (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 random/random-package.lisp

Parent

random (system)

Location

random-package.lisp

Packages

random


Previous: , Up: Lisp files   [Contents][Index]

3.1.3 random/random.lisp

Dependency

random-package.lisp (file)

Parent

random (system)

Location

random.lisp

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 random

Google random number generators.

Source

random-package.lisp (file)

Use List
Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: one-in RANDOM N

Return true when (UNIFORM-UINT32 RANDOM N) is zero.

Package

random

Source

random.lisp (file)

Function: skewed-uint32 RANDOM MAXIMUM-LOG

Picks a base uniformly from the range [0, MAXIMUM-LOG] and then returns base random bits. The effect is the same as picking a number in the range [0, (2^MAXIMUM-LOG) - 1] with a bias toward smaller numbers.

Package

random

Source

random.lisp (file)

Function: uniform-uint32 RANDOM N

Returns a pseudo-random non-negative 32-bit integer modulo the non-negative integer N. When N is zero, zero is returned.

Package

random

Source

random.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Generic functions

Generic Function: next-uint16 RANDOM

Returns a non-negative pseudo-random 16-bit integer.

Package

random

Source

random.lisp (file)

Generic Function: next-uint32 RANDOM

Returns a non-negative pseudo-random 32-bit integer.

Package

random

Source

random.lisp (file)

Generic Function: next-uint64 RANDOM

Returns a non-negative pseudo-random 64-bit integer.

Package

random

Source

random.lisp (file)

Generic Function: next-uint8 RANDOM

Returns a non-negative pseudo-random 8-bit integer.

Package

random

Source

random.lisp (file)

Generic Function: reset RANDOM

Resets RANDOM to a default state.

Package

random

Source

random.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   R  
Index Entry  Section

F
File, Lisp, random.asd: The random<dot>asd file
File, Lisp, random/random-package.lisp: The random/random-package<dot>lisp file
File, Lisp, random/random.lisp: The random/random<dot>lisp file

L
Lisp File, random.asd: The random<dot>asd file
Lisp File, random/random-package.lisp: The random/random-package<dot>lisp file
Lisp File, random/random.lisp: The random/random<dot>lisp file

R
random.asd: The random<dot>asd file
random/random-package.lisp: The random/random-package<dot>lisp file
random/random.lisp: The random/random<dot>lisp file

Jump to:   F   L   R  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   F   G   N   O   R   S   U  
Index Entry  Section

F
Function, one-in: Exported functions
Function, skewed-uint32: Exported functions
Function, uniform-uint32: Exported functions

G
Generic Function, next-uint16: Exported generic functions
Generic Function, next-uint32: Exported generic functions
Generic Function, next-uint64: Exported generic functions
Generic Function, next-uint8: Exported generic functions
Generic Function, reset: Exported generic functions

N
next-uint16: Exported generic functions
next-uint32: Exported generic functions
next-uint64: Exported generic functions
next-uint8: Exported generic functions

O
one-in: Exported functions

R
reset: Exported generic functions

S
skewed-uint32: Exported functions

U
uniform-uint32: Exported functions

Jump to:   F   G   N   O   R   S   U  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables


Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   P   R   S  
Index Entry  Section

P
Package, random: The random package

R
random: The random system
random: The random package

S
System, random: The random system

Jump to:   P   R   S