TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar > Class Template Reference

Documentation

template<typename Left, typename Right, typename Scalar>
class TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >

Subtraction expression.

Template Parameters
LeftThe left-hand expression type
RightThe right-hand expression type

Definition at line 120 of file subt_expr.h.

Public Types

typedef ScalSubtExpr< Left, Right, Scalar > ScalSubtExpr_
 This class type. More...
 
typedef BinaryExpr< ScalSubtExpr_BinaryExpr_
 Binary base class type. More...
 
typedef ExprTrait< ScalSubtExpr_ >::left_type left_type
 The left-hand expression type. More...
 
typedef ExprTrait< ScalSubtExpr_ >::right_type right_type
 The right-hand expression type. More...
 
typedef ExprTrait< ScalSubtExpr_ >::engine_type engine_type
 Expression engine type. More...
 
typedef ExprTrait< ScalSubtExpr_ >::scalar_type scalar_type
 Scalar type. More...
 

Public Member Functions

 ScalSubtExpr (const ScalSubtExpr_ &)=default
 
 ScalSubtExpr (ScalSubtExpr_ &&)=default
 
 ~ScalSubtExpr ()=default
 
ScalSubtExpr_operator= (const ScalSubtExpr_ &)=delete
 
ScalSubtExpr_operator= (ScalSubtExpr_ &&)=delete
 
 ScalSubtExpr (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<ScalSubtExpr_> TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::BinaryExpr_

Binary base class type.

Definition at line 123 of file subt_expr.h.

◆ engine_type

template<typename Left , typename Right , typename Scalar >
typedef ExprTrait<ScalSubtExpr_>::engine_type TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::engine_type

Expression engine type.

Definition at line 129 of file subt_expr.h.

◆ left_type

template<typename Left , typename Right , typename Scalar >
typedef ExprTrait<ScalSubtExpr_>::left_type TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::left_type

The left-hand expression type.

Definition at line 125 of file subt_expr.h.

◆ right_type

template<typename Left , typename Right , typename Scalar >
typedef ExprTrait<ScalSubtExpr_>::right_type TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::right_type

The right-hand expression type.

Definition at line 127 of file subt_expr.h.

◆ scalar_type

template<typename Left , typename Right , typename Scalar >
typedef ExprTrait<ScalSubtExpr_>::scalar_type TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::scalar_type

Scalar type.

Definition at line 131 of file subt_expr.h.

◆ ScalSubtExpr_

template<typename Left , typename Right , typename Scalar >
typedef ScalSubtExpr<Left, Right, Scalar> TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::ScalSubtExpr_

This class type.

Definition at line 122 of file subt_expr.h.

Constructor & Destructor Documentation

◆ ScalSubtExpr() [1/3]

template<typename Left , typename Right , typename Scalar >
TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::ScalSubtExpr ( const ScalSubtExpr_ )
default

◆ ScalSubtExpr() [2/3]

template<typename Left , typename Right , typename Scalar >
TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::ScalSubtExpr ( ScalSubtExpr_ &&  )
default

◆ ~ScalSubtExpr()

template<typename Left , typename Right , typename Scalar >
TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::~ScalSubtExpr ( )
default

◆ ScalSubtExpr() [3/3]

template<typename Left , typename Right , typename Scalar >
TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::ScalSubtExpr ( const left_type left,
const right_type right,
const scalar_type  factor 
)
inline

Expression constructor.

Parameters
leftThe left-hand expression
rightThe right-hand expression
factorThe scaling factor

Definition at line 149 of file subt_expr.h.

Member Function Documentation

◆ factor()

template<typename Left , typename Right , typename Scalar >
scalar_type TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::factor ( ) const
inline

Scaling factor accessor.

Returns
The scaling factor

Definition at line 156 of file subt_expr.h.

Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename Left , typename Right , typename Scalar >
ScalSubtExpr_& TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::operator= ( const ScalSubtExpr_ )
delete

◆ operator=() [2/2]

template<typename Left , typename Right , typename Scalar >
ScalSubtExpr_& TiledArray::expressions::ScalSubtExpr< Left, Right, Scalar >::operator= ( ScalSubtExpr_ &&  )
delete

The documentation for this class was generated from the following files: