Skip to content

takatoh/boxmuller

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

boxmuller

Implementation of Box-Muller transform in Golang.

Install

Add the following line to your go.mod file.

require github.com/takatoh/boxmuller v1.0.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