Searched refs:ichsqdef (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/libs/math/example/ |
D | inverse_chi_squared_example.cpp | 95 inverse_chi_squared ichsqdef; // All defaults - not very useful! in main() local 96 cout << "default df = " << ichsqdef.degrees_of_freedom() in main() 97 << ", default scale = " << ichsqdef.scale() << endl; // default df = 1, default scale = 0.5 in main()
|
/third_party/boost/libs/math/test/ |
D | test_inverse_chi_squared_distribution.cpp | 334 inverse_chi_squared ichsqdef; // Using typedef and both default parameters. in BOOST_AUTO_TEST_CASE() local 336 BOOST_CHECK_EQUAL(ichsqdef.degrees_of_freedom(), 1.); // df == 1 in BOOST_AUTO_TEST_CASE() 337 BOOST_CHECK_EQUAL(ichsqdef.scale(), 1); // scale == 1./df in BOOST_AUTO_TEST_CASE() 338 BOOST_CHECK_CLOSE_FRACTION(pdf(ichsqdef, 1), 0.24197072451914330, tol4eps); in BOOST_AUTO_TEST_CASE() 339 BOOST_CHECK_CLOSE_FRACTION(pdf(ichsqdef, 9), 0.013977156581221969, tol4eps); in BOOST_AUTO_TEST_CASE()
|