TiledArray  0.7.0
TiledArray::expressions::UnaryExpr< Derived > Class Template Reference

#include <unary_engine.h>

Inheritance diagram for TiledArray::expressions::UnaryExpr< Derived >:
Collaboration diagram for TiledArray::expressions::UnaryExpr< Derived >:

Public Types

typedef UnaryExpr< Derived > UnaryExpr_
 
typedef ExprTrait< Derived >::argument_type argument_type
 The expression type. More...
 
- Public Types inherited from TiledArray::expressions::Expr< Derived >
template<typename Derived_ = Derived>
using engine_t = typename ExprTrait< Derived_ >::engine_type
 
template<typename Derived_ = Derived>
using eval_type_t = typename engine_t< Derived_ >::eval_type
 
typedef Expr< Derived > Expr_
 This class type. More...
 
typedef Derived derived_type
 The derived object type. More...
 
typedef engine_t< derived_typeengine_type
 Expression engine type. More...
 

Public Member Functions

 UnaryExpr (const UnaryExpr_ &)=default
 
 UnaryExpr (UnaryExpr_ &&)=default
 
 ~UnaryExpr ()=default
 
UnaryExpr_operator= (const UnaryExpr_ &)=delete
 
UnaryExpr_operator= (UnaryExpr_ &&)=delete
 
 UnaryExpr (const argument_type &arg)
 Constructor. More...
 
const argument_typearg () const
 Argument expression accessor. More...
 
- Public Member Functions inherited from TiledArray::expressions::Expr< Derived >
Expr< Derived > & set_shape (typename override_type::shape_type const &shape)
 
Expr< Derived > & set_world (World &world)
 
Expr< Derived > & 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...
 
template<typename A , bool Alias>
void eval_to (TsrExpr< A, Alias > &tsr) const
 Evaluate this object and assign it to tsr. More...
 
template<typename A , bool Alias>
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...
 
template<typename Op >
Future< typename Op::result_type > reduce (const Op &op, World &world) const
 
template<typename Op >
Future< typename Op::result_type > reduce (const Op &op) const
 
template<typename D , typename Op >
Future< typename Op::result_type > reduce (const Expr< D > &right_expr, const Op &op, World &world) const
 
template<typename D , typename Op >
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
 
template<typename Derived_ = Derived>
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
 
template<typename Derived_ = Derived>
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
 
template<typename Derived_ = Derived>
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
 
template<typename Derived_ = Derived>
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
 
template<typename D >
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
 
template<typename D >
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
 
template<typename D >
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
 
template<typename D >
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 Derived>
class TiledArray::expressions::UnaryExpr< Derived >

Definition at line 37 of file unary_engine.h.

Member Typedef Documentation

◆ argument_type

template<typename Derived>
typedef ExprTrait<Derived>::argument_type TiledArray::expressions::UnaryExpr< Derived >::argument_type

The expression type.

Definition at line 39 of file unary_expr.h.

◆ UnaryExpr_

template<typename Derived>
typedef UnaryExpr<Derived> TiledArray::expressions::UnaryExpr< Derived >::UnaryExpr_

Definition at line 38 of file unary_expr.h.

Constructor & Destructor Documentation

◆ UnaryExpr() [1/3]

template<typename Derived>
TiledArray::expressions::UnaryExpr< Derived >::UnaryExpr ( const UnaryExpr_ )
default

◆ UnaryExpr() [2/3]

template<typename Derived>
TiledArray::expressions::UnaryExpr< Derived >::UnaryExpr ( UnaryExpr_ &&  )
default

◆ ~UnaryExpr()

template<typename Derived>
TiledArray::expressions::UnaryExpr< Derived >::~UnaryExpr ( )
default

◆ UnaryExpr() [3/3]

template<typename Derived>
TiledArray::expressions::UnaryExpr< Derived >::UnaryExpr ( const argument_type arg)
inline

Constructor.

Parameters
argThe argument expression

Definition at line 57 of file unary_expr.h.

Member Function Documentation

◆ arg()

template<typename Derived>
const argument_type& TiledArray::expressions::UnaryExpr< Derived >::arg ( ) const
inline

Argument expression accessor.

Returns
A const reference to the argument expression object

Definition at line 63 of file unary_expr.h.

◆ operator=() [1/2]

template<typename Derived>
UnaryExpr_& TiledArray::expressions::UnaryExpr< Derived >::operator= ( const UnaryExpr_ )
delete

◆ operator=() [2/2]

template<typename Derived>
UnaryExpr_& TiledArray::expressions::UnaryExpr< Derived >::operator= ( UnaryExpr_ &&  )
delete

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