Class CLALibSlice
java.lang.Object
org.apache.sysds.runtime.compress.lib.CLALibSlice
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixBlockslice(CompressedMatrixBlock cmb, int rl, int ru, int cl, int cu, boolean deep) static List<MatrixBlock>sliceBlocks(CompressedMatrixBlock cmb, int blen, int k) Slice blocks of compressed matrices from the compressed representation.static CompressedMatrixBlocksliceColumns(CompressedMatrixBlock cmb, int cl, int cu) static MatrixBlocksliceRowsCompressed(CompressedMatrixBlock cmb, int rl, int ru)
-
Method Details
-
sliceBlocks
Slice blocks of compressed matrices from the compressed representation.- Parameters:
cmb- The input block to slice.blen- The length of the blocks.k- The parallelization degree used- Returns:
- A list containing CompressedMatrixBlocks or MatrixBlocks
-
slice
public static MatrixBlock slice(CompressedMatrixBlock cmb, int rl, int ru, int cl, int cu, boolean deep) -
sliceRowsCompressed
-
sliceColumns
-