Implementation of Box-Muller transform in Golang.
Add the following line to your go.mod
file.
require github.com/takatoh/boxmuller v1.1.0
bm := boxmuller.New(mu, sigma)
z1, z2 := bm.Rand()
Create a BoxMuller struct.
Returns 2 values.
MIT License