Skip to content

Implementation of Box-Muller transform in Golang.

License

Notifications You must be signed in to change notification settings

takatoh/boxmuller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boxmuller

Implementation of Box-Muller transform in Golang.

Install

Add the following line to your go.mod file.

require github.com/takatoh/boxmuller v1.1.0

Usage

bm := boxmuller.New(mu, sigma)
z1, z2 := bm.Rand()

API

New(mu, sigma)

Create a BoxMuller struct.

(bm *BoxMuller) Rand()

Returns 2 values.

License

MIT License

About

Implementation of Box-Muller transform in Golang.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages