cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Namespaces | Functions
truncate.hpp File Reference
#include <prc/algorithms/svd.hpp>
#include <prc/core/basic/position.hpp>
#include <prc/core/tensor/functions/norm.hpp>
#include <prc/core/tensor/functions/reshape.hpp>
#include <prc/core/tensor/type_traits.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<Size C, Position P, class X , class R = RemoveReference<X>, If< IsTensorish< R > > = 0, class V = typename R::Value, class VT = V, If< All< IsFloat< V >, IsFloat< VT > > > = 0, If< IsSatisfied<(P==Position::Left||P==Position::Right)> > = 0>
static constexpr auto pRC::truncate (X &&a, VT const &tolerance=NumericLimits< VT >::epsilon())