Uses of Class
org.apache.commons.rng.sampling.UnitSphereSampler
Packages that use UnitSphereSampler
-
Uses of UnitSphereSampler in org.apache.commons.rng.sampling
Subclasses of UnitSphereSampler in org.apache.commons.rng.samplingModifier and TypeClassDescriptionprivate static class
Sample uniformly from the ends of a 1D unit line.private static class
Sample uniformly from a 2D unit circle.private static class
Sample uniformly from a 3D unit sphere.private static class
Sample uniformly from a ND unit sphere.Fields in org.apache.commons.rng.sampling declared as UnitSphereSamplerModifier and TypeFieldDescriptionprivate final UnitSphereSampler
UnitSphereSampler.delegate
The internal sampler optimised for the dimension.Methods in org.apache.commons.rng.sampling that return UnitSphereSamplerModifier and TypeMethodDescriptionstatic UnitSphereSampler
UnitSphereSampler.of
(UniformRandomProvider rng, int dimension) Create a unit sphere sampler for the given dimension.UnitSphereSampler.UnitSphereSampler1D.withUniformRandomProvider
(UniformRandomProvider rng) UnitSphereSampler.UnitSphereSampler2D.withUniformRandomProvider
(UniformRandomProvider rng) UnitSphereSampler.UnitSphereSampler3D.withUniformRandomProvider
(UniformRandomProvider rng) UnitSphereSampler.UnitSphereSamplerND.withUniformRandomProvider
(UniformRandomProvider rng) UnitSphereSampler.withUniformRandomProvider
(UniformRandomProvider rng) Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.