Class CLALibMerge
- java.lang.Object
-
- org.apache.sysds.runtime.compress.lib.CLALibMerge
-
public class CLALibMerge extends Object
-
-
Constructor Summary
Constructors Constructor Description CLALibMerge()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatrixBlock
merge(MatrixBlock a, MatrixBlock b, boolean appendOnly, boolean par, boolean deep)
Merge b into a, if possible otherwise
-
-
-
Method Detail
-
merge
public static MatrixBlock merge(MatrixBlock a, MatrixBlock b, boolean appendOnly, boolean par, boolean deep)
Merge b into a, if possible otherwise- Parameters:
a
- MatrixBlock a to merge into if possibleb
- MatrixBlock b to take elements fromappendOnly
- If the appending can be done into a sparse block without sorted indexespar
- If parallelism is alloweddeep
- If the copy should be deep most common is true- Returns:
- The merged MatrixBlock
-
-