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 final class
Sample uniformly from the ends of a 1D unit line.private static final class
Sample uniformly from a 2D unit circle.private static final class
Sample uniformly from a 3D unit sphere.private static final 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.Constructors in org.apache.commons.rng.sampling with parameters of type UnitSphereSamplerModifierConstructorDescriptionprivate
UnitSphereSampler
(UnitSphereSampler delegate) Private constructor used by deprecated constructor used to prevent partially initialized object if the construction of the delegate throws.