ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
periodic_fold.hpp File Reference
#include <cmath>
#include <limits>
#include <utility>
+ Include dependency graph for periodic_fold.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Algorithm
 

Functions

template<typename T , typename I >
std::pair< T, I > Algorithm::periodic_fold (T x, I i, T const l)
 Fold value into primary interval.
 
template<typename T >
Algorithm::periodic_fold (T x, T const l)
 Fold value into primary interval.