code: public static double cdf(double x, double location, double shape) {
      return FastMath.atan2(x - location, shape) / Math.PI + .5;
    }
docs: PDF function, static version.
  
  @param x Value
  @param location Location (x0)
  @param shape Shape (gamma)
  @return PDF value