Functor that represents x^p,. More...
#include <Arithmetic.hpp>
Public Member Functions | |
| constexpr | Pow_ (int p) |
| template<class T > | |
| auto | operator() (T const &x) const |
Public Attributes | |
| int | p_ |
Friends | |
| constexpr int | order (Pow_ const &P, int d) |
| constexpr auto | partial (Pow_ const &P, index_t< 0 >) |
Functor that represents x^p,.