public abstract class ColGroupCompressed extends AColGroup
AColGroup.CompressionType
Modifier and Type | Method and Description |
---|---|
abstract void |
addMinMax(double[] ret) |
long |
estimateInMemorySize()
Get the upper bound estimate of in memory allocation for the column group.
|
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.
|
int |
getNumRows()
Get number of rows contained in the ColGroup.
|
abstract double[] |
getValues()
Get all the values in the colGroup.
|
abstract boolean |
isLossy()
Is Lossy
|
String |
toString() |
void |
unaryAggregateOperations(AggregateUnaryOperator op,
double[] c)
Unary Aggregate operator, since aggregate operators require new object output, the output becomes an uncompressed
matrix.
|
void |
unaryAggregateOperations(AggregateUnaryOperator op,
double[] c,
int rl,
int ru)
Unary Aggregate operator, since aggregate operators require new object output, the output becomes an uncompressed
matrix.
|
binaryRowOp, containsValue, copy, countNonZerosPerRow, decompressColumnToBlockUnSafe, decompressToBlockSafe, decompressToBlockUnSafe, decompressToBlockUnSafe, get, getColIndices, getCompType, getExactSizeOnDisk, getNumberNonZeros, getNumCols, getNumValues, getValuesAsBlock, isDense, leftMultByAColGroup, leftMultByMatrix, leftMultByMatrix, readFields, replace, rightMultByMatrix, scalarOperation, shiftColIndices, sliceColumn, sliceColumns, tsmm, tsmm, write
public abstract double[] getValues()
AColGroup
public abstract void addMinMax(double[] ret)
public abstract boolean isLossy()
AColGroup
public final double getMin()
AColGroup
public final double getMax()
AColGroup
public final void unaryAggregateOperations(AggregateUnaryOperator op, double[] c)
AColGroup
unaryAggregateOperations
in class AColGroup
op
- The operator usedc
- Rhe output matrix block.public final void unaryAggregateOperations(AggregateUnaryOperator op, double[] c, int rl, int ru)
AColGroup
unaryAggregateOperations
in class AColGroup
op
- The operator usedc
- The output matrix block.rl
- The Starting Row to do aggregation fromru
- The last Row to do aggregation to (not included)public final int getNumRows()
AColGroup
getNumRows
in class AColGroup
public long estimateInMemorySize()
AColGroup
estimateInMemorySize
in class AColGroup
Copyright © 2021 The Apache Software Foundation. All rights reserved.