| Package | Description | 
|---|---|
| org.apache.sysds.runtime.compress.colgroup | |
| org.apache.sysds.runtime.compress.colgroup.dictionary | 
| Modifier and Type | Method and Description | 
|---|---|
ADictionary | 
ColGroupValue.getDictionary()  | 
| Modifier and Type | Method and Description | 
|---|---|
AColGroup | 
ColGroupValue.copyAndSet(ADictionary newDictionary)  | 
AColGroup | 
ColGroupValue.copyAndSet(int[] colIndexes,
          ADictionary newDictionary)  | 
static AColGroup | 
ColGroupFactory.getColGroupConst(int numCols,
                ADictionary dict)
Generate a constant column group. 
 | 
| Constructor and Description | 
|---|
ColGroupConst(int[] colIndices,
             ADictionary dict)
Constructs an Constant Colum Group, that contains only one tuple, with the given value. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Dictionary
This dictionary class aims to encapsulate the storage and operations over unique floating point values of a column
 group. 
 | 
class  | 
MatrixBlockDictionary  | 
class  | 
QDictionary
This dictionary class aims to encapsulate the storage and operations over unique floating point values of a column
 group. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ADictionary | 
MatrixBlockDictionary.apply(ScalarOperator op)  | 
abstract ADictionary | 
ADictionary.apply(ScalarOperator op)
Applies the scalar operation on the dictionary. 
 | 
ADictionary | 
ADictionary.applyBinaryRowOp(BinaryOperator op,
                double[] v,
                boolean sparseSafe,
                int[] colIndexes,
                boolean left)
Apply binary row operation on this dictionary. 
 | 
ADictionary | 
MatrixBlockDictionary.applyBinaryRowOpLeft(BinaryOperator op,
                    double[] v,
                    boolean sparseSafe,
                    int[] colIndexes)  | 
abstract ADictionary | 
ADictionary.applyBinaryRowOpLeft(BinaryOperator op,
                    double[] v,
                    boolean sparseSafe,
                    int[] colIndexes)
Apply binary row operation on this dictionary on the left side. 
 | 
ADictionary | 
MatrixBlockDictionary.applyBinaryRowOpRight(BinaryOperator op,
                     double[] v,
                     boolean sparseSafe,
                     int[] colIndexes)  | 
abstract ADictionary | 
ADictionary.applyBinaryRowOpRight(BinaryOperator op,
                     double[] v,
                     boolean sparseSafe,
                     int[] colIndexes)
Apply binary row operation on this dictionary on the right side. 
 | 
ADictionary | 
MatrixBlockDictionary.applyScalarOp(ScalarOperator op,
             double newVal,
             int numCols)  | 
abstract ADictionary | 
ADictionary.applyScalarOp(ScalarOperator op,
             double newVal,
             int numCols)
Applies the scalar operation on the dictionary. 
 | 
ADictionary | 
MatrixBlockDictionary.clone()  | 
abstract ADictionary | 
ADictionary.clone()
Returns a deep clone of the dictionary. 
 | 
ADictionary | 
MatrixBlockDictionary.cloneAndExtend(int len)  | 
abstract ADictionary | 
ADictionary.cloneAndExtend(int len)
Clone the dictionary, and extend size of the dictionary by a given length 
 | 
static ADictionary | 
DictionaryFactory.create(ABitmap ubm)  | 
static ADictionary | 
DictionaryFactory.create(ABitmap ubm,
      double sparsity)  | 
static ADictionary | 
DictionaryFactory.create(ABitmap ubm,
      double sparsity,
      boolean withZeroTuple)  | 
static ADictionary | 
DictionaryFactory.create(DblArrayCountHashMap map,
      int nCols,
      boolean extra)  | 
static ADictionary | 
DictionaryFactory.createWithAppendedZeroTuple(ABitmap ubm)  | 
static ADictionary | 
DictionaryFactory.createWithAppendedZeroTuple(ABitmap ubm,
                           double sparsity)  | 
static ADictionary | 
DictionaryFactory.moveFrequentToLastDictionaryEntry(ADictionary dict,
                                 ABitmap ubm,
                                 int nRow,
                                 int largestIndex)  | 
ADictionary | 
QDictionary.preaggValuesFromDense(int numVals,
                     int[] colIndexes,
                     int[] aggregateColumns,
                     double[] b,
                     int cut)  | 
abstract ADictionary | 
ADictionary.preaggValuesFromDense(int numVals,
                     int[] colIndexes,
                     int[] aggregateColumns,
                     double[] b,
                     int cut)
Pre Aggregate values for right Matrix Multiplication. 
 | 
static ADictionary | 
DictionaryFactory.read(DataInput in)  | 
ADictionary | 
QDictionary.reExpandColumns(int max)  | 
ADictionary | 
Dictionary.reExpandColumns(int max)  | 
ADictionary | 
MatrixBlockDictionary.reExpandColumns(int max)  | 
abstract ADictionary | 
ADictionary.reExpandColumns(int max)
return a new Dictionary that have re expanded all values, based on the entries already contained. 
 | 
ADictionary | 
QDictionary.replace(double pattern,
       double replace,
       int nCol)  | 
ADictionary | 
Dictionary.replace(double pattern,
       double replace,
       int nCol)  | 
ADictionary | 
MatrixBlockDictionary.replace(double pattern,
       double replace,
       int nCol)  | 
abstract ADictionary | 
ADictionary.replace(double pattern,
       double replace,
       int nCol)
Make a copy of the values, and replace all values that match pattern with replacement value. 
 | 
ADictionary | 
QDictionary.replaceZeroAndExtend(double replace,
                    int nCol)  | 
ADictionary | 
Dictionary.replaceZeroAndExtend(double replace,
                    int nCol)  | 
ADictionary | 
MatrixBlockDictionary.replaceZeroAndExtend(double replace,
                    int nCol)  | 
abstract ADictionary | 
ADictionary.replaceZeroAndExtend(double replace,
                    int nCol)  | 
ADictionary | 
QDictionary.scaleTuples(int[] scaling,
           int nCol)  | 
ADictionary | 
Dictionary.scaleTuples(int[] scaling,
           int nCol)  | 
ADictionary | 
MatrixBlockDictionary.scaleTuples(int[] scaling,
           int nCol)  | 
abstract ADictionary | 
ADictionary.scaleTuples(int[] scaling,
           int nCol)
Scale all tuples contained in the dictionary by the scaling factor given in the int list. 
 | 
ADictionary | 
QDictionary.sliceOutColumnRange(int idxStart,
                   int idxEnd,
                   int previousNumberOfColumns)  | 
ADictionary | 
Dictionary.sliceOutColumnRange(int idxStart,
                   int idxEnd,
                   int previousNumberOfColumns)  | 
ADictionary | 
MatrixBlockDictionary.sliceOutColumnRange(int idxStart,
                   int idxEnd,
                   int previousNumberOfColumns)  | 
abstract ADictionary | 
ADictionary.sliceOutColumnRange(int idxStart,
                   int idxEnd,
                   int previousNumberOfColumns)
Modify the dictionary by removing columns not within the index range. 
 | 
ADictionary | 
QDictionary.subtractTuple(double[] tuple)  | 
ADictionary | 
Dictionary.subtractTuple(double[] tuple)  | 
ADictionary | 
MatrixBlockDictionary.subtractTuple(double[] tuple)  | 
abstract ADictionary | 
ADictionary.subtractTuple(double[] tuple)
Allocate a new dictionary where the tuple given is subtracted from all tuples in the previous dictionary. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ADictionary | 
DictionaryFactory.moveFrequentToLastDictionaryEntry(ADictionary dict,
                                 ABitmap ubm,
                                 int nRow,
                                 int largestIndex)  | 
Copyright © 2021 The Apache Software Foundation. All rights reserved.