ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <cmath>
#include <limits>
#include <utility>
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 > | |
T | Algorithm::periodic_fold (T x, T const l) |
Fold value into primary interval. | |