•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Search Results
TiledArray::detail::Scal< Result, Arg, Scalar, Consumable > Class Template Reference
Documentation
template<typename Result, typename Arg, typename Scalar, bool Consumable>
class TiledArray::detail::Scal< Result, Arg, Scalar, Consumable >
Tile scaling operation.
This scaling operation will scale the content a tile and apply a permutation to the result tensor. If no permutation is given or the permutation is null, then the result is not permuted.
Public Types | |
typedef Scal< Result, Arg, Scalar, Consumable > Scal_ | |
This object type. More... | |
typedef Arg argument_type | |
The argument type. More... | |
typedef Scalar scalar_type | |
The scaling factor type. More... | |
typedef Result result_type | |
The result tile type. More... | |
Public Member Functions | |
Scal (const Scal_ &)=default | |
Scal (Scal_ &&)=default | |
~Scal ()=default | |
Scal_ & operator= (const Scal_ &)=default | |
Scal_ & operator= (Scal_ &&)=default | |
Scal (const scalar_type factor) | |
Constructor. More... | |
template<typename Perm , typename = std::enable_if_t<detail::is_permutation_v<Perm>>> | |
result_type operator() (const argument_type &arg, const Perm &perm) const | |
Scale and permute operator. More... | |
template<typename A > | |
result_type operator() (A &&arg) const | |
Consuming scale operation. More... | |
result_type consume (argument_type &arg) const | |
Explicit consuming scale operation. More... | |
Static Public Attributes | |
static constexpr bool is_consumable | |
Member Typedef Documentation
◆ argument_type
template<typename Result , typename Arg , typename Scalar , bool Consumable>
typedef Arg TiledArray::detail::Scal< Result, Arg, Scalar, Consumable >::argument_type |
◆ result_type
template<typename Result , typename Arg , typename Scalar , bool Consumable>
typedef Result TiledArray::detail::Scal< Result, Arg, Scalar, Consumable >::result_type |
◆ Scal_
template<typename Result , typename Arg , typename Scalar , bool Consumable>
typedef Scal<Result, Arg, Scalar, Consumable> TiledArray::detail::Scal< Result, Arg, Scalar, Consumable >::Scal_ |
◆ scalar_type
template<typename Result , typename Arg , typename Scalar , bool Consumable>
typedef Scalar TiledArray::detail::Scal< Result, Arg, Scalar, Consumable >::scalar_type |
Constructor & Destructor Documentation
◆ Scal() [1/3]
template<typename Result , typename Arg , typename Scalar , bool Consumable>
|
default |
◆ Scal() [2/3]
template<typename Result , typename Arg , typename Scalar , bool Consumable>
|
default |
◆ ~Scal()
template<typename Result , typename Arg , typename Scalar , bool Consumable>
|
default |
◆ Scal() [3/3]
template<typename Result , typename Arg , typename Scalar , bool Consumable>
|
inlineexplicit |
Member Function Documentation
◆ consume()
template<typename Result , typename Arg , typename Scalar , bool Consumable>
|
inline |
◆ operator()() [1/2]
template<typename Result , typename Arg , typename Scalar , bool Consumable>
template<typename A >
|
inline |
◆ operator()() [2/2]
template<typename Result , typename Arg , typename Scalar , bool Consumable>
template<typename Perm , typename = std::enable_if_t<detail::is_permutation_v<Perm>>>
|
inline |
◆ operator=() [1/2]
template<typename Result , typename Arg , typename Scalar , bool Consumable>
|
default |
◆ operator=() [2/2]
template<typename Result , typename Arg , typename Scalar , bool Consumable>
|
default |
Member Data Documentation
◆ is_consumable
template<typename Result , typename Arg , typename Scalar , bool Consumable>
|
staticconstexpr |
The documentation for this class was generated from the following file:
- TiledArray/tile_op/scal.h