public class RandomMatrixGenerator extends Object
| Constructor and Description |
|---|
RandomMatrixGenerator() |
RandomMatrixGenerator(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp)
Instantiates a Random number generator
|
RandomMatrixGenerator(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp,
double min,
double max)
Instantiates a Random number generator
|
RandomMatrixGenerator(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp,
double min,
double max,
double mean)
Instantiates a Random number generator with a specific poisson mean
|
RandomMatrixGenerator(String pdfStr,
int r,
int c,
int blen,
double sp,
double min,
double max)
Instantiates a Random number generator
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp,
double min,
double max)
Initializes internal data structures.
|
void |
init(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp,
double min,
double max,
double mean)
Instantiates a Random number generator with a specific poisson mean
|
String |
toString() |
public RandomMatrixGenerator()
public RandomMatrixGenerator(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp)
pdf - probability density functionr - number of rowsc - number of columnsblen - rows/cols per blocksp - sparsity (0 = completely sparse, 1 = completely dense)public RandomMatrixGenerator(String pdfStr, int r, int c, int blen, double sp, double min, double max)
pdfStr - probability density functionr - number of rowsc - number of columnsblen - rows/cols per blocksp - sparsity (0 = completely sparse, 1 = completely dense)min - minimum of range of random numbersmax - maximum of range of random numberspublic RandomMatrixGenerator(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp,
double min,
double max)
pdf - probability density functionr - number of rowsc - number of columnsblen - rows/cols per blocksp - sparsity (0 = completely sparse, 1 = completely dense)min - minimum of range of random numbersmax - maximum of range of random numberspublic RandomMatrixGenerator(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp,
double min,
double max,
double mean)
pdf - probability density functionr - number of rowsc - number of columnsblen - rows/cols per blocksp - sparsity (0 = completely sparse, 1 = completely dense)min - minimum of range of random numbersmax - maximum of range of random numbersmean - the poisson meanpublic void init(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp,
double min,
double max)
pdf - probability density functionr - number of rowsc - number of columnsblen - rows/cols per blocksp - sparsity (0 = completely sparse, 1 = completely dense)min - minimum of range of random numbersmax - maximum of range of random numberspublic void init(org.apache.sysds.runtime.matrix.data.RandomMatrixGenerator.PDF pdf,
int r,
int c,
int blen,
double sp,
double min,
double max,
double mean)
pdf - probability density functionr - number of rowsc - number of columnsblen - rows/cols per blocksp - sparsity (0 = completely sparse, 1 = completely dense)min - minimum of range of random numbersmax - maximum of range of random numbersmean - the poisson meanCopyright © 2020 The Apache Software Foundation. All rights reserved.