TiledArray::expressions::ScalExpr< Arg, Scalar > Class Template Reference
Documentation
template<typename Arg, typename Scalar>
class TiledArray::expressions::ScalExpr< Arg, Scalar >
Scaling expression.
- Template Parameters
-
Arg The argument expression type
Definition at line 58 of file scal_expr.h.
Public Types | |
typedef ScalExpr< Arg, Scalar > | ScalExpr_ |
This class type. More... | |
typedef UnaryExpr< ScalExpr_ > | UnaryExpr_ |
Unary base class type. More... | |
typedef ExprTrait< ScalExpr_ >::argument_type | argument_type |
The argument expression type. More... | |
typedef ExprTrait< ScalExpr_ >::engine_type | engine_type |
Expression engine type. More... | |
typedef ExprTrait< ScalExpr_ >::scalar_type | scalar_type |
Scalar type. More... | |
Public Member Functions | |
ScalExpr (const ScalExpr_ &)=default | |
ScalExpr (ScalExpr_ &&)=default | |
~ScalExpr ()=default | |
ScalExpr_ & | operator= (const ScalExpr_ &)=delete |
ScalExpr_ & | operator= (ScalExpr_ &&)=delete |
ScalExpr (const argument_type &arg, const scalar_type factor) | |
Scaled expression constructor. More... | |
ScalExpr (const ScalExpr_ &other, const scalar_type factor) | |
Rescale expression constructor. More... | |
scalar_type | factor () const |
Scaling factor accessor. More... | |
Member Typedef Documentation
◆ argument_type
template<typename Arg , typename Scalar >
typedef ExprTrait<ScalExpr_>::argument_type TiledArray::expressions::ScalExpr< Arg, Scalar >::argument_type |
The argument expression type.
Definition at line 63 of file scal_expr.h.
◆ engine_type
template<typename Arg , typename Scalar >
typedef ExprTrait<ScalExpr_>::engine_type TiledArray::expressions::ScalExpr< Arg, Scalar >::engine_type |
Expression engine type.
Definition at line 65 of file scal_expr.h.
◆ scalar_type
template<typename Arg , typename Scalar >
typedef ExprTrait<ScalExpr_>::scalar_type TiledArray::expressions::ScalExpr< Arg, Scalar >::scalar_type |
Scalar type.
Definition at line 67 of file scal_expr.h.
◆ ScalExpr_
template<typename Arg , typename Scalar >
typedef ScalExpr<Arg, Scalar> TiledArray::expressions::ScalExpr< Arg, Scalar >::ScalExpr_ |
This class type.
Definition at line 60 of file scal_expr.h.
◆ UnaryExpr_
template<typename Arg , typename Scalar >
typedef UnaryExpr<ScalExpr_> TiledArray::expressions::ScalExpr< Arg, Scalar >::UnaryExpr_ |
Unary base class type.
Definition at line 61 of file scal_expr.h.
Constructor & Destructor Documentation
◆ ScalExpr() [1/4]
template<typename Arg , typename Scalar >
|
default |
◆ ScalExpr() [2/4]
template<typename Arg , typename Scalar >
|
default |
◆ ~ScalExpr()
template<typename Arg , typename Scalar >
|
default |
◆ ScalExpr() [3/4]
template<typename Arg , typename Scalar >
|
inline |
Scaled expression constructor.
- Parameters
-
arg The argument expression factor The scalar type
Definition at line 84 of file scal_expr.h.
◆ ScalExpr() [4/4]
template<typename Arg , typename Scalar >
|
inline |
Rescale expression constructor.
- Parameters
-
other The expression to be copied factor The scaling factor applied to the new expression
Definition at line 91 of file scal_expr.h.
Member Function Documentation
◆ factor()
template<typename Arg , typename Scalar >
|
inline |
◆ operator=() [1/2]
template<typename Arg , typename Scalar >
|
delete |
◆ operator=() [2/2]
template<typename Arg , typename Scalar >
|
delete |
The documentation for this class was generated from the following files:
- TiledArray/expressions/scal_engine.h
- TiledArray/expressions/scal_expr.h