|
cMHN 1.2
C++ library for learning MHNs with pRC
|
#include <prc/core/basic/position.hpp>#include <prc/core/functors/min.hpp>#include <prc/core/tensor/declarations.hpp>Go to the source code of this file.
Namespaces | |
| namespace | pRC |
Functions | |
| template<Size C, Position P, class X , IsTensorish R = RemoveReference<X>, IsFloat VT = Value<R>> requires (C < reduce<Min>(RemoveReference<decltype(folding<!P>( declval<X>()))>::Sizes())) && (P == Position::Right) | |
| static constexpr auto | pRC::truncate (X &&a, VT const &tolerance=NumericLimits< VT >::epsilon()) |
| template<Size C, Position P, class X , IsTensorish R = RemoveReference<X>, IsFloat VT = Value<R>> requires (C < reduce<Min>(RemoveReference<decltype(folding<!P>( declval<X>()))>::Sizes())) && (P == Position::Left) | |
| static constexpr auto | pRC::truncate (X &&a, VT const &tolerance=NumericLimits< VT >::epsilon()) |
| template<Size C, Position P, class X , IsTensorish R = RemoveReference<X>, IsFloat VT = Value<R>> | |
| static constexpr auto | pRC::truncate (X &&a, VT const &tolerance=NumericLimits< VT >::epsilon()) |