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

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class T , If< IsValue< T > > = 0, If< IsSatisfied<(typename T::Signed()==true)> > = 0>
static constexpr auto pRC::abs (T const &a)
 Calculates the absolute value of a signed pRC value type.