TiledArray::expressions::ScalAddExpr< Left, Right, Scalar > Class Template Reference
Documentation
template<typename Left, typename Right, typename Scalar>
class TiledArray::expressions::ScalAddExpr< Left, Right, Scalar >
Add-then-scale expression.
- Template Parameters
-
Left The left-hand expression type Right The right-hand expression type
Definition at line 120 of file add_expr.h.
Public Types | |
typedef ScalAddExpr< Left, Right, Scalar > | ScalAddExpr_ |
This class type. More... | |
typedef BinaryExpr< ScalAddExpr_ > | BinaryExpr_ |
Binary base class type. More... | |
typedef ExprTrait< ScalAddExpr_ >::left_type | left_type |
The left-hand expression type. More... | |
typedef ExprTrait< ScalAddExpr_ >::right_type | right_type |
The right-hand expression type. More... | |
typedef ExprTrait< ScalAddExpr_ >::engine_type | engine_type |
Expression engine type. More... | |
typedef ExprTrait< ScalAddExpr_ >::scalar_type | scalar_type |
Scalar type. More... | |
Public Member Functions | |
ScalAddExpr (const ScalAddExpr_ &)=default | |
ScalAddExpr (ScalAddExpr_ &&)=default | |
~ScalAddExpr ()=default | |
ScalAddExpr_ & | operator= (const ScalAddExpr_ &)=delete |
ScalAddExpr_ & | operator= (ScalAddExpr_ &&)=delete |
ScalAddExpr (const left_type &left, const right_type &right, const scalar_type factor) | |
Expression constructor. More... | |
scalar_type | factor () const |
Scaling factor accessor. More... | |
Member Typedef Documentation
◆ BinaryExpr_
template<typename Left , typename Right , typename Scalar >
typedef BinaryExpr<ScalAddExpr_> TiledArray::expressions::ScalAddExpr< Left, Right, Scalar >::BinaryExpr_ |
Binary base class type.
Definition at line 123 of file add_expr.h.
◆ engine_type
template<typename Left , typename Right , typename Scalar >
typedef ExprTrait<ScalAddExpr_>::engine_type TiledArray::expressions::ScalAddExpr< Left, Right, Scalar >::engine_type |
Expression engine type.
Definition at line 129 of file add_expr.h.
◆ left_type
template<typename Left , typename Right , typename Scalar >
typedef ExprTrait<ScalAddExpr_>::left_type TiledArray::expressions::ScalAddExpr< Left, Right, Scalar >::left_type |
The left-hand expression type.
Definition at line 125 of file add_expr.h.
◆ right_type
template<typename Left , typename Right , typename Scalar >
typedef ExprTrait<ScalAddExpr_>::right_type TiledArray::expressions::ScalAddExpr< Left, Right, Scalar >::right_type |
The right-hand expression type.
Definition at line 127 of file add_expr.h.
◆ ScalAddExpr_
template<typename Left , typename Right , typename Scalar >
typedef ScalAddExpr<Left, Right, Scalar> TiledArray::expressions::ScalAddExpr< Left, Right, Scalar >::ScalAddExpr_ |
This class type.
Definition at line 122 of file add_expr.h.
◆ scalar_type
template<typename Left , typename Right , typename Scalar >
typedef ExprTrait<ScalAddExpr_>::scalar_type TiledArray::expressions::ScalAddExpr< Left, Right, Scalar >::scalar_type |
Scalar type.
Definition at line 131 of file add_expr.h.
Constructor & Destructor Documentation
◆ ScalAddExpr() [1/3]
template<typename Left , typename Right , typename Scalar >
|
default |
◆ ScalAddExpr() [2/3]
template<typename Left , typename Right , typename Scalar >
|
default |
◆ ~ScalAddExpr()
template<typename Left , typename Right , typename Scalar >
|
default |
◆ ScalAddExpr() [3/3]
template<typename Left , typename Right , typename Scalar >
|
inline |
Expression constructor.
- Parameters
-
arg The argument expression factor The scaling factor
Definition at line 148 of file add_expr.h.
Member Function Documentation
◆ factor()
template<typename Left , typename Right , typename Scalar >
|
inline |
Scaling factor accessor.
- Returns
- The scaling factor
Definition at line 155 of file add_expr.h.
Here is the caller graph for this function:
◆ operator=() [1/2]
template<typename Left , typename Right , typename Scalar >
|
delete |
◆ operator=() [2/2]
template<typename Left , typename Right , typename Scalar >
|
delete |
The documentation for this class was generated from the following files:
- TiledArray/expressions/add_engine.h
- TiledArray/expressions/add_expr.h