Class RandomMatrices_FSTL

java.lang.Object
org.ejml.sparse.triplet.RandomMatrices_FSTL

@Generated("org.ejml.sparse.triplet.RandomMatrices_DSTL") public class RandomMatrices_FSTL extends Object
  • Constructor Details

    • RandomMatrices_FSTL

      public RandomMatrices_FSTL()
  • Method Details

    • uniform

      public static FMatrixSparseTriplet uniform(int numRows, int numCols, int nz_total, float min, float max, Random rand)
      Randomly generates matrix with the specified number of matrix elements filled with values from min to max.
      Parameters:
      numRows - Number of rows
      numCols - Number of columns
      nz_total - Total number of non-zero elements in the matrix
      min - Minimum value
      max - maximum value
      rand - Random number generated
      Returns:
      Randomly generated matrix