Package org.ejml.sparse.triplet
Class RandomMatrices_FSTL
- java.lang.Object
-
- org.ejml.sparse.triplet.RandomMatrices_FSTL
-
public class RandomMatrices_FSTL extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RandomMatrices_FSTL()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.ejml.data.FMatrixSparseTripletuniform(int numRows, int numCols, int nz_total, float min, float max, java.util.Random rand)Randomly generates matrix with the specified number of matrix elements filled with values from min to max.
-
-
-
Method Detail
-
uniform
public static org.ejml.data.FMatrixSparseTriplet uniform(int numRows, int numCols, int nz_total, float min, float max, java.util.Random rand)Randomly generates matrix with the specified number of matrix elements filled with values from min to max.- Parameters:
numRows- Number of rowsnumCols- Number of columnsnz_total- Total number of non-zero elements in the matrixmin- Minimum valuemax- maximum valuerand- Random number generated- Returns:
- Randomly generated matrix
-
-