3#ifndef pRC_CORE_TENSOR_FUNCTIONS_FOLDING_H
4#define pRC_CORE_TENSOR_FUNCTIONS_FOLDING_H
12 template<Position P,
class X, IsTensorish R = RemoveReference<X>>
14 IsInvocable<Unfolding<R::Dimension - 2>, X>
15 static inline constexpr auto folding(X &&a)
17 return unfolding<R::Dimension - 2>(forward<X>(a));
20 template<Position P,
class X, IsTensorish R = RemoveReference<X>>
22 static inline constexpr auto folding(X &&a)
Definition cholesky.hpp:10
static constexpr auto folding(X &&a)
Definition folding.hpp:15
static constexpr auto unfolding(X &&a)
Definition unfolding.hpp:12