Class LibMatrixSparseToDense


  • public abstract class LibMatrixSparseToDense
    extends Object
    • Field Detail

      • LOG

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

        public static long PAR_THRESHOLD
    • Method Detail

      • 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.