Class AMorphingMMColGroup
- java.lang.Object
- 
- org.apache.sysds.runtime.compress.colgroup.AColGroup
- 
- org.apache.sysds.runtime.compress.colgroup.AColGroupCompressed
- 
- org.apache.sysds.runtime.compress.colgroup.AColGroupValue
- 
- org.apache.sysds.runtime.compress.colgroup.AMorphingMMColGroup
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable
 - Direct Known Subclasses:
- ColGroupDDCFOR,- ColGroupSDC,- ColGroupSDCFOR,- ColGroupSDCSingle
 
 public abstract class AMorphingMMColGroup extends AColGroupValue Abstract class for column group types that do not perform matrix Multiplication, and decompression for performance reasons but instead transforms into another type of column group type to perform that operation.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroupAColGroup.CompressionType
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AColGroupextractCommon(double[] constV)voidleftMultByAColGroup(AColGroup lhs, MatrixBlock result)Left side matrix multiplication with a column group that is transposed.voidleftMultByMatrixNoPreAgg(MatrixBlock matrix, MatrixBlock result, int rl, int ru, int cl, int cu)Left multiply with this column group.voidtsmmAColGroup(AColGroup other, MatrixBlock result)Matrix multiply with this other column group, but: 1.- 
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroupValuecentralMoment, computeColSums, containsValue, copy, decompressToDenseBlock, decompressToSparseBlock, estimateInMemorySize, forceMatrixBlockDictionary, getCachedCounts, getCounts, getCounts, getDictionary, getExactSizeOnDisk, getNumberNonZeros, getNumValues, readFields, replace, rexpandCols, rightMultByMatrix, toString, write
 - 
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroupCompressedgetMax, getMin, preAggRows, tsmm, unaryAggregateOperations, unaryAggregateOperations
 - 
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.AColGroupbinaryRowOpLeft, binaryRowOpRight, colSum, decompressToDenseBlock, decompressToSparseBlock, get, getColIndices, getCompType, getCost, getIdx, getNumCols, scalarOperation, shiftColIndices, sliceColumn, sliceColumns, unaryOperation
 
- 
 
- 
- 
- 
Method Detail- 
leftMultByMatrixNoPreAggpublic void leftMultByMatrixNoPreAgg(MatrixBlock matrix, MatrixBlock result, int rl, int ru, int cl, int cu) Description copied from class:AColGroupLeft multiply with this column group.- Specified by:
- leftMultByMatrixNoPreAggin class- AColGroup
- Parameters:
- matrix- The matrix to multiply with on the left
- result- The result to output the values into, always dense for the purpose of the column groups parallelizing
- rl- The row to begin the multiplication from on the lhs matrix
- ru- The row to end the multiplication at on the lhs matrix
- cl- The column to begin the multiplication from on the lhs matrix
- cu- The column to end the multiplication at on the lhs matrix
 
 - 
leftMultByAColGrouppublic final void leftMultByAColGroup(AColGroup lhs, MatrixBlock result) Description copied from class:AColGroupLeft side matrix multiplication with a column group that is transposed.- Specified by:
- leftMultByAColGroupin class- AColGroup
- Parameters:
- lhs- The left hand side Column group to multiply with, the left hand side should be considered transposed.
- result- The result matrix to insert the result of the multiplication into
 
 - 
tsmmAColGrouppublic final void tsmmAColGroup(AColGroup other, MatrixBlock result) Description copied from class:AColGroupMatrix multiply with this other column group, but: 1. Only output upper triangle values. 2. Multiply both ways with "this" being on the left and on the right. It should be guaranteed that the input is not the same as the caller of the method. The second step is achievable by treating the initial multiplied matrix, and adding its values to the correct locations in the output.- Specified by:
- tsmmAColGroupin class- AColGroup
- Parameters:
- other- The other Column group to multiply with
- result- The result matrix to put the results into
 
 - 
extractCommonpublic abstract AColGroup extractCommon(double[] constV) 
 
- 
 
-