Home
last modified time | relevance | path

Searched refs:cheb (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/math/test/
Dchebyshev_transform_test.cpp48 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/
Dbootstrap_chebyshev.cpp11 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/
Dremez.hpp207 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/
Dmain.cpp262 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()