Class LibMatrixSparseToDense

java.lang.Object
org.apache.sysds.runtime.matrix.data.LibMatrixSparseToDense

public abstract class LibMatrixSparseToDense extends Object
  • Field Details

    • LOG

      public static final org.apache.commons.logging.Log LOG
    • PAR_THRESHOLD

      public static long PAR_THRESHOLD
  • Method Details

    • sparseToDense

      public static void sparseToDense(MatrixBlock r, int k)
      Convert the given matrix block to a Dense allocation.

      There is two exceptions:

      • Empty input blocks are not modified.
      • Calls where the input block is already dense is ignored.
      Parameters:
      r - The matrix block to modify, to dense.
      k - The parallelization degree.