29 #include <type_traits>
46 template<
typename T,
typename Container>
56 for (
auto c = std::rbegin(coeffs);
c != std::rend(coeffs); ++
c) {
76 template<
typename T,
typename Container>
77 constexpr std::pair<T, T>
85 for (
auto c = std::rbegin(coeffs);
c != std::rend(coeffs); ++
c) {
102 template<
typename T,
typename Container>
109 template<
typename T,
typename U>
112 return polynomial_val<T, std::initializer_list<U>>(
x, coeffs);
116 template<
typename T,
typename U>
119 return polynomial_der<T, std::initializer_list<U>>(
x, coeffs);
123 template<
typename T,
typename U>
126 return polynomial_valder<T, std::initializer_list<U>>(
x, coeffs);