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

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<Size... Bs, class X , class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< IsInvocable< View, X > > = 0, If< IsSatisfied<(sizeof...(Bs)==typename R::Dimension())> > = 0>
static constexpr auto pRC::broadcast (X &&a)
 Broadcasts a Tensor into one whose mode sizes are a multiple of the mode sizes of the original Tensor.