Uses of Class
org.apache.commons.rng.sampling.shape.LineSampler
Packages that use LineSampler
Package
Description
This package contains classes for sampling coordinates from shapes, for example a unit ball.
-
Uses of LineSampler in org.apache.commons.rng.sampling.shape
Subclasses of LineSampler in org.apache.commons.rng.sampling.shapeModifier and TypeClassDescriptionprivate static class
Sample uniformly from a line in 1D.private static class
Sample uniformly from a line in 2D.private static class
Sample uniformly from a line in 3D.private static class
Sample uniformly from a line in ND.Methods in org.apache.commons.rng.sampling.shape that return LineSamplerModifier and TypeMethodDescriptionstatic LineSampler
LineSampler.of
(UniformRandomProvider rng, double[] a, double[] b) Create a line sampler with verticesa
andb
.LineSampler.LineSampler1D.withUniformRandomProvider
(UniformRandomProvider rng) LineSampler.LineSampler2D.withUniformRandomProvider
(UniformRandomProvider rng) LineSampler.LineSampler3D.withUniformRandomProvider
(UniformRandomProvider rng) LineSampler.LineSamplerND.withUniformRandomProvider
(UniformRandomProvider rng) abstract LineSampler
LineSampler.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.