scicpp::polynomial::polymulx

Defined in header <scicpp/polynomials.hpp>

Multiply a polynomial by \(X\).


template<typename T, std::size_t N>
std::array<T, N + 1> polymulx(const std::array<T, N> &P)

template<typename T>
std::vector<T> polymulx(const std::vector<T> &P)
template<typename T>
std::vector<T> polymulx(std::vector<T> &&P)

Return a std::vector of size P.size() + 1.