template<typename Result, typename Left, typename Right, bool LeftConsumable, bool RightConsumable>
class TiledArray::detail::Mult< Result, Left, Right, LeftConsumable, RightConsumable >
Tile multiplication operation.
This multiplication will multiply the content two tiles, and accepts an optional permute argument.
- Template Parameters
-
| Result | The result tile type |
| Left | The left-hand argument type |
| Right | The right-hand argument type |
| LeftConsumable | If true, the left-hand tile is a temporary and may be consumed |
| RightConsumable | If true, the right-hand tile is a temporary and may be consumed |
- Note
- Input tiles can be consumed only if their type matches the result type.
Definition at line 51 of file mult.h.
template<typename Result , typename Left , typename Right , bool LeftConsumable, bool RightConsumable>
template<typename L , typename R >
Multiply-and-permute operator.
Compute the product of two tiles and permute the result.
- Template Parameters
-
| L | The left-hand tile argument type |
| R | The right-hand tile argument type |
- Parameters
-
| left | The left-hand tile argument |
| right | The right-hand tile argument |
| perm | The permutation applied to the result tile |
- Returns
- The permuted and scaled product of
left and right.
Definition at line 160 of file mult.h.
template<typename Result , typename Left , typename Right , bool LeftConsumable, bool RightConsumable>
template<typename L , typename R >
Multiply operator.
Compute the product of two tiles.
- Template Parameters
-
| L | The left-hand tile argument type |
| R | The right-hand tile argument type |
- Parameters
-
| left | The left-hand tile argument |
| right | The right-hand tile argument |
- Returns
- The scaled product of
left and right.
Definition at line 173 of file mult.h.
template<typename Result , typename Left , typename Right , bool LeftConsumable, bool RightConsumable>
Initial value:=
LeftConsumable && std::is_same<result_type, left_type>::value
Indicates whether it is possible to consume the left tile.
Definition at line 60 of file mult.h.
template<typename Result , typename Left , typename Right , bool LeftConsumable, bool RightConsumable>
Initial value:=
RightConsumable && std::is_same<result_type, right_type>::value
Indicates whether it is possible to consume the right tile.
Definition at line 63 of file mult.h.