public abstract class EstimationUtils extends Object
| Constructor and Description |
|---|
EstimationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getSelfProductOutputNnz(MatrixBlock m1)
This utility function computes the exact output nnz
of a self matrix product without need to materialize
the output.
|
static long |
getSparseProductOutputNnz(MatrixBlock m1,
MatrixBlock m2) |
public static long getSelfProductOutputNnz(MatrixBlock m1)
m1 - dense or sparse input matrixpublic static long getSparseProductOutputNnz(MatrixBlock m1, MatrixBlock m2)
Copyright © 2020 The Apache Software Foundation. All rights reserved.