Package org.apache.sysds.hops.estim
Class EstimationUtils
- java.lang.Object
- 
- org.apache.sysds.hops.estim.EstimationUtils
 
- 
 public abstract class EstimationUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description EstimationUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static longgetSelfProductOutputNnz(MatrixBlock m1)This utility function computes the exact output nnz of a self matrix product without need to materialize the output.static longgetSparseProductOutputNnz(MatrixBlock m1, MatrixBlock m2)
 
- 
- 
- 
Method Detail- 
getSelfProductOutputNnzpublic 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.
 
 - 
getSparseProductOutputNnzpublic static long getSparseProductOutputNnz(MatrixBlock m1, MatrixBlock m2) 
 
- 
 
-