TiledArray::detail::Noop< Result, Arg, Consumable > Class Template Reference
Documentation
template<typename Result, typename Arg, bool Consumable>
class TiledArray::detail::Noop< Result, Arg, Consumable >
Tile no operation (noop)
This no operation will return the original or apply a permutation to the result tensor. If no permutation is given or the permutation is null, then the result is not permuted.
- Template Parameters
-
Result The result tile type Arg The argument type Consumable Flag that is true
when Arg is consumable
Public Types | |
typedef Noop< Result, Arg, Consumable > | Noop_ |
This object type. More... | |
typedef Arg | argument_type |
The argument type. More... | |
typedef Result | result_type |
The result tile type. More... | |
Public Member Functions | |
template<typename Perm , typename = std::enable_if_t<detail::is_permutation_v<Perm>>> | |
result_type | operator() (const argument_type &arg, const Perm &perm) const |
Permute operator. More... | |
template<typename A > | |
result_type | operator() (A &&arg) const |
Clone operator. More... | |
result_type | consume (argument_type &arg) const |
Pass-through operations (shallow copy) More... | |
Static Public Attributes | |
static constexpr bool | is_consumable = Consumable |
Member Typedef Documentation
◆ argument_type
template<typename Result , typename Arg , bool Consumable>
typedef Arg TiledArray::detail::Noop< Result, Arg, Consumable >::argument_type |
◆ Noop_
template<typename Result , typename Arg , bool Consumable>
typedef Noop<Result, Arg, Consumable> TiledArray::detail::Noop< Result, Arg, Consumable >::Noop_ |
◆ result_type
template<typename Result , typename Arg , bool Consumable>
typedef Result TiledArray::detail::Noop< Result, Arg, Consumable >::result_type |
Member Function Documentation
◆ consume()
template<typename Result , typename Arg , bool Consumable>
|
inline |
◆ operator()() [1/2]
template<typename Result , typename Arg , bool Consumable>
template<typename A >
|
inline |
◆ operator()() [2/2]
template<typename Result , typename Arg , bool Consumable>
template<typename Perm , typename = std::enable_if_t<detail::is_permutation_v<Perm>>>
|
inline |
Member Data Documentation
◆ is_consumable
template<typename Result , typename Arg , bool Consumable>
|
staticconstexpr |
The documentation for this class was generated from the following file:
- TiledArray/tile_op/noop.h