public abstract class ColGroupCompressed extends AColGroup
AColGroup.CompressionType| Modifier and Type | Method and Description |
|---|---|
void |
computeColSums(double[] c,
int nRows)
Compute the column sum
|
double |
getMax()
Short hand method for getting maximum value contained in this column group.
|
double |
getMin()
Short hand method for getting minimum value contained in this column group.
|
abstract double[] |
getValues()
Get all the values in the colGroup.
|
abstract boolean |
isLossy()
Is Lossy
|
void |
tsmm(MatrixBlock ret,
int nRows)
Do a transposed self matrix multiplication on the left side t(x) %*% x.
|
void |
unaryAggregateOperations(AggregateUnaryOperator op,
double[] c,
int nRows,
int rl,
int ru)
Unary Aggregate operator, since aggregate operators require new object output, the output becomes an uncompressed
matrix.
|
binaryRowOp, colSum, containsValue, copy, countNonZerosPerRow, decompressToBlock, decompressToBlock, estimateInMemorySize, get, getColIndices, getCompType, getExactSizeOnDisk, getNumberNonZeros, getNumCols, getNumValues, getValuesAsBlock, isDense, leftMultByAColGroup, leftMultByMatrix, leftMultByMatrix, readFields, replace, rightMultByMatrix, scalarOperation, shiftColIndices, sliceColumn, sliceColumns, toString, tsmmAColGroup, writepublic abstract double[] getValues()
AColGrouppublic abstract boolean isLossy()
AColGrouppublic double getMin()
AColGrouppublic double getMax()
AColGrouppublic void computeColSums(double[] c,
int nRows)
AColGroupcomputeColSums in class AColGroupc - The array to add the column sum to.nRows - The number of rows in the column group.public final void unaryAggregateOperations(AggregateUnaryOperator op, double[] c, int nRows, int rl, int ru)
AColGroupunaryAggregateOperations in class AColGroupop - The operator usedc - The output matrix blocknRows - The total number of rows in the Column Grouprl - The Starting Row to do aggregation fromru - The last Row to do aggregation to (not included)public final void tsmm(MatrixBlock ret, int nRows)
AColGroupCopyright © 2021 The Apache Software Foundation. All rights reserved.