cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
truncate.hpp File Reference

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())