Uses of Class
org.apache.commons.rng.sampling.shape.TriangleSampler
Packages that use TriangleSampler
Package
Description
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 TriangleSamplerModifier and TypeMethodDescriptionstatic TriangleSamplerTriangleSampler.of(UniformRandomProvider rng, double[] a, double[] b, double[] c) Create a triangle sampler with verticesa,bandc.abstract TriangleSamplerTriangleSampler.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.