public class VectorGeneratorPrimitives extends Object
| Constructor and Description |
|---|
VectorGeneratorPrimitives() |
| Modifier and Type | Method and Description |
|---|---|
static VectorGenerator |
circle(double radius)
Returns vector generator of 2D-vectors from circle-like distribution around zero.
|
static VectorGenerator |
circle(double radius,
long seed)
Returns vector generator of 2D-vectors from circle-like distribution around zero.
|
static VectorGenerator |
constant(Vector v) |
static VectorGenerator |
gauss(Vector means,
Vector variances)
Returns vector generator of vectors from multidimension gauss distribution.
|
static VectorGenerator |
gauss(Vector means,
Vector variances,
Long seed)
Returns vector generator of vectors from multidimension gauss distribution.
|
static VectorGenerator |
parallelogram(Vector bounds)
Returns vector generator of vectors from multidimension uniform distribution around zero.
|
static VectorGenerator |
parallelogram(Vector bounds,
long seed)
Returns vector generator of vectors from multidimension uniform distribution around zero.
|
static VectorGenerator |
ring(double radius,
double fromAngle,
double toAngle)
Returns vector generator of 2D-vectors from ring-like distribution.
|
static VectorGenerator |
ring(double radius,
double fromAngle,
double toAngle,
long seed)
Returns vector generator of 2D-vectors from ring-like distribution around zero.
|
static VectorGenerator |
zero(int size) |
public static VectorGenerator gauss(Vector means, Vector variances, Long seed)
means - Mean values per dimension.variances - Variance values per dimension.seed - Seed.public static VectorGenerator gauss(Vector means, Vector variances)
means - Mean values per dimension.variances - Variance values per dimension.public static VectorGenerator ring(double radius, double fromAngle, double toAngle)
radius - Ring radius.fromAngle - From angle.toAngle - To angle.public static VectorGenerator ring(double radius, double fromAngle, double toAngle, long seed)
radius - Ring radius.fromAngle - From angle.toAngle - To angle.seed - Seed.public static VectorGenerator parallelogram(Vector bounds)
bounds - Parallelogram bounds.public static VectorGenerator parallelogram(Vector bounds, long seed)
bounds - Parallelogram bounds.seed - Seed.public static VectorGenerator circle(double radius)
radius - Circle radius.public static VectorGenerator circle(double radius, long seed)
radius - Circle radius.seed - Seed.public static VectorGenerator zero(int size)
size - Vector size.public static VectorGenerator constant(Vector v)
v - Constant.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025