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) |
Constructor and Description |
---|
ColGroupConst(int[] colIndices,
int numRows,
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.createWithAppendedZeroTuple(ABitmap ubm) |
static ADictionary |
DictionaryFactory.createWithAppendedZeroTuple(ABitmap ubm,
double sparsity) |
static ADictionary |
DictionaryFactory.moveFrequentToLastDictionaryEntry(ADictionary dict,
ABitmap ubm,
int nRow,
int largestIndex) |
static ADictionary |
DictionaryFactory.read(DataInput in) |
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 |
Dictionary.reExpandColumns(int max) |
ADictionary |
QDictionary.reExpandColumns(int max) |
ADictionary |
MatrixBlockDictionary.replace(double pattern,
double replace,
int nCol,
boolean safe) |
abstract ADictionary |
ADictionary.replace(double pattern,
double replace,
int nCol,
boolean safe)
Make a copy of the values, and replace all values that match pattern with replacement value.
|
ADictionary |
Dictionary.replace(double pattern,
double replace,
int nCol,
boolean safe) |
ADictionary |
QDictionary.replace(double pattern,
double replace,
int nCol,
boolean safe) |
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 |
Dictionary.scaleTuples(int[] scaling,
int nCol) |
ADictionary |
QDictionary.scaleTuples(int[] scaling,
int nCol) |
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 |
Dictionary.sliceOutColumnRange(int idxStart,
int idxEnd,
int previousNumberOfColumns) |
ADictionary |
QDictionary.sliceOutColumnRange(int idxStart,
int idxEnd,
int previousNumberOfColumns) |
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.
|
ADictionary |
Dictionary.subtractTuple(double[] tuple) |
ADictionary |
QDictionary.subtractTuple(double[] tuple) |
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.