Interface LibMatrixDenseToSparse
-
public interface LibMatrixDenseToSparse
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.LogLOG
-
Method Summary
Static Methods Modifier and Type Method Description static voiddenseToSparse(MatrixBlock r, boolean allowCSR)Convert the given matrix block to a sparse allocation.static voiddenseToSparse(MatrixBlock r, boolean allowCSR, int k)
-
-
-
Method Detail
-
denseToSparse
static void denseToSparse(MatrixBlock r, boolean allowCSR)
Convert the given matrix block to a sparse allocation.- Parameters:
r- The matrix block to modify, and return the sparse block in.allowCSR- If CSR is allowed.
-
denseToSparse
static void denseToSparse(MatrixBlock r, boolean allowCSR, int k)
-
-