quantile_chi_squared function quantile_chi_squared(P:Real, ν:Real) -> Real CDF of \chi^2 distribution. P: The cumulative probability. ν: Degrees of freedom. Return: the quantile.