docs: protected static double sparsity(final int setsize, final int dbsize, final int k, final double phi) {
      // calculate sparsity c
      final double fK = MathUtil.powi(1. / phi, k);
      return (setsize - (dbsize * fK)) / FastMath.sqrt(dbsize * fK * (1 - fK));
    }