Uses of Class
org.apache.commons.rng.sampling.shape.TriangleSampler
-
Packages that use TriangleSampler Package Description org.apache.commons.rng.sampling.shape This package contains classes for sampling coordinates from shapes, for example a unit ball. -
-
Uses of TriangleSampler in org.apache.commons.rng.sampling.shape
Methods in org.apache.commons.rng.sampling.shape that return TriangleSampler Modifier and Type Method Description static TriangleSampler
TriangleSampler. of(UniformRandomProvider rng, double[] a, double[] b, double[] c)
Create a triangle sampler with verticesa
,b
andc
.abstract TriangleSampler
TriangleSampler. 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.
-