TiledArray  0.7.0
TiledArray::expressions::SubtExpr< Left, Right > Class Template Reference

Subtraction expression. More...

#include <subt_engine.h>

Inheritance diagram for TiledArray::expressions::SubtExpr< Left, Right >:
Collaboration diagram for TiledArray::expressions::SubtExpr< Left, Right >:

Public Types

typedef SubtExpr< Left, Right > SubtExpr_
 
typedef BinaryExpr< SubtExpr_BinaryExpr_
 Binary base class type. More...
 
typedef ExprTrait< SubtExpr_ >::left_type left_type
 The left-hand expression type. More...
 
typedef ExprTrait< SubtExpr_ >::right_type right_type
 The right-hand expression type. More...
 
typedef ExprTrait< SubtExpr_ >::engine_type engine_type
 Expression engine type. More...
 
- Public Types inherited from TiledArray::expressions::BinaryExpr< SubtExpr< Left, Right > >
typedef BinaryExpr< SubtExpr< Left, Right > > BinaryExpr_
 This class type. More...
 
typedef ExprTrait< SubtExpr< Left, Right > >::left_type left_type
 The left-hand expression type. More...
 
typedef ExprTrait< SubtExpr< Left, Right > >::right_type right_type
 The right-hand expression type. More...
 
- Public Types inherited from TiledArray::expressions::Expr< SubtExpr< Left, Right > >
using engine_t = typename ExprTrait< Derived_ >::engine_type
 
using eval_type_t = typename engine_t< Derived_ >::eval_type
 
typedef Expr< SubtExpr< Left, Right > > Expr_
 This class type. More...
 
typedef SubtExpr< Left, Right > derived_type
 The derived object type. More...
 
typedef engine_t< derived_typeengine_type
 Expression engine type. More...
 

Public Member Functions

 SubtExpr (const SubtExpr_ &)=default
 
 SubtExpr (SubtExpr_ &&)=default
 
 ~SubtExpr ()=default
 
SubtExpr_operator= (const SubtExpr_ &)=delete
 
SubtExpr_operator= (SubtExpr_ &&)=delete
 
 SubtExpr (const left_type &left, const right_type &right)
 Expression constructor. More...
 
- Public Member Functions inherited from TiledArray::expressions::BinaryExpr< SubtExpr< Left, Right > >
 BinaryExpr (const BinaryExpr_ &)=default
 
 BinaryExpr (BinaryExpr_ &&)=default
 
 BinaryExpr (const left_type &left, const right_type &right)
 Binary expression constructor. More...
 
 ~BinaryExpr ()=default
 
BinaryExpr_operator= (const BinaryExpr_ &)=delete
 
BinaryExpr_operator= (BinaryExpr_ &&)=delete
 
const left_typeleft () const
 Left-hand expression argument accessor. More...
 
const right_typeright () const
 Right-hand expression argument accessor. More...
 
- Public Member Functions inherited from TiledArray::expressions::Expr< SubtExpr< Left, Right > >
Expr< SubtExpr< Left, Right > > & set_shape (typename override_type::shape_type const &shape)
 
Expr< SubtExpr< Left, Right > > & set_world (World &world)
 
Expr< SubtExpr< Left, Right > > & set_pmap (const std::shared_ptr< typename override_type::pmap_interface > pmap)
 
 Expr ()=default
 
 Expr (const Expr_ &)=default
 
 Expr (Expr_ &&)=default
 
 ~Expr ()=default
 
Expr_operator= (const Expr_ &)=delete
 
Expr_operator= (Expr_ &&)=delete
 
derived_typederived ()
 Cast this object to it's derived type. More...
 
const derived_typederived () const
 Cast this object to it's derived type. More...
 
void eval_to (TsrExpr< A, Alias > &tsr) const
 Evaluate this object and assign it to tsr. More...
 
void eval_to (BlkTsrExpr< A, Alias > &tsr) const
 Evaluate this object and assign it to tsr. More...
 
void print (ExprOStream &os, const VariableList &target_vars) const
 Expression print. More...
 
Future< typename Op::result_type > reduce (const Op &op, World &world) const
 
Future< typename Op::result_type > reduce (const Op &op) const
 
Future< typename Op::result_type > reduce (const Expr< D > &right_expr, const Op &op, World &world) const
 
Future< typename Op::result_type > reduce (const Expr< D > &right_expr, const Op &op) const
 
Future< typename TiledArray::TraceReduction< typename EngineTrait< engine_type >::eval_type >::result_type > trace (World &world) const
 
Future< typename TiledArray::TraceReduction< typename EngineTrait< engine_type >::eval_type >::result_type > trace () const
 
Future< typename TiledArray::SumReduction< typename EngineTrait< engine_type >::eval_type >::result_type > sum (World &world) const
 
Future< typename TiledArray::SumReduction< typename EngineTrait< engine_type >::eval_type >::result_type > sum () const
 
Future< typename TiledArray::ProductReduction< typename EngineTrait< engine_type >::eval_type >::result_type > product (World &world) const
 
Future< typename TiledArray::ProductReduction< typename EngineTrait< engine_type >::eval_type >::result_type > product () const
 
Future< typename TiledArray::SquaredNormReduction< typename EngineTrait< engine_type >::eval_type >::result_type > squared_norm (World &world) const
 
Future< typename TiledArray::SquaredNormReduction< typename EngineTrait< engine_type >::eval_type >::result_type > squared_norm () const
 
Future< typename TiledArray::SquaredNormReduction< typename EngineTrait< engine_type >::eval_type >::result_type > norm (World &world) const
 
Future< typename TiledArray::SquaredNormReduction< typename EngineTrait< engine_type >::eval_type >::result_type > norm () const
 
std::enable_if< TiledArray::detail::is_strictly_ordered< TiledArray::detail::numeric_t< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type > >::value, Future< typename TiledArray::MinReduction< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type >::result_type > > min (World &world) const
 
std::enable_if< TiledArray::detail::is_strictly_ordered< TiledArray::detail::numeric_t< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type > >::value, Future< typename TiledArray::MinReduction< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type >::result_type > > min () const
 
std::enable_if< TiledArray::detail::is_strictly_ordered< TiledArray::detail::numeric_t< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type > >::value, Future< typename TiledArray::MaxReduction< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type >::result_type > > max (World &world) const
 
std::enable_if< TiledArray::detail::is_strictly_ordered< TiledArray::detail::numeric_t< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type > >::value, Future< typename TiledArray::MaxReduction< typename EngineTrait< typename ExprTrait< Derived_ >::engine_type >::eval_type >::result_type > > max () const
 
Future< typename TiledArray::AbsMinReduction< typename EngineTrait< engine_type >::eval_type >::result_type > abs_min (World &world) const
 
Future< typename TiledArray::AbsMinReduction< typename EngineTrait< engine_type >::eval_type >::result_type > abs_min () const
 
Future< typename TiledArray::AbsMaxReduction< typename EngineTrait< engine_type >::eval_type >::result_type > abs_max (World &world) const
 
Future< typename TiledArray::AbsMaxReduction< typename EngineTrait< engine_type >::eval_type >::result_type > abs_max () const
 
Future< typename TiledArray::DotReduction< typename EngineTrait< engine_type >::eval_type, typename EngineTrait< typename D::engine_type >::eval_type >::result_type > dot (const Expr< D > &right_expr, World &world) const
 
Future< typename TiledArray::DotReduction< typename EngineTrait< engine_type >::eval_type, typename EngineTrait< typename D::engine_type >::eval_type >::result_type > dot (const Expr< D > &right_expr) const
 
Future< typename TiledArray::InnerProductReduction< typename EngineTrait< engine_type >::eval_type, typename EngineTrait< typename D::engine_type >::eval_type >::result_type > inner_product (const Expr< D > &right_expr, World &world) const
 
Future< typename TiledArray::InnerProductReduction< typename EngineTrait< engine_type >::eval_type, typename EngineTrait< typename D::engine_type >::eval_type >::result_type > inner_product (const Expr< D > &right_expr) const
 

Detailed Description

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

Subtraction expression.

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

Definition at line 37 of file subt_engine.h.

Member Typedef Documentation

◆ BinaryExpr_

template<typename Left, typename Right>
typedef BinaryExpr<SubtExpr_> TiledArray::expressions::SubtExpr< Left, Right >::BinaryExpr_

Binary base class type.

Definition at line 91 of file subt_expr.h.

◆ engine_type

template<typename Left, typename Right>
typedef ExprTrait<SubtExpr_>::engine_type TiledArray::expressions::SubtExpr< Left, Right >::engine_type

Expression engine type.

Definition at line 97 of file subt_expr.h.

◆ left_type

template<typename Left, typename Right>
typedef ExprTrait<SubtExpr_>::left_type TiledArray::expressions::SubtExpr< Left, Right >::left_type

The left-hand expression type.

Definition at line 93 of file subt_expr.h.

◆ right_type

template<typename Left, typename Right>
typedef ExprTrait<SubtExpr_>::right_type TiledArray::expressions::SubtExpr< Left, Right >::right_type

The right-hand expression type.

Definition at line 95 of file subt_expr.h.

◆ SubtExpr_

template<typename Left, typename Right>
typedef SubtExpr<Left, Right> TiledArray::expressions::SubtExpr< Left, Right >::SubtExpr_

Definition at line 90 of file subt_expr.h.

Constructor & Destructor Documentation

◆ SubtExpr() [1/3]

template<typename Left, typename Right>
TiledArray::expressions::SubtExpr< Left, Right >::SubtExpr ( const SubtExpr_ )
default

◆ SubtExpr() [2/3]

template<typename Left, typename Right>
TiledArray::expressions::SubtExpr< Left, Right >::SubtExpr ( SubtExpr_ &&  )
default

◆ ~SubtExpr()

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

◆ SubtExpr() [3/3]

template<typename Left, typename Right>
TiledArray::expressions::SubtExpr< Left, Right >::SubtExpr ( 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 subt_expr.h.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

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