Ziggurat Gaussian

Java implementation of the Ziggurat algorithm for generating Gaussian distributed pseudorandom numbers. The Ziggurat algorithm is significantly faster than the more commonly encountered Polar method, and has some other desirable statistical properties. The ZigguratGaussian class is a Java port of the GNU Scientific Library's C implementation (Voss, 2005) of the Ziggurat method. In porting to Java, we have made several optimizations, the details of which can be found in the source code comments, which highlights any differences between this Java implementation and the C implementation on which it is based. This package also includes an implementation of the Polar Method, included to enable comparing speed advantage of the Ziggurat algorithm.

License

License

GroupId

GroupId

org.cicirello
ArtifactId

ArtifactId

ziggurat
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

Ziggurat Gaussian
Java implementation of the Ziggurat algorithm for generating Gaussian distributed pseudorandom numbers. The Ziggurat algorithm is significantly faster than the more commonly encountered Polar method, and has some other desirable statistical properties. The ZigguratGaussian class is a Java port of the GNU Scientific Library's C implementation (Voss, 2005) of the Ziggurat method. In porting to Java, we have made several optimizations, the details of which can be found in the source code comments, which highlights any differences between this Java implementation and the C implementation on which it is based. This package also includes an implementation of the Polar Method, included to enable comparing speed advantage of the Ziggurat algorithm.
Project URL

Project URL

https://github.com/cicirello/ZigguratGaussian
Project Organization

Project Organization

Cicirello.Org
Source Code Management

Source Code Management

http://github.com/cicirello/ZigguratGaussian/tree/master

Download ziggurat

How to add to project

<!-- https://jarcasting.com/artifacts/org.cicirello/ziggurat/ -->
<dependency>
    <groupId>org.cicirello</groupId>
    <artifactId>ziggurat</artifactId>
    <version>1.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.cicirello/ziggurat/
implementation 'org.cicirello:ziggurat:1.0.3'
// https://jarcasting.com/artifacts/org.cicirello/ziggurat/
implementation ("org.cicirello:ziggurat:1.0.3")
'org.cicirello:ziggurat:jar:1.0.3'
<dependency org="org.cicirello" name="ziggurat" rev="1.0.3">
  <artifact name="ziggurat" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.cicirello', module='ziggurat', version='1.0.3')
)
libraryDependencies += "org.cicirello" % "ziggurat" % "1.0.3"
[org.cicirello/ziggurat "1.0.3"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit Optional jar 4.13.2

Project Modules

There are no modules declared in this project.

Versions

Version
1.0.3
1.0.2
1.0.1
1.0.0