r static method

num r(
  1. num p,
  2. num rMin,
  3. num rMax
)

Returns the inverse cummulative distribution function of the radius r of a search space with spherical geometry specified by the coordinates [r, theta, phi] where theta is the polar angle and phi is the azimuth.

Implementation

static num r(num p, num rMin, num rMax) =>
    rMin + (rMax - rMin) * pow(p, oneThird);