#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(); }