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

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<class X , class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< IsSatisfied<(typename R::Dimension{} > 0)> , If< IsSatisfied<(isEven(typename R::Dimension()))> > = 0>
static constexpr auto pRC::matricize (X &&a)
 Reshapes a Tensor into a matrix (a 2-dimensional Tensor)