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
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.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.