// (C) Copyright Nick Thompson 2020. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include #include #include template void bootstrap() { std::cout << "Computing phi. . .\n"; auto phi = boost::math::daubechies_scaling(); std::cout << "Computing Chebyshev transform of phi.\n"; auto cheb = boost::math::chebyshev_transform(phi, phi.support().first, phi.support().second); std::cout << "Number of coefficients = " << cheb.coefficients().size() << "\n"; } int main() { bootstrap(); }