truncated_normal_test, a C code which calls truncated_normal() to compute quantities associated with the truncated normal distribution.
The computer code and data files described and made available on this web page are distributed under the MIT license
truncated_normal, a C code which works with the truncated normal distribution over [A,B], or [A,+oo) or (-oo,B], returning the probability density function (PDF), the cumulative density function (CDF), the inverse CDF, the mean, the variance, and sample values.