ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
int_pow.hpp File Reference
#include "utils/device_qualifier.hpp"
#include <type_traits>
+ Include dependency graph for int_pow.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Utils
 

Functions

template<unsigned n, typename T >
DEVICE_QUALIFIER constexpr T Utils::int_pow (T x)
 Calculate integer powers.