Uses of Class
org.apache.commons.rng.sampling.shape.BoxSampler
Packages that use BoxSampler
Package
Description
This package contains classes for sampling coordinates from shapes, for example a unit ball.
-
Uses of BoxSampler in org.apache.commons.rng.sampling.shape
Subclasses of BoxSampler in org.apache.commons.rng.sampling.shapeModifier and TypeClassDescriptionprivate static final classSample uniformly from a box in 2D.private static final classSample uniformly from a box in 3D.private static final classSample uniformly from a box in ND.Methods in org.apache.commons.rng.sampling.shape that return BoxSamplerModifier and TypeMethodDescriptionstatic BoxSamplerBoxSampler.of(UniformRandomProvider rng, double[] a, double[] b) Create a box sampler with boundsaandb.BoxSampler.BoxSampler2D.withUniformRandomProvider(UniformRandomProvider rng) BoxSampler.BoxSampler3D.withUniformRandomProvider(UniformRandomProvider rng) BoxSampler.BoxSamplerND.withUniformRandomProvider(UniformRandomProvider rng) abstract BoxSamplerBoxSampler.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.