Uses of Interface
org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex
-
-
Uses of IColIndex in org.apache.sysds.runtime.compress.bitmap
Methods in org.apache.sysds.runtime.compress.bitmap with parameters of type IColIndex Modifier and Type Method Description static 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, 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 Constructor Description ColIndexes(IColIndex indexes) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup
Methods in org.apache.sysds.runtime.compress.colgroup that return IColIndex Modifier and Type Method Description 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 IColIndex Modifier and Type Method Description static 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.AColGroupADictBasedColGroup. copyAndSet(IColIndex colIndexes)AColGroupColGroupEmpty. copyAndSet(IColIndex colIndexes)AColGroupColGroupLinearFunctional. copyAndSet(IColIndex colIndexes)AColGroupColGroupUncompressed. copyAndSet(IColIndex colIndexes)AColGroupColGroupUncompressedArray. copyAndSet(IColIndex colIndexes)static AColGroupColGroupConst. create(IColIndex cols, double value)Generate a constant column group.static AColGroupColGroupConst. create(IColIndex cols, double[] values)Generate 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 AColGroupColGroupLinearFunctional. create(IColIndex colIndices, double[] coefficents, int numRows)Generate 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 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.AColGroupADictBasedColGroup. rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k)AColGroupColGroupEmpty. rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k)AColGroupColGroupLinearFunctional. rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k)AColGroupColGroupUncompressed. rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k)AColGroupColGroupUncompressedArray. rightMultByMatrix(MatrixBlock right, IColIndex allCols, int k)Constructors in org.apache.sysds.runtime.compress.colgroup with parameters of type IColIndex Constructor Description ColGroupEmpty(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 IColIndex Modifier and Type Method Description voidADictionary. 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)IDictionaryADictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)DictionaryDictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryIDictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)Apply binary row operation on the left sideIDictionaryMatrixBlockDictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryADictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryDictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryIDictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)Apply binary row operation on the left side with one extra row evaluating with zeros.IDictionaryMatrixBlockDictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryADictionary. binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)DictionaryDictionary. binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)IDictionaryIDictionary. 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.MatrixBlockDictionaryMatrixBlockDictionary. binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)IDictionaryADictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)DictionaryDictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryIdentityDictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryIDictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)Apply binary row operation on the right side.MatrixBlockDictionaryMatrixBlockDictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryADictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryDictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryIDictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)Apply binary row operation on the right side with one extra row evaluating with zeros.IDictionaryMatrixBlockDictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)IDictionaryADictionary. binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)DictionaryDictionary. binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)IDictionaryIDictionary. 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.MatrixBlockDictionaryMatrixBlockDictionary. 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)voidADictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)voidDictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)voidIdentityDictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)voidIdentityDictionarySlice. colSum(double[] c, int[] counts, IColIndex colIndexes)voidIDictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)Get the column sum of the values contained in the dictionaryvoidMatrixBlockDictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)voidADictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)voidDictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)voidIdentityDictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)voidIDictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)Get the column sum of the values contained in the dictionaryvoidMatrixBlockDictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)voidADictionary. 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)IDictionaryADictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)DictionaryDictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)IDictionaryIdentityDictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)IDictionaryIDictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)Pre Aggregate values for Right Matrix Multiplication.MatrixBlockDictionaryMatrixBlockDictionary. 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.IDictionaryADictionary. rightMMPreAggSparse(int numVals, SparseBlock b, IColIndex thisCols, IColIndex aggregateColumns, int nColRight)IDictionaryIDictionary. 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 IColIndex Modifier and Type Method Description static 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 IColIndex Modifier and Type Class Description classAColIndexclassArrayIndexclassCombinedIndexclassRangeIndexA Range index that contain a lower and upper bound of the indexes that is symbolize.classSingleIndexclassTwoIndexclassTwoRangesIndexFields in org.apache.sysds.runtime.compress.colgroup.indexes declared as IColIndex Modifier and Type Field Description IColIndexIColIndex.SliceResult. retThe already modified column index to return on slicesMethods in org.apache.sysds.runtime.compress.colgroup.indexes that return IColIndex Modifier and Type Method Description IColIndexArrayIndex. combine(IColIndex other)static IColIndexColIndexFactory. combine(List<? extends AColGroup> gs)static IColIndexColIndexFactory. combine(AColGroup a, AColGroup b)static IColIndexColIndexFactory. combine(IColIndex a, IColIndex b)IColIndexCombinedIndex. combine(IColIndex other)IColIndexIColIndex. combine(IColIndex other)combine the indexes of this colIndex with another, it is expected that all calls to this contains unique indexes, and no copies of values.IColIndexRangeIndex. combine(IColIndex other)IColIndexSingleIndex. combine(IColIndex other)IColIndexTwoIndex. combine(IColIndex other)IColIndexTwoRangesIndex. combine(IColIndex other)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 IColIndexColIndexFactory. read(DataInput in)IColIndexArrayIndex. shift(int i)IColIndexCombinedIndex. shift(int i)IColIndexIColIndex. shift(int i)Return a new column index where the values are shifted by the specified amount.IColIndexTwoRangesIndex. shift(int i)IColIndexArrayIndex. sort()IColIndexCombinedIndex. sort()IColIndexIColIndex. sort()Sort the index and return a new object if there are modifications otherwise return this.IColIndexRangeIndex. sort()IColIndexSingleIndex. sort()IColIndexTwoIndex. sort()IColIndexTwoRangesIndex. sort()Methods in org.apache.sysds.runtime.compress.colgroup.indexes with parameters of type IColIndex Modifier and Type Method Description IColIndexArrayIndex. combine(IColIndex other)static IColIndexColIndexFactory. combine(IColIndex a, IColIndex b)IColIndexCombinedIndex. combine(IColIndex other)IColIndexIColIndex. combine(IColIndex other)combine the indexes of this colIndex with another, it is expected that all calls to this contains unique indexes, and no copies of values.IColIndexRangeIndex. combine(IColIndex other)IColIndexSingleIndex. combine(IColIndex other)IColIndexTwoIndex. combine(IColIndex other)IColIndexTwoRangesIndex. combine(IColIndex other)booleanAColIndex. contains(IColIndex a, IColIndex b)booleanIColIndex. contains(IColIndex a, IColIndex b)This 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 ...booleanArrayIndex. equals(IColIndex other)booleanCombinedIndex. equals(IColIndex other)booleanIColIndex. equals(IColIndex other)booleanRangeIndex. equals(IColIndex other)booleanSingleIndex. equals(IColIndex other)booleanTwoIndex. equals(IColIndex other)booleanTwoRangesIndex. equals(IColIndex other)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 booleanIColIndex. inOrder(IColIndex a, IColIndex b)Indicate 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 IColIndex Modifier and Type Method Description static IColIndexColIndexFactory. combineIndexes(List<IColIndex> idx)Constructors in org.apache.sysds.runtime.compress.colgroup.indexes with parameters of type IColIndex Constructor Description CombinedIndex(IColIndex l, IColIndex r) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.mapping
Methods in org.apache.sysds.runtime.compress.colgroup.mapping with parameters of type IColIndex Modifier and Type Method Description voidAMapToData. 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 IColIndex Modifier and Type Method Description static ICLASchemeConstScheme. create(IColIndex cols, double[] vals)static DDCSchemeDDCScheme. create(IColIndex cols)Create a scheme for the DDC compression given a list of columns.static ICLASchemeSchemeFactory. create(IColIndex columns, AColGroup.CompressionType type)AColGroupACLAScheme. encode(MatrixBlock data, IColIndex columns)AColGroupICLAScheme. encode(MatrixBlock data, IColIndex columns)Encode a given matrix block into the scheme provided in the instance but overwrite what columns to use.AColGroupACLAScheme. encodeT(MatrixBlock data, IColIndex columns)AColGroupICLAScheme. encodeT(MatrixBlock data, IColIndex columns)Encode a given matrix block into the scheme provided in the instance but overwrite what columns to use.ICLASchemeACLAScheme. update(MatrixBlock data, IColIndex columns)ICLASchemeICLAScheme. update(MatrixBlock data, IColIndex columns)Update the encoding scheme to enable compression of the given data.Pair<ICLAScheme,AColGroup>ACLAScheme. updateAndEncode(MatrixBlock data, IColIndex columns)Pair<ICLAScheme,AColGroup>ICLAScheme. updateAndEncode(MatrixBlock data, IColIndex columns)Try to update and encode in a single pass over the data.Pair<ICLAScheme,AColGroup>ACLAScheme. updateAndEncodeT(MatrixBlock data, IColIndex columns)Pair<ICLAScheme,AColGroup>ICLAScheme. updateAndEncodeT(MatrixBlock data, IColIndex columns)Try to update and encode in a single pass over the data.ICLASchemeACLAScheme. updateT(MatrixBlock data, IColIndex columns)ICLASchemeICLAScheme. 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 IColIndex Constructor Description EmptyScheme(IColIndex idx)RLEScheme(IColIndex cols)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 IColIndex Modifier and Type Method Description IColIndexCompressedSizeInfoColGroup. getColumns()Methods in org.apache.sysds.runtime.compress.estim with parameters of type IColIndex Modifier and Type Method Description CompressedSizeInfoColGroupAComEst. combine(IColIndex combinedColumns, CompressedSizeInfoColGroup g1, CompressedSizeInfoColGroup g2)Combine two analyzed column groups together.CompressedSizeInfoColGroupAComEst. 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.CompressedSizeInfoColGroupComEstCompressed. getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)CompressedSizeInfoColGroupComEstCompressedSample. getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)CompressedSizeInfoColGroupComEstExact. getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)CompressedSizeInfoColGroupComEstSample. getColGroupInfo(IColIndex colIndexes, int estimate, int maxDistinct)CompressedSizeInfoColGroupAComEst. 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.CompressedSizeInfoColGroupComEstCompressed. getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)CompressedSizeInfoColGroupComEstCompressedSample. getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)CompressedSizeInfoColGroupComEstExact. getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)CompressedSizeInfoColGroupComEstSample. getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int maxDistinct)Constructors in org.apache.sysds.runtime.compress.estim with parameters of type IColIndex Constructor Description CompressedSizeInfoColGroup(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 IColIndex Modifier and Type Method Description static 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. 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 Modifier and Type Method Description static List<AColGroup>CLALibCombineGroups. findGroupsInIndex(IColIndex idx, List<AColGroup> groups) -
Uses of IColIndex in org.apache.sysds.runtime.compress.plan
Methods in org.apache.sysds.runtime.compress.plan with parameters of type IColIndex Modifier and Type Method Description static 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 IColIndex Modifier and Type Method Description static ReaderColumnSelectionReaderColumnSelection. createReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed)Create an 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 an 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 IColIndex Modifier and Type Method Description static MatrixBlockUtil. extractValues(double[] v, IColIndex colIndexes)
-