6 #ifndef CHEBYSHEV_DISTANCE_H
7 #define CHEBYSHEV_DISTANCE_H
18 template<
typename FloatType =
double>
21 const FloatType diff = b - a;
22 return (diff > 0) ? diff : -diff;
FloatType abs_distance(FloatType a, FloatType b)
Absolute distance between two real values.
Definition: distance.h:19
General namespace of the framework.
Definition: benchmark_structures.h:16