Home
last modified time | relevance | path

Searched refs:w_expect (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/math/test/
Dtest_barycentric_rational.cpp242 Real w_expect = 1/(x[i] - x[i - 1]) + 1/(x[i+1] - x[i]); in test_weights() local
245 BOOST_CHECK_CLOSE(w, -w_expect, 0.00001); in test_weights()
249 BOOST_CHECK_CLOSE(w, w_expect, 0.00001); in test_weights()
Dtest_vector_barycentric_rational.cpp361 Real w_expect = 1/(t_copy[i] - t_copy[i - 1]) + 1/(t_copy[i+1] - t_copy[i]); in test_weights() local
364 BOOST_CHECK_CLOSE(w, -w_expect, 0.00001); in test_weights()
368 BOOST_CHECK_CLOSE(w, w_expect, 0.00001); in test_weights()