Operations for square and square-root propagators. More...
#include <arithmetic.hh>
Public Member Functions | |
bool | even (void) const |
Return whether exponent is even. | |
int | exp (void) const |
Return exponent. | |
void | exp (int m) |
Set exponent to m. | |
template<class IntType> | |
IntType | pow (IntType x) const |
Return ![]() | |
int | tpow (int x) const |
Return ![]() | |
int | fnroot (int x) const |
Return ![]() ![]() | |
int | cnroot (int x) const |
Return ![]() ![]() |
Operations for square and square-root propagators.
Requires
Definition at line 302 of file arithmetic.hh.
|
inline |
Return whether exponent is even.
Definition at line 172 of file pow-ops.hpp.
|
inline |
Return exponent.
Definition at line 177 of file pow-ops.hpp.
|
inline |
Set exponent to m.
Definition at line 182 of file pow-ops.hpp.
|
inline |
Return
Definition at line 188 of file pow-ops.hpp.
|
inline |
Return
Definition at line 193 of file pow-ops.hpp.
|
inline |
Return
Definition at line 203 of file pow-ops.hpp.
|
inline |
Return
Definition at line 220 of file pow-ops.hpp.