code: function dunif(a, b, logp) {
        logp = logp === true;
  
        if (utils.hasNaN(a, b) || b <= a) {
           return function(x) { return NaN; };
        }
  
        return function(x) {
           var p;
  
           if (utils.hasNaN(x)) { return NaN; }
           p = x < a || x > b ? 0 : 1 / (b - a);
  
           return logp ? Math.log(p) : p;
        };
     }
docs: Evaluates the Uniform density function at `x`:
  $$\textrm{dunif}(a, b)(x) = \begin{cases}
  \frac{1}{b-a},  & \text{if $a \leq x \leq b$} \\\\
  0, & \text{if $x < a$ or $x > b$} \end{cases} $$
  
  Expects $a < b$.
  
  `logp` defaults to `false`; if `logp` is `true`, returns the
  logarithm of the result.
  
  @fullName dunif(a, b, logp)(x)
  @memberof uniform