Lines Matching refs:complement
54 complement( in check_triangular()
67 complement( in check_triangular()
295 cdf(complement(triangular_distribution<RealType>(0, 0, 1), static_cast<RealType>(-1))), in test_spots()
298 cdf(complement(triangular_distribution<RealType>(0, 0, 1), static_cast<RealType>(0))), in test_spots()
302 cdf(complement(triangular_distribution<RealType>(-1, 0, 1), static_cast<RealType>(0))), in test_spots()
306 cdf(complement(triangular_distribution<RealType>(0, 0, 1), static_cast<RealType>(0))), in test_spots()
309 cdf(complement(triangular_distribution<RealType>(0, 1, 1), static_cast<RealType>(1))), in test_spots()
313 cdf(complement(triangular_distribution<RealType>(0, 0, 1), static_cast<RealType>(2))), in test_spots()
316 cdf(complement(triangular_distribution<RealType>(0, 0, 1), static_cast<RealType>(1))), in test_spots()
320 cdf(complement(triangular_distribution<RealType>(-1, 0, 1), static_cast<RealType>(-0.5))), in test_spots()
325 cdf(complement(triangular_distribution<RealType>(-1, 0, 1), static_cast<RealType>(0.5))), in test_spots()
348 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0q1, static_cast<RealType>(0.3333333333333333333… in test_spots()
353 …BOOST_CHECK_CLOSE_FRACTION(cdf(complement(trim12, 0)), static_cast<RealType>(1 - 0.466666666666666… in test_spots()
355 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0q1, static_cast<RealType>(1 - 0.999466666666666… in test_spots()
356 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, static_cast<RealType>(1))), static_cast<Rea… in test_spots()
357 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, static_cast<RealType>(0.5))), static_cast<R… in test_spots()
358 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, static_cast<RealType>(1 - 0.02L))), static_… in test_spots()
359 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, static_cast<RealType>(1 - 0.98L))), static_… in test_spots()
360 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, 0)), static_cast<RealType>(1), tol5eps); in test_spots()
365 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(distr, 1.)), static_cast<RealType>(-1), tol5eps); in test_spots()
367 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(*distp, 1.)), static_cast<RealType>(-1), tol5eps); in test_spots()
370 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(*dists[1], 1.)), static_cast<RealType>(0), tol5eps); in test_spots()
376 …BOOST_CHECK_CLOSE_FRACTION(quantile(*dists[i], 0.5L), quantile(complement(*dist, 0.5L)), tol5eps); in test_spots()
377 …BOOST_CHECK_CLOSE_FRACTION(quantile(*dists[i], 0.98L), quantile(complement(*dist, 1.L - 0.98L)),to… in test_spots()
378 …BOOST_CHECK_CLOSE_FRACTION(quantile(*dists[i], 0.98L), quantile(complement(*dist, 1.L - 0.98L)),to… in test_spots()
386 BOOST_CHECK_EQUAL(quantile(complement(*dists[i], 1.)), quantile(*dists[i], 0.)); in test_spots()
390 … BOOST_CHECK_CLOSE_FRACTION(quantile(*dists[i], x), quantile(complement(*dist, 1 - x)), tol5eps); in test_spots()
452 hazard(tridef, x), pdf(tridef, x) / cdf(complement(tridef, x)), tolerance); in test_spots()
455 chf(tridef, x), -log(cdf(complement(tridef, x))), tolerance); in test_spots()
500 hazard(tri01, x), pdf(tri01, x) / cdf(complement(tri01, x)), tolerance); in test_spots()
503 chf(tri01, x), -log(cdf(complement(tri01, x))), tolerance); in test_spots()
567 BOOST_CHECK(cdf(complement(tridef, -1)) == 1); in test_spots()
568 BOOST_CHECK(cdf(complement(tridef, 1)) == 0); in test_spots()
570 BOOST_CHECK(quantile(complement(tridef, 1)) == -1); in test_spots()
665 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0q1, 0.33333333333333333333333333333333333333333… in BOOST_AUTO_TEST_CASE()
671 …BOOST_CHECK_CLOSE_FRACTION(cdf(complement(trim12, 0)), 1 - 0.4666666666666666666666666666666666666… in BOOST_AUTO_TEST_CASE()
673 …BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0q1, 1 - 0.99946666666666661)), 0.98, 10 * tol5e… in BOOST_AUTO_TEST_CASE()
674 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, 1.)), 0., tol5eps); in BOOST_AUTO_TEST_CASE()
675 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, 0.5)), 0.5, tol5eps); // OK in BOOST_AUTO_TEST_CASE()
676 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, 1. - 0.02)), 0.1, tol5eps); in BOOST_AUTO_TEST_CASE()
677 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, 1. - 0.98)), 0.9, tol5eps); in BOOST_AUTO_TEST_CASE()
678 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(tri0h1, 0)), 1., tol5eps); in BOOST_AUTO_TEST_CASE()
683 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(distr, 1.)), 0., tol5eps); in BOOST_AUTO_TEST_CASE()
685 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(*distp, 1.)), 0., tol5eps); in BOOST_AUTO_TEST_CASE()
688 BOOST_CHECK_CLOSE_FRACTION(quantile(complement(*dists[1], 1.)), 0., tol5eps); in BOOST_AUTO_TEST_CASE()
694 BOOST_CHECK_EQUAL(quantile(complement(*dists[i], 1.)), quantile(*dists[i], 0.)); in BOOST_AUTO_TEST_CASE()
695 …BOOST_CHECK_CLOSE_FRACTION(quantile(*dists[i], 0.5), quantile(complement(*dist, 0.5)), tol5eps); … in BOOST_AUTO_TEST_CASE()
696 …BOOST_CHECK_CLOSE_FRACTION(quantile(*dists[i], 0.98), quantile(complement(*dist, 1. - 0.98)),tol5e… in BOOST_AUTO_TEST_CASE()
707 double cx = cdf(complement(trim12, x)); in BOOST_AUTO_TEST_CASE()
719 … BOOST_CHECK_CLOSE_FRACTION(quantile(trim12, dx), quantile(complement(trim12, 1 - dx)), tol500eps); in BOOST_AUTO_TEST_CASE()