cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Namespaces | Functions
diagonal.hpp File Reference
#include <prc/core/basic/functions/is_even.hpp>
#include <prc/core/functors/diagonal.hpp>
#include <prc/core/functors/view.hpp>
#include <prc/core/tensor/operator/views/diagonal.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< IsInvocable< View, X > > = 0, If< IsSatisfied<(isEven(typename R::Dimension()))> > = 0>
static constexpr auto pRC::diagonal (X &&a)