Documentation
template<typename Array, bool Alias>
class TiledArray::expressions::BlkTsrExpr< Array, Alias >
Block expression.
- Template Parameters
-
Array The array type Alias Indicates the array tiles should be computed as a temporary before assignment
Definition at line 289 of file blk_tsr_expr.h.
Public Types | |
typedef BlkTsrExpr< Array, Alias > | BlkTsrExpr_ |
This class type. More... | |
typedef BlkTsrExprBase< BlkTsrExpr_ > | BlkTsrExprBase_ |
Block expression base type. More... | |
typedef ExprTrait< BlkTsrExpr_ >::engine_type | engine_type |
Expression engine type. More... | |
typedef ExprTrait< BlkTsrExpr_ >::array_type | array_type |
The array type. More... | |
typedef ExprTrait< BlkTsrExpr_ >::reference | reference |
The array reference type. More... | |
Public Member Functions | |
BlkTsrExpr ()=delete | |
BlkTsrExpr (const BlkTsrExpr_ &)=default | |
BlkTsrExpr (BlkTsrExpr_ &&)=default | |
~BlkTsrExpr ()=default | |
template<typename Index1 , typename Index2 , typename = std::enable_if_t< TiledArray::detail::is_integral_range_v<Index1> && TiledArray::detail::is_integral_range_v<Index2>>> | |
BlkTsrExpr (reference array, const std::string &annotation, const Index1 &lower_bound, const Index2 &upper_bound) | |
Block expression constructor. More... | |
template<typename PairRange , typename = std::enable_if_t< TiledArray::detail::is_gpair_range_v<PairRange>>> | |
BlkTsrExpr (reference array, const std::string &annotation, const PairRange &bounds) | |
Block expression constructor. More... | |
reference | operator= (const BlkTsrExpr_ &other) |
Block expression constructor. More... | |
reference | operator= (BlkTsrExpr_ &&other) |
Expression assignment operator. More... | |
template<typename D > | |
reference | operator= (const Expr< D > &other) |
Expression assignment operator. More... | |
template<typename D > | |
reference | operator+= (const Expr< D > &other) |
Expression plus-assignment operator. More... | |
template<typename D > | |
reference | operator-= (const Expr< D > &other) |
Expression minus-assignment operator. More... | |
template<typename D > | |
reference | operator*= (const Expr< D > &other) |
Expression multiply-assignment operator. More... | |
BlkTsrExpr< Array, false > | no_alias () const |
Flag this tensor expression for a non-aliasing assignment. More... | |
ConjBlkTsrExpr< array_type > | conj () const |
Conjugated block tensor expression factory. More... | |
Member Typedef Documentation
◆ array_type
typedef ExprTrait<BlkTsrExpr_>::array_type TiledArray::expressions::BlkTsrExpr< Array, Alias >::array_type |
The array type.
Definition at line 296 of file blk_tsr_expr.h.
◆ BlkTsrExpr_
typedef BlkTsrExpr<Array, Alias> TiledArray::expressions::BlkTsrExpr< Array, Alias >::BlkTsrExpr_ |
This class type.
Definition at line 291 of file blk_tsr_expr.h.
◆ BlkTsrExprBase_
typedef BlkTsrExprBase<BlkTsrExpr_> TiledArray::expressions::BlkTsrExpr< Array, Alias >::BlkTsrExprBase_ |
Block expression base type.
Definition at line 293 of file blk_tsr_expr.h.
◆ engine_type
typedef ExprTrait<BlkTsrExpr_>::engine_type TiledArray::expressions::BlkTsrExpr< Array, Alias >::engine_type |
Expression engine type.
Definition at line 294 of file blk_tsr_expr.h.
◆ reference
typedef ExprTrait<BlkTsrExpr_>::reference TiledArray::expressions::BlkTsrExpr< Array, Alias >::reference |
The array reference type.
Definition at line 298 of file blk_tsr_expr.h.
Constructor & Destructor Documentation
◆ BlkTsrExpr() [1/5]
|
delete |
◆ BlkTsrExpr() [2/5]
|
default |
◆ BlkTsrExpr() [3/5]
|
default |
◆ ~BlkTsrExpr()
|
default |
◆ BlkTsrExpr() [4/5]
|
inline |
Block expression constructor.
- Template Parameters
-
Index1 An integral range type Index2 An integral range type
- Parameters
-
array The array object annotation The array annotation lower_bound The lower bound of the tile block upper_bound The upper bound of the tile block
Definition at line 319 of file blk_tsr_expr.h.
◆ BlkTsrExpr() [5/5]
|
inline |
Block expression constructor.
- Template Parameters
-
PairRange Type representing a range of generalized pairs (see TiledArray::detail::is_gpair_v ) the sub-block
Definition at line 334 of file blk_tsr_expr.h.
Member Function Documentation
◆ conj()
|
inline |
Conjugated block tensor expression factory.
- Returns
- A conjugated block expression object
Definition at line 429 of file blk_tsr_expr.h.
◆ no_alias()
|
inline |
Flag this tensor expression for a non-aliasing assignment.
- Returns
- A non-aliased block tensor expression
Definition at line 421 of file blk_tsr_expr.h.
◆ operator*=()
|
inline |
Expression multiply-assignment operator.
- Template Parameters
-
D The derived expression type
- Parameters
-
other The expression that will scale this array
Definition at line 410 of file blk_tsr_expr.h.
◆ operator+=()
|
inline |
Expression plus-assignment operator.
- Template Parameters
-
D The derived expression type
- Parameters
-
other The expression that will be added to this array
Definition at line 384 of file blk_tsr_expr.h.
◆ operator-=()
|
inline |
Expression minus-assignment operator.
- Template Parameters
-
D The derived expression type
- Parameters
-
other The expression that will be subtracted from this array
Definition at line 397 of file blk_tsr_expr.h.
◆ operator=() [1/3]
|
inline |
Expression assignment operator.
- Parameters
-
other The expression that will be assigned to this array
Definition at line 360 of file blk_tsr_expr.h.
◆ operator=() [2/3]
|
inline |
Block expression constructor.
- Parameters
-
array The array object annotation The array annotation bounds The {lower,upper} bounds of the sub-block Expression assignment operator other The expression that will be assigned to this array
Definition at line 352 of file blk_tsr_expr.h.
◆ operator=() [3/3]
|
inline |
Expression assignment operator.
- Template Parameters
-
D The derived expression type
- Parameters
-
other The expression that will be assigned to this array
Definition at line 370 of file blk_tsr_expr.h.
The documentation for this class was generated from the following files:
- TiledArray/expressions/blk_tsr_engine.h
- TiledArray/expressions/blk_tsr_expr.h