pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
Namespaces | Functions
is_zero.hpp File Reference
#include <prc/core/basic/functions/zero.hpp>
#include <prc/core/functors/is_approx.hpp>
#include <prc/core/value/functions/is_approx.hpp>
#include <prc/core/value/limits.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class X , class R = RemoveReference<X>, class TT = typename R::Value, If< IsValue< TT > > = 0, If< IsDefined< Zero< R > > > = 0, If< IsInvocable< Zero< R > > > = 0, If< IsInvocable< AbsoluteError, X, R > > = 0>
static constexpr auto pRC::isZero (X &&a, TT const &tolerance=NumericLimits< TT >::tolerance())
 Checks if a pRC object agrees with zero up to a given absolute tolerance.