Class CLALibCombineGroups
- java.lang.Object
-
- org.apache.sysds.runtime.compress.lib.CLALibCombineGroups
-
public final class CLALibCombineGroups extends Object
Library functions to combine column groups inside a compressed matrix.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AColGroup
combine(AColGroup a, AColGroup b)
Combine the column groups A and B together.static List<AColGroup>
combine(CompressedMatrixBlock cmb, int k)
static List<AColGroup>
combine(CompressedMatrixBlock cmb, CompressedSizeInfo csi, ExecutorService pool)
static AColGroup
combineN(List<AColGroup> groups)
static double[]
constructDefaultTuple(AColGroupCompressed ac, AColGroupCompressed bc)
static List<AColGroup>
findGroupsInIndex(IColIndex idx, List<AColGroup> groups)
-
-
-
Method Detail
-
combine
public static List<AColGroup> combine(CompressedMatrixBlock cmb, int k)
-
combine
public static List<AColGroup> combine(CompressedMatrixBlock cmb, CompressedSizeInfo csi, ExecutorService pool)
-
findGroupsInIndex
public static List<AColGroup> findGroupsInIndex(IColIndex idx, List<AColGroup> groups)
-
combine
public static AColGroup combine(AColGroup a, AColGroup b)
Combine the column groups A and B together. The number of rows should be equal, and it is not verified so there will be unexpected behavior in such cases. It is assumed that this method is not called with FOR groups- Parameters:
a
- The first group to combine.b
- The second group to combine.- Returns:
- A new column group containing the two.
-
constructDefaultTuple
public static double[] constructDefaultTuple(AColGroupCompressed ac, AColGroupCompressed bc)
-
-