pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
Namespaces | Functions
delta.hpp File Reference
#include <prc/core/value/functions/abs.hpp>
#include <prc/core/value/functions/greater_equal.hpp>
#include <prc/core/value/functions/sub.hpp>
#include <prc/core/value/type_traits.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class TA , class TB , If< IsValue< TA > > = 0, If< IsValue< TB > > = 0, If< None< IsUnsignedInteger< TA >, IsUnsignedInteger< TB > > > = 0>
static constexpr auto pRC::delta (TA const &a, TB const &b)
 Calculates the absolute difference of two signed pRC value types.