| Constructor and Description |
|---|
Random() |
| Modifier and Type | Method and Description |
|---|---|
static DoubleDataset |
exponential(double beta,
int... shape) |
static ILazyDataset |
lazyRand(int... shape) |
static ILazyDataset |
lazyRand(int dtype,
String name,
int... shape) |
static ILazyDataset |
lazyRand(String name,
int... shape) |
static IntegerDataset |
poisson(double lam,
int... shape) |
static DoubleDataset |
rand(double low,
double high,
int... shape) |
static DoubleDataset |
rand(int... shape) |
static IntegerDataset |
randint(int low,
int high,
int[] shape) |
static DoubleDataset |
randn(double mean,
double std,
int... shape) |
static DoubleDataset |
randn(int... shape) |
static IntegerDataset |
random_integers(int low,
int high,
int[] shape) |
static void |
seed(int seed) |
static void |
seed(int[] seed) |
static void |
seed(long seed) |
public Random()
public static void seed(int seed)
seed - public static void seed(int[] seed)
seed - public static void seed(long seed)
seed - public static DoubleDataset rand(int... shape)
shape - public static DoubleDataset rand(double low, double high, int... shape)
low - high - shape - public static DoubleDataset randn(int... shape)
shape - public static DoubleDataset randn(double mean, double std, int... shape)
mean - std - standard deviationshape - public static IntegerDataset randint(int low, int high, int[] shape)
low - high - shape - public static IntegerDataset random_integers(int low, int high, int[] shape)
low - high - shape - public static DoubleDataset exponential(double beta, int... shape)
beta - shape - public static IntegerDataset poisson(double lam, int... shape)
lam - shape - public static ILazyDataset lazyRand(int... shape)
shape - public static ILazyDataset lazyRand(String name, int... shape)
name - shape - public static ILazyDataset lazyRand(int dtype, String name, int... shape)
dtype - name - shape - Copyright © 2014–2019 Eclipse Foundation. All rights reserved.