Uses of Interface
org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex
Packages that use IColIndex
Package
Description
-
Uses of IColIndex in org.apache.sysds.runtime.compress.bitmap
Methods in org.apache.sysds.runtime.compress.bitmap with parameters of type IColIndexModifier and TypeMethodDescriptionstatic ABitmapBitmapEncoder.extractBitmap(IColIndex colIndices, MatrixBlock rawBlock, boolean transposed, int estimatedNumberOfUniques, boolean sortedEntries) Generate uncompressed bitmaps for a set of columns in an uncompressed matrix block.static ABitmapBitmapEncoder.extractBitmap(IColIndex colIndices, MatrixBlock rawBlock, boolean transposed, int estimatedNumberOfUniques, boolean sortedEntries, double[] scaleFactors) Generate quantization-fused uncompressed bitmaps for a set of columns in an uncompressed matrix block.static ABitmapBitmapEncoder.extractBitmap(IColIndex colIndices, MatrixBlock rawBlock, int estimatedNumberOfUniques, CompressionSettings cs) -
Uses of IColIndex in org.apache.sysds.runtime.compress.cocode
Constructors in org.apache.sysds.runtime.compress.cocode with parameters of type IColIndex -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup
Methods in org.apache.sysds.runtime.compress.colgroup that return IColIndexModifier and TypeMethodDescriptionfinal IColIndexAColGroup.getColIndices()Obtain the offsets of the columns in the matrix block that make up the groupMethods in org.apache.sysds.runtime.compress.colgroup with parameters of type IColIndexModifier and TypeMethodDescriptionstatic voidColGroupUtils.addMatrixToResult(MatrixBlock tmp, MatrixBlock result, IColIndex colIndexes, int rl, int ru) static double[]ColGroupUtils.binaryDefRowLeft(BinaryOperator op, double[] v, IColIndex colIndexes) Calculate the result of performing the binary operation on an empty row to the left v op emptystatic double[]ColGroupUtils.binaryDefRowRight(BinaryOperator op, double[] v, IColIndex colIndexes) Calculate the result of performing the binary operation on an empty row to the right empty op vabstract AColGroupAColGroup.copyAndSet(IColIndex colIndexes) Copy the content of the column group with pointers to the previous content but with new column given Note this method does not verify if the colIndexes specified are valid and correct dimensions for the underlying column groups.final AColGroupADictBasedColGroup.copyAndSet(IColIndex colIndexes) ColGroupEmpty.copyAndSet(IColIndex colIndexes) ColGroupLinearFunctional.copyAndSet(IColIndex colIndexes) ColGroupUncompressed.copyAndSet(IColIndex colIndexes) ColGroupUncompressedArray.copyAndSet(IColIndex colIndexes) static AColGroupGenerate a constant column group.static AColGroupGenerate a constant column group.static AColGroupColGroupConst.create(IColIndex colIndices, IDictionary dict) Create constructor for a ColGroup Const this constructor ensures that if the dictionary input is empty an Empty column group is constructed.static AColGroupColGroupDDC.create(IColIndex colIndexes, IDictionary dict, AMapToData data, int[] cachedCounts) static AColGroupColGroupDDCFOR.create(IColIndex colIndexes, IDictionary dict, AMapToData data, int[] cachedCounts, double[] reference) static AColGroupColGroupDDCLZW.create(IColIndex colIndexes, IDictionary dict, AMapToData data, int[] cachedCounts) static AColGroupColGroupDeltaDDC.create(IColIndex colIndexes, IDictionary dict, AMapToData data, int[] cachedCounts) static AColGroupGenerate a linear functional column group.static AColGroupColGroupSDC.create(IColIndex colIndices, int numRows, IDictionary dict, double[] defaultTuple, AOffset offsets, AMapToData data, int[] cachedCounts) static AColGroupColGroupSDCFOR.create(IColIndex colIndexes, int numRows, IDictionary dict, AOffset offsets, AMapToData data, int[] cachedCounts, double[] reference) static AColGroupColGroupSDCSingle.create(IColIndex colIndexes, int numRows, IDictionary dict, double[] defaultTuple, AOffset offsets, int[] cachedCounts) static AColGroupColGroupSDCSingleZeros.create(IColIndex colIndices, int numRows, IDictionary dict, AOffset offsets, int[] cachedCounts) static AColGroupColGroupSDCZeros.create(IColIndex colIndices, int numRows, IDictionary dict, AOffset offsets, AMapToData data, int[] cachedCounts) static AColGroupColGroupUncompressed.create(IColIndex colIndexes, MatrixBlock rawBlock, boolean transposed) Main constructor for Uncompressed ColGroup.static AColGroupColGroupUncompressed.create(MatrixBlock mb, IColIndex colIndexes) Create an Uncompressed Matrix Block, where the columns are offset by col indexes.static AColGroupColGroupUncompressed.createQuantized(IColIndex colIndexes, MatrixBlock rawBlock, boolean transposed, double[] scaleFactors) Main constructor for a quantization-fused uncompressed ColGroup.static AColGroupColGroupUncompressed.createQuantized(MatrixBlock mb, IColIndex colIndexes, double[] scaleFactors) Create ana quantization-fused uncompressed Matrix Block, where the columns are offset by col indexes.static voidColGroupUtils.outerProduct(double[] leftRowSum, double[] rightColumnSum, IColIndex colIdxRight, double[] result, int nColR, int rl, int ru) static voidColGroupUtils.outerProduct(double[] leftRowSum, SparseBlock rightColSum, IColIndex colIdxRight, double[] result, int nColR, int rl, int ru) abstract AColGroupAColGroup.rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k) Right matrix multiplication with this column group.final AColGroupADictBasedColGroup.rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k) ColGroupEmpty.rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k) ColGroupLinearFunctional.rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k) ColGroupUncompressed.rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k) ColGroupUncompressedArray.rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k) Constructors in org.apache.sysds.runtime.compress.colgroup with parameters of type IColIndexModifierConstructorDescriptionColGroupEmpty(IColIndex colIndices) Constructs an Constant Colum Group, that contains only one tuple, with the given value.ColGroupUncompressedArray(Array<?> data, int id, IColIndex colIndexes) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.dictionary
Methods in org.apache.sysds.runtime.compress.colgroup.dictionary with parameters of type IColIndexModifier and TypeMethodDescriptionvoidADictionary.aggregateCols(double[] c, Builtin fn, IColIndex colIndexes) voidDictionary.aggregateCols(double[] c, Builtin fn, IColIndex colIndexes) voidIdentityDictionary.aggregateCols(double[] c, Builtin fn, IColIndex colIndexes) voidIdentityDictionarySlice.aggregateCols(double[] c, Builtin fn, IColIndex colIndexes) voidIDictionary.aggregateCols(double[] c, Builtin fn, IColIndex colIndexes) Aggregates the columns into the target double array provided.voidMatrixBlockDictionary.aggregateCols(double[] c, Builtin fn, IColIndex colIndexes) voidADictionary.aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def) voidDictionary.aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def) voidIDictionary.aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def) Aggregates the columns into the target double array provided.voidMatrixBlockDictionary.aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def) ADictionary.binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes) final DictionaryDictionary.binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes) IDictionary.binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes) Apply binary row operation on the left sideMatrixBlockDictionary.binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes) ADictionary.binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes) Dictionary.binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes) IDictionary.binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes) Apply binary row operation on the left side with one extra row evaluating with zeros.MatrixBlockDictionary.binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes) ADictionary.binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference) Dictionary.binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference) IDictionary.binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference) Apply the binary operator such that each value is offset by the reference before application.MatrixBlockDictionary.binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference) ADictionary.binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes) Dictionary.binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes) IdentityDictionary.binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes) IDictionary.binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes) Apply binary row operation on the right side.MatrixBlockDictionary.binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes) ADictionary.binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes) Dictionary.binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes) IDictionary.binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes) Apply binary row operation on the right side with one extra row evaluating with zeros.MatrixBlockDictionary.binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes) ADictionary.binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference) Dictionary.binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference) IDictionary.binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference) Apply the binary operator such that each value is offset by the reference before application.MatrixBlockDictionary.binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference) voidADictionary.colProduct(double[] res, int[] counts, IColIndex colIndexes) voidDictionary.colProduct(double[] res, int[] counts, IColIndex colIndexes) voidIdentityDictionary.colProduct(double[] res, int[] counts, IColIndex colIndexes) voidIDictionary.colProduct(double[] res, int[] counts, IColIndex colIndexes) Calculate the column product of the dictionary weighted by counts.voidMatrixBlockDictionary.colProduct(double[] res, int[] counts, IColIndex colIndexes) voidADictionary.colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference) voidDictionary.colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference) voidIDictionary.colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference) Calculate the column product of the dictionary weighted by counts.voidMatrixBlockDictionary.colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference) voidvoidvoidvoidvoidGet the column sum of the values contained in the dictionaryvoidvoidvoidvoidvoidGet the column sum of the values contained in the dictionaryvoidvoidADictionary.colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference) voidDictionary.colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference) voidIDictionary.colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference) Get the column sum of the values contained in the dictionary with an offset reference value added to each cell.voidMatrixBlockDictionary.colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference) static IDictionaryDictionaryFactory.combineFullDictionaries(IDictionary a, IColIndex ai, int nca, IDictionary b, IColIndex bi, int ncb, HashMapLongInt filter) static IDictionaryDictionaryFactory.combineFullDictionaries(IDictionary a, IColIndex ai, IDictionary b, IColIndex bi, HashMapLongInt filter) static IDictionaryDictionaryFactory.combineSDCFilter(IDictionary a, double[] tua, IColIndex ai, IDictionary b, double[] tub, IColIndex bi, HashMapLongInt filter) static IDictionaryDictionaryFactory.combineSDCNoFilter(IDictionary a, double[] tua, IColIndex ai, IDictionary b, double[] tub, IColIndex bi) static IDictionaryDictionaryFactory.combineSDCRight(IDictionary a, IColIndex ai, int nca, IDictionary b, double[] tub, IColIndex bi, HashMapLongInt filter) static IDictionaryDictionaryFactory.combineSDCRight(IDictionary a, IColIndex ai, IDictionary b, double[] tub, IColIndex bi, HashMapLongInt filter) static IDictionaryDictionaryFactory.combineSDCRightNoFilter(IDictionary a, IColIndex ai, int nca, IDictionary b, double[] tub, IColIndex bi) static voidADictionary.correctNan(double[] res, IColIndex colIndexes) Correct Nan Values in an result.voidADictionary.MMDict(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidDictionary.MMDict(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidIDictionary.MMDict(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) Matrix multiplication of dictionaries note the left is this, and it is supposed to be treated as if it is transposed while it is not physically transposed.voidMatrixBlockDictionary.MMDict(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidADictionary.MMDictDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidDictionary.MMDictDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidIdentityDictionary.MMDictDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidIDictionary.MMDictDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) Matrix multiplication of dictionaries left side dense and transposed.voidMatrixBlockDictionary.MMDictDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) static voidDictLibMatrixMult.MMDicts(IDictionary left, IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) Matrix Multiply the two dictionaries, note that the left side is considered transposed but not allocated transposed making the multiplication a: t(left) %*% rightvoidADictionary.MMDictScaling(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidDictionary.MMDictScaling(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidIDictionary.MMDictScaling(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) Matrix multiplication of dictionaries, note the left is this, and it is supposed to be treated as if it is transposed while it is not physically transposed.voidMatrixBlockDictionary.MMDictScaling(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidADictionary.MMDictScalingDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidDictionary.MMDictScalingDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidIdentityDictionary.MMDictScalingDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidIDictionary.MMDictScalingDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) Matrix multiplication of dictionaries left side dense and transposed.voidMatrixBlockDictionary.MMDictScalingDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidADictionary.MMDictScalingSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidDictionary.MMDictScalingSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidIDictionary.MMDictScalingSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) Matrix multiplication of dictionaries left side sparse and transposed right side is this.voidMatrixBlockDictionary.MMDictScalingSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result, int[] scaling) voidADictionary.MMDictSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidDictionary.MMDictSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidIDictionary.MMDictSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) Matrix multiplication of dictionaries left side sparse and transposed right side is this.voidMatrixBlockDictionary.MMDictSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) static voidDictLibMatrixMult.MMDictsWithScaling(IDictionary left, IDictionary right, IColIndex leftRows, IColIndex rightColumns, MatrixBlock result, int[] counts) Matrix multiply with scaling (left side transposed)voidADictionary.multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols) voidDictionary.multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols) voidIdentityDictionary.multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols) voidIDictionary.multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols) Multiply the v value with the dictionary entry at dictIdx and add it to the ret matrix at the columns specified in the int array.voidMatrixBlockDictionary.multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols) ADictionary.preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut) Dictionary.preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut) IdentityDictionary.preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut) IDictionary.preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut) Pre Aggregate values for Right Matrix Multiplication.MatrixBlockDictionary.preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut) voidMatrixBlockDictionary.preaggValuesFromDenseDictDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut, double[] ret) voidMatrixBlockDictionary.preaggValuesFromDenseDictSparse(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut, double[] ret) voidADictionary.putDense(DenseBlock dr, int idx, int rowOut, int nCol, IColIndex columns) voidIDictionary.putDense(DenseBlock db, int idx, int rowOut, int nCol, IColIndex columns) Put the row specified into the sparse block, via append calls.voidADictionary.putSparse(SparseBlock sb, int idx, int rowOut, int nCol, IColIndex columns) voidIDictionary.putSparse(SparseBlock sb, int idx, int rowOut, int nCol, IColIndex columns) Put the row specified into the sparse block, via append calls.ADictionary.rightMMPreAggSparse(int numVals, SparseBlock b, IColIndex thisCols, IColIndex aggregateColumns, int nColRight) IDictionary.rightMMPreAggSparse(int numVals, SparseBlock b, IColIndex thisCols, IColIndex aggregateColumns, int nColRight) Pre-aggregate the given sparse block for right multiplication.static voidDictLibMatrixMult.TSMMDictionaryWithScaling(IDictionary dict, int[] counts, IColIndex rows, IColIndex cols, MatrixBlock ret) Perform the full tsmm with the dictionary (allocating into the entire output matrix.)voidADictionary.TSMMToUpperTriangle(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidDictionary.TSMMToUpperTriangle(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) static voidDictLibMatrixMult.TSMMToUpperTriangle(IDictionary left, IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) Does two matrix multiplications in one go but only add to the upper triangle.voidIDictionary.TSMMToUpperTriangle(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) Matrix multiplication but allocate output in upper triangle and twice if on diagonal, note this is leftvoidMatrixBlockDictionary.TSMMToUpperTriangle(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidADictionary.TSMMToUpperTriangleDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidDictionary.TSMMToUpperTriangleDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidIDictionary.TSMMToUpperTriangleDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) Matrix multiplication but allocate output in upper triangle and twice if on diagonal, note this is rightvoidMatrixBlockDictionary.TSMMToUpperTriangleDense(double[] left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidADictionary.TSMMToUpperTriangleDenseScaling(double[] left, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) voidDictionary.TSMMToUpperTriangleDenseScaling(double[] left, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) voidIDictionary.TSMMToUpperTriangleDenseScaling(double[] left, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) Matrix multiplication but allocate output in upper triangle and twice if on diagonal, note this is rightvoidMatrixBlockDictionary.TSMMToUpperTriangleDenseScaling(double[] left, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) voidADictionary.TSMMToUpperTriangleScaling(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) voidDictionary.TSMMToUpperTriangleScaling(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) static voidDictLibMatrixMult.TSMMToUpperTriangleScaling(IDictionary left, IDictionary right, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) Does two matrix multiplications in one go but only add to the upper triangle with scaling.voidIDictionary.TSMMToUpperTriangleScaling(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) Matrix multiplication but allocate output in upper triangle and twice if on diagonal, note this is leftvoidMatrixBlockDictionary.TSMMToUpperTriangleScaling(IDictionary right, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) voidADictionary.TSMMToUpperTriangleSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidDictionary.TSMMToUpperTriangleSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidIDictionary.TSMMToUpperTriangleSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) Matrix multiplication but allocate output in upper triangle and twice if on diagonal, note this is rightvoidMatrixBlockDictionary.TSMMToUpperTriangleSparse(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result) voidADictionary.TSMMToUpperTriangleSparseScaling(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) voidDictionary.TSMMToUpperTriangleSparseScaling(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) voidIDictionary.TSMMToUpperTriangleSparseScaling(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) Matrix multiplication but allocate output in upper triangle and twice if on diagonal, note this is rightvoidMatrixBlockDictionary.TSMMToUpperTriangleSparseScaling(SparseBlock left, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result) voidADictionary.TSMMWithScaling(int[] counts, IColIndex rows, IColIndex cols, MatrixBlock ret) voidDictionary.TSMMWithScaling(int[] counts, IColIndex rows, IColIndex cols, MatrixBlock ret) voidIDictionary.TSMMWithScaling(int[] counts, IColIndex rows, IColIndex cols, MatrixBlock ret) Transpose self matrix multiplication with a scaling factor on each pair of values.voidMatrixBlockDictionary.TSMMWithScaling(int[] counts, IColIndex rows, IColIndex cols, MatrixBlock ret) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.functional
Methods in org.apache.sysds.runtime.compress.colgroup.functional with parameters of type IColIndexModifier and TypeMethodDescriptionstatic double[]LinearRegression.regressMatrixBlock(MatrixBlock rawBlock, IColIndex colIndexes, boolean transposed) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.indexes
Classes in org.apache.sysds.runtime.compress.colgroup.indexes that implement IColIndexModifier and TypeClassDescriptionclassclassclassclassA Range index that contain a lower and upper bound of the indexes that is symbolize.classclassclassFields in org.apache.sysds.runtime.compress.colgroup.indexes declared as IColIndexModifier and TypeFieldDescriptionfinal IColIndexIColIndex.SliceResult.retThe already modified column index to return on slicesMethods in org.apache.sysds.runtime.compress.colgroup.indexes that return IColIndexModifier and TypeMethodDescriptionstatic IColIndexstatic IColIndexstatic IColIndexcombine the indexes of this colIndex with another, it is expected that all calls to this contains unique indexes, and no copies of values.static IColIndexColIndexFactory.combineIndexes(List<IColIndex> idx) static IColIndexColIndexFactory.create(int nCol) static IColIndexColIndexFactory.create(int[] indexes) static IColIndexColIndexFactory.create(int l, int u) Create an Index range of the given valuesstatic IColIndexColIndexFactory.create(IntArrayList indexes) static IColIndexColIndexFactory.createI(int... indexes) static IColIndexColIndexFactory.getColumnMapping(IColIndex comb, IColIndex a) Provide a mapping from a to the combined columns shifted over to column positions in the combined.static IColIndexArrayIndex.shift(int i) CombinedIndex.shift(int i) IColIndex.shift(int i) Return a new column index where the values are shifted by the specified amount.TwoRangesIndex.shift(int i) ArrayIndex.sort()CombinedIndex.sort()IColIndex.sort()Sort the index and return a new object if there are modifications otherwise return this.RangeIndex.sort()SingleIndex.sort()TwoIndex.sort()TwoRangesIndex.sort()Methods in org.apache.sysds.runtime.compress.colgroup.indexes with parameters of type IColIndexModifier and TypeMethodDescriptionstatic IColIndexcombine the indexes of this colIndex with another, it is expected that all calls to this contains unique indexes, and no copies of values.booleanbooleanThis contains method is not strict since it only verifies one element is contained from each a and b.booleanAColIndex.containsAny(IColIndex idx) booleanIColIndex.containsAny(IColIndex idx) Analyze if this column group contain any of the given column Ids.booleanRangeIndex.containsAny(IColIndex idx) booleanSingleIndex.containsAny(IColIndex idx) booleanTwoRangesIndex.containsAny(IColIndex idx) booleanAColIndex.containsStrict(IColIndex a, IColIndex b) booleanIColIndex.containsStrict(IColIndex a, IColIndex b) This contains both a and b ...booleanbooleanbooleanbooleanbooleanbooleanbooleanstatic IColIndexColIndexFactory.getColumnMapping(IColIndex comb, IColIndex a) Provide a mapping from a to the combined columns shifted over to column positions in the combined.static booleanIndicate if the two given column indexes are in order such that the first set of indexes all are of lower value than the second.static Pair<int[],int[]> IColIndex.reorderingIndexes(IColIndex a, IColIndex b) Method parameters in org.apache.sysds.runtime.compress.colgroup.indexes with type arguments of type IColIndexModifier and TypeMethodDescriptionstatic IColIndexColIndexFactory.combineIndexes(List<IColIndex> idx) Constructors in org.apache.sysds.runtime.compress.colgroup.indexes with parameters of type IColIndex -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.mapping
Methods in org.apache.sysds.runtime.compress.colgroup.mapping with parameters of type IColIndexModifier and TypeMethodDescriptionvoidAMapToData.lmSparseMatrixRow(SparseBlock sb, int r, DenseBlock db, IColIndex colIndexes, IDictionary dict) voidMapToByte.lmSparseMatrixRow(SparseBlock sb, int r, DenseBlock db, IColIndex colIndexes, IDictionary dict) voidMapToChar.lmSparseMatrixRow(SparseBlock sb, int r, DenseBlock db, IColIndex colIndexes, IDictionary dict) voidMapToCharPByte.lmSparseMatrixRow(SparseBlock sb, int r, DenseBlock db, IColIndex colIndexes, IDictionary dict) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.scheme
Methods in org.apache.sysds.runtime.compress.colgroup.scheme with parameters of type IColIndexModifier and TypeMethodDescriptionstatic ICLASchemestatic DDCLZWSchemestatic DDCSchemeCreate a scheme for the DDC compression given a list of columns.static ICLASchemeSchemeFactory.create(IColIndex columns, AColGroup.CompressionType type) final AColGroupACLAScheme.encode(MatrixBlock data, IColIndex columns) ICLAScheme.encode(MatrixBlock data, IColIndex columns) Encode a given matrix block into the scheme provided in the instance but overwrite what columns to use.final AColGroupACLAScheme.encodeT(MatrixBlock data, IColIndex columns) ICLAScheme.encodeT(MatrixBlock data, IColIndex columns) Encode a given matrix block into the scheme provided in the instance but overwrite what columns to use.final ICLASchemeACLAScheme.update(MatrixBlock data, IColIndex columns) ICLAScheme.update(MatrixBlock data, IColIndex columns) Update the encoding scheme to enable compression of the given data.final Pair<ICLAScheme,AColGroup> ACLAScheme.updateAndEncode(MatrixBlock data, IColIndex columns) ICLAScheme.updateAndEncode(MatrixBlock data, IColIndex columns) Try to update and encode in a single pass over the data.final Pair<ICLAScheme,AColGroup> ACLAScheme.updateAndEncodeT(MatrixBlock data, IColIndex columns) ICLAScheme.updateAndEncodeT(MatrixBlock data, IColIndex columns) Try to update and encode in a single pass over the data.final ICLASchemeACLAScheme.updateT(MatrixBlock data, IColIndex columns) ICLAScheme.updateT(MatrixBlock data, IColIndex columns) Update the encoding scheme to enable compression of the given data.Constructors in org.apache.sysds.runtime.compress.colgroup.scheme with parameters of type IColIndexModifierConstructorDescriptionEmptyScheme(IColIndex idx) SDCSchemeMC(IColIndex cols, DblArrayCountHashMap map, DblArray def) SDCSchemeSC(IColIndex cols, DoubleCountHashMap map, double def) UncompressedScheme(IColIndex cols) -
Uses of IColIndex in org.apache.sysds.runtime.compress.estim
Methods in org.apache.sysds.runtime.compress.estim that return IColIndexMethods in org.apache.sysds.runtime.compress.estim with parameters of type IColIndexModifier and TypeMethodDescriptionAComEst.combine(IColIndex combinedColumns, CompressedSizeInfoColGroup g1, CompressedSizeInfoColGroup g2) Combine two analyzed column groups together.AComEst.getColGroupInfo(IColIndex colIndexes) Method for extracting Compressed Size Info of specified columns, together in a single ColGroupabstract CompressedSizeInfoColGroupAComEst.getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound) A method to extract the Compressed Size Info for a given list of columns, This method further limits the estimated number of unique values, since in some cases the estimated number of uniques is estimated higher than the number estimated in sub groups of the given colIndexes.ComEstCompressed.getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound) ComEstCompressedSample.getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound) ComEstExact.getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound) ComEstSample.getColGroupInfo(IColIndex colIndexes, int estimate, int maxDistinct) AComEst.getDeltaColGroupInfo(IColIndex colIndexes) Method for extracting info of specified columns as delta encodings (delta from previous rows values)abstract CompressedSizeInfoColGroupAComEst.getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound) A method to extract the Compressed Size Info for a given list of columns, This method further limits the estimated number of unique values, since in some cases the estimated number of uniques is estimated higher than the number estimated in sub groups of the given colIndexes.ComEstCompressed.getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound) ComEstCompressedSample.getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound) ComEstExact.getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound) ComEstSample.getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int maxDistinct) Constructors in org.apache.sysds.runtime.compress.estim with parameters of type IColIndexModifierConstructorDescriptionCompressedSizeInfoColGroup(IColIndex cols, int nVal, int nRow, AColGroup.CompressionType bestCompressionType) CompressedSizeInfoColGroup(IColIndex columns, int nRows, AColGroup.CompressionType ct) Create empty or const.CompressedSizeInfoColGroup(IColIndex cols, EstimationFactors facts, long minSize, AColGroup.CompressionType bestCompressionType) CompressedSizeInfoColGroup(IColIndex columns, EstimationFactors facts, long minSize, AColGroup.CompressionType bestCompression, IEncode map) CompressedSizeInfoColGroup(IColIndex columns, EstimationFactors facts, Set<AColGroup.CompressionType> validCompressionTypes, IEncode map) CompressedSizeInfoColGroup(IColIndex cols, EstimationFactors facts, AColGroup.CompressionType bestCompressionType) -
Uses of IColIndex in org.apache.sysds.runtime.compress.estim.encoding
Methods in org.apache.sysds.runtime.compress.estim.encoding with parameters of type IColIndexModifier and TypeMethodDescriptionstatic IEncodeEncodingFactory.createFromMatrixBlock(MatrixBlock m, boolean transposed, IColIndex rowCols) Encode a list of columns together from the input matrix, as if it is cocoded.static IEncodeEncodingFactory.createFromMatrixBlock(MatrixBlock m, boolean transposed, IColIndex rowCols, double[] scaleFactors) static IEncodeEncodingFactory.createFromMatrixBlockDelta(MatrixBlock m, boolean transposed, IColIndex rowCols) Encode a full delta representation of the matrix input taking all rows into account.static IEncodeEncodingFactory.createFromMatrixBlockDelta(MatrixBlock m, boolean transposed, IColIndex rowCols, int sampleSize) Encode a delta representation of the matrix input taking the first "sampleSize" rows into account. -
Uses of IColIndex in org.apache.sysds.runtime.compress.lib
Methods in org.apache.sysds.runtime.compress.lib with parameters of type IColIndex -
Uses of IColIndex in org.apache.sysds.runtime.compress.plan
Methods in org.apache.sysds.runtime.compress.plan with parameters of type IColIndexModifier and TypeMethodDescriptionstatic IPlanEncodeCompressionPlanFactory.create(IColIndex[] columnGroups, AColGroup.CompressionType[] type, int k) -
Uses of IColIndex in org.apache.sysds.runtime.compress.readers
Methods in org.apache.sysds.runtime.compress.readers with parameters of type IColIndexModifier and TypeMethodDescriptionstatic ReaderColumnSelectionReaderColumnSelection.createDeltaReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed) Create a reader of the matrix block that computes delta values (current row - previous row) on-the-fly.static ReaderColumnSelectionReaderColumnSelection.createDeltaReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed, int rl, int ru) Create a reader of the matrix block that computes delta values (current row - previous row) on-the-fly.static ReaderColumnSelectionReaderColumnSelection.createQuantizedReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed, double[] scaleFactors) Create a reader of the matrix block that directly reads quantized values using scale factors.static ReaderColumnSelectionReaderColumnSelection.createQuantizedReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed, int rl, int ru, double[] scaleFactors) Create a reader of the matrix block that directly reads quantized values using scale factors.static ReaderColumnSelectionReaderColumnSelection.createReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed) Create a reader of the matrix block that is able to iterate though all the rows and return as dense double arrays.static ReaderColumnSelectionReaderColumnSelection.createReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed, int rl, int ru) Create a reader of the matrix block that is able to iterate though all the rows and return as dense double arrays. -
Uses of IColIndex in org.apache.sysds.runtime.compress.utils
Methods in org.apache.sysds.runtime.compress.utils with parameters of type IColIndexModifier and TypeMethodDescriptionstatic MatrixBlockUtil.extractValues(double[] v, IColIndex colIndexes)