# SuanShu, a Java numerical and statistical library

A random variate x defined as $x = \Phi^{-1}( \Phi(\alpha) + U\cdot(\Phi(\beta)-\Phi(\alpha)))\sigma + \mu$ with $$\Phi$$ the cumulative distribution function and $$\Phi^{-1}$$ its inverse, U a uniform random number on (0, 1), follows the distribution truncated to the range (a, b).