Uses of Class
org.apache.sysds.runtime.compress.CompressedMatrixBlock
Packages that use CompressedMatrixBlock
Package
Description
-
Uses of CompressedMatrixBlock in org.apache.sysds.runtime.compress
Methods in org.apache.sysds.runtime.compress that return CompressedMatrixBlockModifier and TypeMethodDescriptionstatic CompressedMatrixBlockCompressedMatrixBlockFactory.createConstant(int numRows, int numCols, double value) Method for constructing a compressed matrix out of an constant input.static CompressedMatrixBlockCompressedMatrixBlockFactory.genUncompressedCompressedMatrixBlock(MatrixBlock mb) Generate a CompressedMatrixBlock Object that contains a single uncompressed matrix block column group.static CompressedMatrixBlockCompressedMatrixBlock.squash(int k) Constructors in org.apache.sysds.runtime.compress with parameters of type CompressedMatrixBlockModifierConstructorDescriptionCopy constructor taking that CompressedMatrixBlock and populate this new compressedMatrixBlock with pointers to the same columnGroups. -
Uses of CompressedMatrixBlock in org.apache.sysds.runtime.compress.colgroup.scheme
Methods in org.apache.sysds.runtime.compress.colgroup.scheme that return CompressedMatrixBlockModifier and TypeMethodDescriptionCompressionScheme.encode(MatrixBlock mb) Encode the given matrix block, it is assumed that the given MatrixBlock already fit the current scheme.CompressionScheme.encode(MatrixBlock mb, int k) Encode the given matrix block, it is assumed that the given MatrixBlock already fit the current scheme.CompressionScheme.updateAndEncode(MatrixBlock mb) CompressionScheme.updateAndEncode(MatrixBlock mb, int k) Methods in org.apache.sysds.runtime.compress.colgroup.scheme with parameters of type CompressedMatrixBlockModifier and TypeMethodDescriptionstatic CompressionSchemeCompressionScheme.getScheme(CompressedMatrixBlock cmb) Extract a compression scheme for the given matrix block -
Uses of CompressedMatrixBlock in org.apache.sysds.runtime.compress.cost
Methods in org.apache.sysds.runtime.compress.cost with parameters of type CompressedMatrixBlockModifier and TypeMethodDescriptiondoubleACostEstimate.getCost(CompressedMatrixBlock cmb) Get cost of a compressed matrix block -
Uses of CompressedMatrixBlock in org.apache.sysds.runtime.compress.estim
Constructors in org.apache.sysds.runtime.compress.estim with parameters of type CompressedMatrixBlockModifierConstructorDescriptionComEstCompressedSample(CompressedMatrixBlock sample, CompressionSettings cs, CompressedMatrixBlock full, int k) -
Uses of CompressedMatrixBlock in org.apache.sysds.runtime.compress.lib
Methods in org.apache.sysds.runtime.compress.lib that return CompressedMatrixBlockModifier and TypeMethodDescriptionstatic CompressedMatrixBlockCLALibSlice.sliceColumns(CompressedMatrixBlock cmb, int cl, int cu) static CompressedMatrixBlockCLALibSquash.squash(CompressedMatrixBlock m, int k) Squash or recompress is process each column group in the given Compressed Matrix Block and tries to recompress each column.Methods in org.apache.sysds.runtime.compress.lib with parameters of type CompressedMatrixBlockModifier and TypeMethodDescriptionstatic MatrixBlockCLALibCompAgg.aggregateUnary(CompressedMatrixBlock inputMatrix, MatrixBlock result, AggregateUnaryOperator op, int blen, MatrixIndexes indexesIn, boolean inCP) static MatrixBlockCLALibBinaryCellOp.binaryOperationsLeft(BinaryOperator op, CompressedMatrixBlock m1, MatrixBlock that) static MatrixBlockCLALibBinaryCellOp.binaryOperationsRight(BinaryOperator op, CompressedMatrixBlock m1, MatrixBlock that) static CmCovObjectCLALibCMOps.centralMoment(CompressedMatrixBlock cmb, CMOperator op) CLALibCombineGroups.combine(CompressedMatrixBlock cmb, CompressedSizeInfo csi, ExecutorService pool, int k) static voidCLALibUtils.combineConstColumns(CompressedMatrixBlock in) Combine all column groups that are constant types, this include empty and const.static MatrixBlockCLALibDecompress.decompress(CompressedMatrixBlock cmb, int k) static voidCLALibDecompress.decompressTo(CompressedMatrixBlock cmb, MatrixBlock ret, int rowOffset, int colOffset, int k, boolean countNNz) static voidCLALibDecompress.decompressTo(CompressedMatrixBlock cmb, MatrixBlock ret, int rowOffset, int colOffset, int k, boolean countNNz, boolean reset) static CompressionSchemeCLALibScheme.getScheme(CompressedMatrixBlock cmb) static MatrixBlockCLALibLeftMultBy.leftMultByMatrix(CompressedMatrixBlock right, MatrixBlock left, MatrixBlock ret, int k) Left multiplication with two CompressedMatrixBlock following the equation: ret = left %*% rightstatic MatrixBlockCLALibLeftMultBy.leftMultByMatrixTransposed(CompressedMatrixBlock right, CompressedMatrixBlock left, MatrixBlock ret, int k) Left multiplication with two CompressedMatrixBlock following the equation:static MatrixBlockCLALibLeftMultBy.leftMultByMatrixTransposed(CompressedMatrixBlock right, MatrixBlock left, MatrixBlock ret, int k) Left multiplication with a CompressedMatrixBlock on the right following the equation:static MatrixBlockCLALibTSMM.leftMultByTransposeSelf(CompressedMatrixBlock cmb, int k) static MatrixBlockCLALibTSMM.leftMultByTransposeSelf(CompressedMatrixBlock cmb, MatrixBlock ret, int k) Self left Matrix multiplication (tsmm) t(x) %*% xstatic MatrixBlockCLALibSelectionMult.leftSelection(CompressedMatrixBlock right, MatrixBlock left, MatrixBlock ret, int k) Left selection where the left matrix is sparse with a max 1 non zero per row and that non zero is a 1.static MatrixBlockCLALibMMChain.mmChain(CompressedMatrixBlock x, MatrixBlock v, MatrixBlock w, MatrixBlock out, MapMultChain.ChainType ctype, int k) Support compressed MM chain operation to fuse the following cases :static MatrixBlockCLALibReorg.reorg(CompressedMatrixBlock cmb, ReorgOperator op, MatrixBlock ret, int startRow, int startColumn, int length) static MatrixBlockCLALibReplace.replace(CompressedMatrixBlock in, MatrixBlock out, double pattern, double replacement, int k) static MatrixBlockCLALibReshape.reshape(CompressedMatrixBlock in, int rows, int cols, boolean rowwise) static MatrixBlockCLALibReshape.reshape(CompressedMatrixBlock in, int rows, int cols, boolean rowwise, int k) static MatrixBlockCLALibRexpand.rexpand(CompressedMatrixBlock in, MatrixBlock ret, double max, boolean rows, boolean cast, boolean ignore, int k) static MatrixBlockCLALibRightMultBy.rightMultByMatrix(CompressedMatrixBlock m1, MatrixBlock m2, MatrixBlock ret, int k) static MatrixBlockCLALibRightMultBy.rightMultByMatrix(CompressedMatrixBlock m1, MatrixBlock m2, MatrixBlock ret, int k, boolean allowOverlap) static MatrixBlockCLALibRemoveEmpty.rmempty(CompressedMatrixBlock in, MatrixBlock ret, boolean rows, boolean emptyReturn, MatrixBlock select) CP rmempty operation (single input, single output matrix)static MatrixBlockCLALibScalar.scalarOperations(ScalarOperator sop, CompressedMatrixBlock m1, MatrixValue result) static MatrixBlockCLALibSlice.slice(CompressedMatrixBlock cmb, int rl, int ru, int cl, int cu, boolean deep) static List<MatrixBlock>CLALibSlice.sliceBlocks(CompressedMatrixBlock cmb, int blen, int k) Slice blocks of compressed matrices from the compressed representation.static CompressedMatrixBlockCLALibSlice.sliceColumns(CompressedMatrixBlock cmb, int cl, int cu) static MatrixBlockCLALibSlice.sliceRowsCompressed(CompressedMatrixBlock cmb, int rl, int ru) static MatrixBlockCLALibSort.sort(CompressedMatrixBlock mb, SortIndex fn) Sort (order) a compressed matrix in place of theorderbuilt-in, while keeping the result compressed.static MatrixBlockCLALibSort.sort(CompressedMatrixBlock mb, MatrixValue weights, MatrixBlock result, int k) Compute the sorted value/weight table used by the quantile/median/IQM operations (thesort/ qsort lop), exploiting compression to sort the few distinct values instead of all rows.static CompressedMatrixBlockCLALibSquash.squash(CompressedMatrixBlock m, int k) Squash or recompress is process each column group in the given Compressed Matrix Block and tries to recompress each column.static MatrixBlockCLALibUnary.unaryOperations(CompressedMatrixBlock m, UnaryOperator op, MatrixValue result) -
Uses of CompressedMatrixBlock in org.apache.sysds.runtime.compress.plan
Methods in org.apache.sysds.runtime.compress.plan that return CompressedMatrixBlockModifier and TypeMethodDescriptionIPlanEncode.encode(MatrixBlock in) Encode a given matrix block subject to the plan given, while erroring out in case of breaking compressionNaivePlanEncode.encode(MatrixBlock in)