|
cMHN 1.2
C++ library for learning MHNs with pRC
|
#include <prc/core/basic/functions/is_even.hpp>#include <prc/core/functors/view.hpp>#include <prc/core/tensor/operator/views/from_diagonal.hpp>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) |