cMHN 1.2
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
from_diagonal.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<Size... Ds, class X , IsTensorish R = RemoveReference<X>>
requires (isEven(sizeof...(Ds))) && (sizeof...(Ds) / 2 == R::Dimension) && (cut<2, 0>(Sizes<Ds...>()) == typename R::Sizes() || cut<2, 1>(Sizes<Ds...>()) == typename R::Sizes())
static constexpr auto pRC::fromDiagonal (X &&a)
 
template<class X , IsTensorish R = RemoveReference<X>>
static constexpr auto pRC::fromDiagonal (X &&a)