public class RandomMatrices_DSTL
extends java.lang.Object
| Constructor and Description |
|---|
RandomMatrices_DSTL() |
| Modifier and Type | Method and Description |
|---|---|
static org.ejml.data.DMatrixSparseTriplet |
uniform(int numRows,
int numCols,
int nz_total,
double min,
double max,
java.util.Random rand)
Randomly generates matrix with the specified number of matrix elements filled with values from min to max.
|
public static org.ejml.data.DMatrixSparseTriplet uniform(int numRows,
int numCols,
int nz_total,
double min,
double max,
java.util.Random rand)
numRows - Number of rowsnumCols - Number of columnsnz_total - Total number of non-zero elements in the matrixmin - Minimum valuemax - maximum valuerand - Random number generated