Class CLALibRemoveEmpty

java.lang.Object
org.apache.sysds.runtime.compress.lib.CLALibRemoveEmpty

public class CLALibRemoveEmpty extends Object
  • Constructor Details

    • CLALibRemoveEmpty

      public CLALibRemoveEmpty()
  • Method Details

    • rmempty

      public static MatrixBlock rmempty(CompressedMatrixBlock in, MatrixBlock ret, boolean rows, boolean emptyReturn, MatrixBlock select)
      CP rmempty operation (single input, single output matrix)
      Parameters:
      in - The input matrix
      ret - The output matrix
      rows - If we are removing based on rows, or columns.
      emptyReturn - Return row/column of zeros for empty input.
      select - An optional selection vector, to remove based on rather than empty rows or columns
      Returns:
      The result MatrixBlock, can be a different object that the caller used.