• Home
  • Raw
  • Download

Lines Matching refs:variance

572     BOOST_MATH_CHECK_THROW(variance(students_t_distribution<RealType>(nan)), std::domain_error);  in test_spots()
574 BOOST_MATH_CHECK_THROW(variance(students_t_distribution<RealType>(-1)), std::domain_error); in test_spots()
575 BOOST_MATH_CHECK_THROW(variance(students_t_distribution<RealType>(0)), std::domain_error); in test_spots()
576 BOOST_MATH_CHECK_THROW(variance(students_t_distribution<RealType>(1)), std::domain_error); in test_spots()
577 …BOOST_MATH_CHECK_THROW(variance(students_t_distribution<RealType>(static_cast<RealType>(1.99999L))… in test_spots()
578 …BOOST_MATH_CHECK_THROW(variance(students_t_distribution<RealType>(static_cast<RealType>(1.99999L))… in test_spots()
579 …BOOST_MATH_CHECK_THROW(variance(students_t_distribution<RealType>(2)), std::domain_error); // df =… in test_spots()
580 BOOST_CHECK_EQUAL(variance(students_t_distribution<RealType>(2.5)), 5); // OK. in test_spots()
581 BOOST_CHECK_EQUAL(variance(students_t_distribution<RealType>(3)), 3); // OK. in test_spots()
582 BOOST_CHECK_EQUAL(variance(students_t_distribution<RealType>(inf)), 1); // OK. in test_spots()
684 …BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(std::numeric_limits<RealType>::q… in test_spots()
685 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(-1)))); in test_spots()
686 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(0)))); in test_spots()
687 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(1)))); in test_spots()
688 … BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(static_cast<RealType>(1.7L))))); in test_spots()
689 BOOST_CHECK((boost::math::isnan)(variance(ignore_error_students_t(2)))); in test_spots()
721 …BOOST_CHECK(boost::math::isfinite(variance(ignore_error_students_t(2 + 2 * std::numeric_limits<Rea… in test_spots()
722 …BOOST_CHECK(boost::math::isfinite(variance(ignore_error_students_t(static_cast<RealType>(2.0001L))… in test_spots()
723 …BOOST_CHECK(boost::math::isfinite(variance(ignore_error_students_t(2 + 2 * std::numeric_limits<Rea… in test_spots()