TiledArray::expressions::MultExpr< Left, Right > Class Template Reference

Documentation

template<typename Left, typename Right>
class TiledArray::expressions::MultExpr< Left, Right >

Multiplication expression.

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

Definition at line 88 of file mult_expr.h.

Public Types

typedef MultExpr< Left, Right > MultExpr_
 This class type. More...
 
typedef BinaryExpr< MultExpr_BinaryExpr_
 Binary expression base type. More...
 
typedef ExprTrait< MultExpr_ >::left_type left_type
 The left-hand expression type. More...
 
typedef ExprTrait< MultExpr_ >::right_type right_type
 The right-hand expression type. More...
 
typedef ExprTrait< MultExpr_ >::engine_type engine_type
 Expression engine type. More...
 

Public Member Functions

 MultExpr (const MultExpr_ &)=default
 
 MultExpr (MultExpr_ &&)=default
 
 ~MultExpr ()=default
 
MultExpr_operator= (const MultExpr_ &)=delete
 
MultExpr_operator= (MultExpr_ &&)=delete
 
 MultExpr (const left_type &left, const right_type &right)
 Expression constructor. More...
 
template<typename Numeric , typename std::enable_if< TiledArray::detail::is_numeric_v< Numeric > >::type * = nullptr>
 operator Numeric () const
 Dot product. More...
 
template<typename Numeric , typename std::enable_if< TiledArray::detail::is_numeric_v< Numeric > >::type * = nullptr>
 operator Future< Numeric > () const
 Dot product. More...
 

Member Typedef Documentation

◆ BinaryExpr_

template<typename Left , typename Right >
typedef BinaryExpr<MultExpr_> TiledArray::expressions::MultExpr< Left, Right >::BinaryExpr_

Binary expression base type.

Definition at line 91 of file mult_expr.h.

◆ engine_type

template<typename Left , typename Right >
typedef ExprTrait<MultExpr_>::engine_type TiledArray::expressions::MultExpr< Left, Right >::engine_type

Expression engine type.

Definition at line 97 of file mult_expr.h.

◆ left_type

template<typename Left , typename Right >
typedef ExprTrait<MultExpr_>::left_type TiledArray::expressions::MultExpr< Left, Right >::left_type

The left-hand expression type.

Definition at line 93 of file mult_expr.h.

◆ MultExpr_

template<typename Left , typename Right >
typedef MultExpr<Left, Right> TiledArray::expressions::MultExpr< Left, Right >::MultExpr_

This class type.

Definition at line 90 of file mult_expr.h.

◆ right_type

template<typename Left , typename Right >
typedef ExprTrait<MultExpr_>::right_type TiledArray::expressions::MultExpr< Left, Right >::right_type

The right-hand expression type.

Definition at line 95 of file mult_expr.h.

Constructor & Destructor Documentation

◆ MultExpr() [1/3]

template<typename Left , typename Right >
TiledArray::expressions::MultExpr< Left, Right >::MultExpr ( const MultExpr_ )
default

◆ MultExpr() [2/3]

template<typename Left , typename Right >
TiledArray::expressions::MultExpr< Left, Right >::MultExpr ( MultExpr_ &&  )
default

◆ ~MultExpr()

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

◆ MultExpr() [3/3]

template<typename Left , typename Right >
TiledArray::expressions::MultExpr< Left, Right >::MultExpr ( const left_type left,
const right_type right 
)
inline

Expression constructor.

Parameters
leftThe left-hand expression
rightThe right-hand expression

Definition at line 110 of file mult_expr.h.

Member Function Documentation

◆ operator Future< Numeric >()

template<typename Left , typename Right >
template<typename Numeric , typename std::enable_if< TiledArray::detail::is_numeric_v< Numeric > >::type * = nullptr>
TiledArray::expressions::MultExpr< Left, Right >::operator Future< Numeric > ( ) const
inlineexplicit

Dot product.

Template Parameters
NumericA numeric type
Returns
The dot product of this expression.

Definition at line 132 of file mult_expr.h.

Here is the call graph for this function:

◆ operator Numeric()

template<typename Left , typename Right >
template<typename Numeric , typename std::enable_if< TiledArray::detail::is_numeric_v< Numeric > >::type * = nullptr>
TiledArray::expressions::MultExpr< Left, Right >::operator Numeric ( ) const
inlineexplicit

Dot product.

Template Parameters
NumericA numeric type
Returns
The dot product of this expression.

Definition at line 120 of file mult_expr.h.

Here is the call graph for this function:

◆ operator=() [1/2]

template<typename Left , typename Right >
MultExpr_& TiledArray::expressions::MultExpr< Left, Right >::operator= ( const MultExpr_ )
delete

◆ operator=() [2/2]

template<typename Left , typename Right >
MultExpr_& TiledArray::expressions::MultExpr< Left, Right >::operator= ( MultExpr_ &&  )
delete

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