code: public static Matrix zero(int rows, int columns) {
          long size = (long) rows * columns;
          return size > 1000 ? SparseMatrix.zero(rows, columns) : DenseMatrix.zero(rows, columns);
      }
docs: Creates a zero {@link Matrix} of the given shape:
  {@code rows} x {@code columns}.