Scythe-1.0.3
double scythe::qnorm1 ( double  in_p) [inline]

The standard normal quantile function.

Computes the value of the standard normal quantile function at the desired probability in_p.

It is also possible to call this function with a Matrix of doubles as its first argument. In this case the function will return a Matrix of doubles of the same dimension as x, containing the result of evaluating this function at each value in x, given the remaining fixed parameters. By default, the returned Matrix will be concrete and have the same matrix_order as x, but you may invoke a generalized version of the function with an explicit template call.

Parameters:
in_pThe desired probability.
See also:
pnorm(double x, double mean, double sd)
dnorm(double x, double mean, double sd)
rng::rnorm(double mean, double sd)
Exceptions:
scythe_invalid_arg(Level 1)

References log(), pow(), SCYTHE_CHECK_10, and sqrt().

Referenced by scythe::rng< mersenne >::rtnorm(), and scythe::rng< mersenne >::rtnorm_combo().