Class UnitSphereSampler.UnitSphereSampler2D

java.lang.Object
org.apache.commons.rng.sampling.UnitSphereSampler
org.apache.commons.rng.sampling.UnitSphereSampler.UnitSphereSampler2D
All Implemented Interfaces:
ObjectSampler<double[]>, SharedStateObjectSampler<double[]>, SharedStateSampler<SharedStateObjectSampler<double[]>>
Enclosing class:
UnitSphereSampler

private static final class UnitSphereSampler.UnitSphereSampler2D extends UnitSphereSampler
Sample uniformly from a 2D unit circle. This is a 2D specialisation of the UnitSphereSamplerND.