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 final classSample uniformly from a 1D unit line.private static final classSample uniformly from a 2D unit disk.private static final classSample uniformly from a 3D unit ball.private static final classSample using ball point picking.Methods in org.apache.commons.rng.sampling.shape that return UnitBallSamplerModifier and TypeMethodDescriptionstatic UnitBallSamplerUnitBallSampler.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 UnitBallSamplerUnitBallSampler.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.