Lines Matching refs:dist
182 lognormal_distribution<RealType> dist(8, 3); in test_spots() local
189 mean(dist) in test_spots()
193 variance(dist) in test_spots()
197 standard_deviation(dist) in test_spots()
201 hazard(dist, x) in test_spots()
202 , pdf(dist, x) / cdf(complement(dist, x)), tolerance); in test_spots()
205 chf(dist, x) in test_spots()
206 , -log(cdf(complement(dist, x))), tolerance); in test_spots()
209 coefficient_of_variation(dist) in test_spots()
210 , standard_deviation(dist) / mean(dist), tolerance); in test_spots()
213 mode(dist) in test_spots()
217 median(dist) in test_spots()
218 , static_cast<RealType>(exp(dist.location())), tolerance); in test_spots()
221 median(dist), in test_spots()
222 quantile(dist, static_cast<RealType>(0.5)), tolerance); in test_spots()
226 skewness(dist) in test_spots()
230 kurtosis(dist) in test_spots()
234 kurtosis_excess(dist) in test_spots()
239 entropy(dist) in test_spots()
243 range(dist).first in test_spots()
249 BOOST_CHECK(pdf(dist, 0) == 0); in test_spots()
250 BOOST_CHECK(cdf(dist, 0) == 0); in test_spots()
251 BOOST_CHECK(cdf(complement(dist, 0)) == 1); in test_spots()
252 BOOST_CHECK(quantile(dist, 0) == 0); in test_spots()
253 BOOST_CHECK(quantile(complement(dist, 1)) == 0); in test_spots()
260 BOOST_MATH_CHECK_THROW(pdf(dist, -1), std::domain_error); in test_spots()
261 BOOST_MATH_CHECK_THROW(cdf(dist, -1), std::domain_error); in test_spots()
262 BOOST_MATH_CHECK_THROW(cdf(complement(dist, -1)), std::domain_error); in test_spots()
263 BOOST_MATH_CHECK_THROW(quantile(dist, 1), std::overflow_error); in test_spots()
264 BOOST_MATH_CHECK_THROW(quantile(complement(dist, 0)), std::overflow_error); in test_spots()