Searched refs:cheb (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/libs/math/test/ |
D | chebyshev_transform_test.cpp | 48 chebyshev_transform<Real> cheb(f, a, b, tol); in test_sin_chebyshev_transform() local 57 BOOST_CHECK_SMALL(cheb(x), 100*tol); in test_sin_chebyshev_transform() 58 BOOST_CHECK_CLOSE_FRACTION(c, cheb.prime(x), 100*tol); in test_sin_chebyshev_transform() 62 BOOST_CHECK_CLOSE_FRACTION(s, cheb(x), 100*tol); in test_sin_chebyshev_transform() 65 BOOST_CHECK_SMALL(cheb.prime(x), 100*tol); in test_sin_chebyshev_transform() 69 BOOST_CHECK_CLOSE_FRACTION(c, cheb.prime(x), 100*tol); in test_sin_chebyshev_transform() 75 Real Q = cheb.integrate(); in test_sin_chebyshev_transform() 95 chebyshev_transform<Real> cheb(f, a, b, tol/50); in test_sinc_chebyshev_transform() local 105 BOOST_CHECK_SMALL(cheb(x), tol); in test_sinc_chebyshev_transform() 109 BOOST_CHECK_CLOSE_FRACTION(s, cheb(x), tol); in test_sinc_chebyshev_transform() [all …]
|
/third_party/boost/libs/math/example/daubechies_wavelets/ |
D | bootstrap_chebyshev.cpp | 11 auto cheb = boost::math::chebyshev_transform(phi, phi.support().first, phi.support().second); in bootstrap() local 12 std::cout << "Number of coefficients = " << cheb.coefficients().size() << "\n"; in bootstrap()
|
/third_party/boost/libs/math/include_private/boost/math/tools/ |
D | remez.hpp | 207 T cheb = cos((2 * terms - 1 - 2 * i) * constants::pi<T>() / (2 * terms)); in init_chebyshev() local 208 cheb += 1; in init_chebyshev() 209 cheb /= 2; in init_chebyshev() 213 cheb = pow(cheb, p); in init_chebyshev() 215 cheb *= (max - min); in init_chebyshev() 216 cheb += min; in init_chebyshev() 217 zeros[i+1] = cheb; in init_chebyshev()
|
/third_party/boost/libs/math/minimax/ |
D | main.cpp | 262 cheb(p_remez->chebyshev_points()); in do_test() local 298 for(unsigned i = 0; i < cheb.size(); ++i) in do_test() 300 mp_type true_result = the_function(cheb[i]); in do_test() 301 T absissa = boost::math::tools::real_cast<T>(cheb[i]); in do_test()
|