public class UnitSphereSampler extends Object
| Constructor and Description |
|---|
UnitSphereSampler(int dimension,
UniformRandomProvider rng) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
nextVector() |
public UnitSphereSampler(int dimension,
UniformRandomProvider rng)
dimension - Space dimension.rng - Generator for the individual components of the vectors.
A shallow copy will be stored in this instance.Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.