Package | Description |
---|---|
org.apache.commons.rng.sampling.shape |
This package contains classes for sampling coordinates from shapes, for example a unit ball.
|
Modifier and Type | Method and Description |
---|---|
static TetrahedronSampler |
TetrahedronSampler.of(UniformRandomProvider rng,
double[] a,
double[] b,
double[] c,
double[] d)
Create a tetrahedron sampler with vertices
a , b , c and d . |
TetrahedronSampler |
TetrahedronSampler.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.
|
Copyright © 2016–2022 The Apache Software Foundation. All rights reserved.