|
pRC
multi-purpose Tensor Train library for C++
|
#include <prc/core/basic/functions/unit.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< Unit< R > > > = 0, If< IsInvocable< Unit< R > > > = 0, If< IsInvocable< AbsoluteError, X, R > > = 0> | |
| static constexpr auto | pRC::isUnit (X &&a, TT const &tolerance=NumericLimits< TT >::tolerance()) |
| Checks if a pRC object agrees with unit up to a given absolute tolerance. | |