pRC
multi-purpose Tensor Train library for C++
Loading...
Searching...
No Matches
Namespaces | Functions
round.hpp File Reference
#include <prc/core/functors/loop.hpp>
#include <prc/core/functors/round.hpp>
#include <prc/core/tensor/functions/loop.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<std::int64_t D = 0, class X , If< IsTensorish< RemoveReference< X > > > = 0, If< IsInvocable< Loop< Round< D > >, X > > = 0>
static constexpr auto pRC::round (X &&a)
 Rounds a Tensor element-wise to a given number of digits after the decimal point.