unary_wrapper.h
UnaryWrapper(const Op &op, const BipartitePermutation &perm)
Definition: unary_wrapper.h:117
const BipartitePermutation & permutation() const
Permutation accessor.
Definition: unary_wrapper.h:125
typename eval_trait< std::decay_t< T > >::type eval_t
Definition: unary_wrapper.h:103
~UnaryWrapper()=default
auto operator()(argument_type &arg) const
Apply operator to arg and possibly permute the result.
Definition: unary_wrapper.h:132
UnaryWrapper< Op > UnaryWrapper_
Definition: unary_wrapper.h:85
UnaryWrapper(const UnaryWrapper_ &)=default
static constexpr bool is_consumable
Boolean value that indicates the argument can always be consumed.
Definition: unary_wrapper.h:90
UnaryWrapper(const Op &op)
Definition: unary_wrapper.h:120
UnaryWrapper_ & operator=(const UnaryWrapper_ &)=default
static constexpr bool is_lazy_tile_v
Definition: unary_wrapper.h:93
auto invoke(Function &&fn, Args &&... args) -> typename std::enable_if< !or_reduce< false, madness::is_future< std::decay_t< Args >>::value... >::value, decltype(fn(args...))>::type
Definition: meta.h:52
Definition: array_impl.cpp:28
static constexpr bool is_nonarray_lazy_tile_v
Definition: unary_wrapper.h:99
auto operator()(const argument_type &arg) const
Apply operator to arg and possibly permute the result.
Definition: unary_wrapper.h:141
result_type consume(A &&arg) const
Definition: unary_wrapper.h:204
UnaryWrapper_ & operator=(UnaryWrapper_ &&)=default
static constexpr bool is_array_tile_v
Definition: unary_wrapper.h:96
Determine the object type used in the evaluation of tensor expressions.
Definition: type_traits.h:580
UnaryWrapper(UnaryWrapper_ &&)=default