cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Namespaces | Functions
slice.hpp File Reference
#include <prc/core/functors/view.hpp>
#include <prc/core/tensor/views/slice.hpp>

Go to the source code of this file.

Namespaces

namespace  pRC
 

Functions

template<Size... Es, class X , class... Os, class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< IsInvocable< View, X > > = 0, If< All< IsConvertible< Os, Index >... > > = 0, If< IsSatisfied<(sizeof...(Es)==typename R::Dimension())> > = 0, If< IsSatisfied<(sizeof...(Os)==typename R::Dimension())> > = 0, If< IsSatisfied<(Sizes< Es... >()<=typename R::Sizes())> >
static constexpr auto pRC::slice (X &&a, Os const ... offsets)
 
template<Size... Es, class X , class... Os, class R = RemoveReference<X>, If< IsTensorish< R > > = 0, If< Not< IsInvocable< View, X > > > = 0, If< IsInvocable< Slice< Es... >, X &, Os... > > = 0>
static constexpr auto pRC::slice (X &&a, Os const ... offsets)