TiledArray::expressions Namespace Reference

Classes

class  AddExpr
 
class  ExprVector
 
struct  is_tsr_expression
 
struct  is_tsr_expression< TsrExpr< Array, Alias > >
 
class  MultExpr
 
class  SubtExpr
 

Typedefs

template<typename E >
using enable_if_expression = std::void_t< typename ExprTrait< E >::engine_type >
 

Functions

template<typename E >
auto operator* (const double &factor, const ExprVector< E > &expr)
 
template<typename E , typename = enable_if_expression<E>>
const Expr< E > & to_base_expr (const ExprVector< E > &e)
 

Variables

template<typename E >
constexpr const bool is_tsr_expression_v = is_tsr_expression<E>::value
 

Typedef Documentation

◆ enable_if_expression

template<typename E >
using TiledArray::expressions::enable_if_expression = typedef std::void_t<typename ExprTrait<E>::engine_type>

Function Documentation

◆ operator*()

template<typename E >
auto TiledArray::expressions::operator* ( const double &  factor,
const ExprVector< E > &  expr 
)

◆ to_base_expr()

template<typename E , typename = enable_if_expression<E>>
const Expr<E>& TiledArray::expressions::to_base_expr ( const ExprVector< E > &  e)

Variable Documentation

◆ is_tsr_expression_v

template<typename E >
constexpr const bool TiledArray::expressions::is_tsr_expression_v = is_tsr_expression<E>::value
constexpr