AMDiS  0.1
The Adaptive Multi-Dimensional Simulation Toolbox
Pow_ Struct Reference

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_


constexpr int order (Pow_ const &P, int d)
constexpr auto partial (Pow_ const &P, index_t< 0 >)

Detailed Description

Functor that represents x^p,.

See also

The documentation for this struct was generated from the following file: