Interface LibMatrixDenseToSparse
public interface LibMatrixDenseToSparse
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic voiddenseToSparse(MatrixBlock r, boolean allowCSR) Convert the given matrix block to a sparse allocation.static voiddenseToSparse(MatrixBlock r, boolean allowCSR, int k)
-
Field Details
-
LOG
static final org.apache.commons.logging.Log LOG
-
-
Method Details
-
denseToSparse
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
-