KASKADE 7 development version
Namespaces | Functions
power.hh File Reference

Go to the source code of this file.

Namespaces

namespace  Kaskade
 
 

Functions

template<class R >
Kaskade::power (R base, int exp)
 Computes integral powers of values in a multiplicative half-group. More...
 
template<class R >
Kaskade::square (R x)
 returns the square of its argument. More...
 
template<class R >
Kaskade::faculty (int n)
 Computes faculties. Is this somewhere in the standard? no. More...
 
constexpr int Kaskade::sqrti (int n)
 Computes floor(sqrt(n)) for integers n at compile time. More...