ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <cmath>
#include <concepts>
#include <limits>
#include <type_traits>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | Algorithm |
Concepts | |
concept | IntegralOrRef |
concept | FloatingPointOrRef |
Functions | |
template<FloatingPointOrRef T, IntegralOrRef I> | |
std::pair< T, I > | Algorithm::periodic_fold (T x, I i, T const l) |
Fold value into primary interval. | |
template<FloatingPointOrRef T> | |
T | Algorithm::periodic_fold (T x, T const l) |
Fold value into primary interval. | |