Uses of Class
org.apache.commons.rng.sampling.shape.UnitBallSampler
Packages that use UnitBallSampler
Package
Description
This package contains classes for sampling coordinates from shapes, for example a unit ball.
-
Uses of UnitBallSampler in org.apache.commons.rng.sampling.shape
Subclasses of UnitBallSampler in org.apache.commons.rng.sampling.shapeModifier and TypeClassDescriptionprivate static class
Sample uniformly from a 1D unit line.private static class
Sample uniformly from a 2D unit disk.private static class
Sample uniformly from a 3D unit ball.private static class
Sample using ball point picking.Methods in org.apache.commons.rng.sampling.shape that return UnitBallSamplerModifier and TypeMethodDescriptionstatic UnitBallSampler
UnitBallSampler.of
(UniformRandomProvider rng, int dimension) Create a unit n-ball sampler for the given dimension.UnitBallSampler.UnitBallSampler1D.withUniformRandomProvider
(UniformRandomProvider rng) UnitBallSampler.UnitBallSampler2D.withUniformRandomProvider
(UniformRandomProvider rng) UnitBallSampler.UnitBallSampler3D.withUniformRandomProvider
(UniformRandomProvider rng) UnitBallSampler.UnitBallSamplerND.withUniformRandomProvider
(UniformRandomProvider rng) abstract UnitBallSampler
UnitBallSampler.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.