|
pRC
multi-purpose Tensor Train library for C++
|
#include <prc/core/functors/absolute_error.hpp>#include <prc/core/functors/div.hpp>#include <prc/core/functors/norm.hpp>#include <prc/core/value/functions/absolute_error.hpp>#include <prc/core/value/functions/cast.hpp>#include <prc/core/value/functions/div.hpp>#include <prc/core/value/functions/norm.hpp>Go to the source code of this file.
Namespaces | |
| namespace | pRC |
Functions | |
| template<class XA , class XB , class RA = RemoveReference<XA>, class RB = RemoveReference<XB>, If< IsFloat< typename RA::Value > > = 0, If< IsFloat< typename RB::Value > > = 0, If< IsInvocable< AbsoluteError, XA, XB > > = 0, If< IsInvocable< Norm<>, XA > > = 0, If< IsInvocable< Div, ResultOf< AbsoluteError, XA, XB >, ResultOf< Norm<>, XA > > > = 0> | |
| static constexpr auto | pRC::relativeError (XA &&a, XB &&b) |
| Calculates the relative error of a pRC object from another pRC object. | |