Class EstimationUtils


  • public abstract class EstimationUtils
    extends Object
    • Constructor Detail

      • EstimationUtils

        public EstimationUtils()
    • Method Detail

      • getSelfProductOutputNnz

        public static long getSelfProductOutputNnz​(MatrixBlock m1)
        This utility function computes the exact output nnz of a self matrix product without need to materialize the output.
        Parameters:
        m1 - dense or sparse input matrix
        Returns:
        exact output number of non-zeros.
      • getSparseProductOutputNnz

        public static long getSparseProductOutputNnz​(MatrixBlock m1,
                                                     MatrixBlock m2)