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