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 class
Sample uniformly from a box in 2D.private static final class
Sample uniformly from a box in 3D.private static final class
Sample uniformly from a box in ND.Methods in org.apache.commons.rng.sampling.shape that return BoxSamplerModifier and TypeMethodDescriptionstatic BoxSampler
BoxSampler.of
(UniformRandomProvider rng, double[] a, double[] b) Create a box sampler with boundsa
andb
.BoxSampler.BoxSampler2D.withUniformRandomProvider
(UniformRandomProvider rng) BoxSampler.BoxSampler3D.withUniformRandomProvider
(UniformRandomProvider rng) BoxSampler.BoxSamplerND.withUniformRandomProvider
(UniformRandomProvider rng) abstract BoxSampler
BoxSampler.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.