scal_tsr_expr.h File Reference
Include dependency graph for scal_tsr_expr.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  TiledArray::expressions::ExprTrait< ScalTsrExpr< Array, Scalar > >
 
class  TiledArray::expressions::ScalTsrExpr< Array, Scalar >
 Expression wrapper for scaled array objects. More...
 

Namespaces

 TiledArray
 
 TiledArray::expressions
 

Typedefs

template<typename Array >
using TiledArray::expressions::ConjTsrExpr = ScalTsrExpr< Array, TiledArray::detail::ComplexConjugate< void > >
 
template<typename Array , typename Scalar >
using TiledArray::expressions::ScalConjTsrExpr = ScalTsrExpr< Array, TiledArray::detail::ComplexConjugate< Scalar > >
 

Functions

template<typename Array , typename Scalar , typename std::enable_if< TiledArray::detail::is_numeric_v< Scalar > >::type * = nullptr>
ScalTsrExpr< typename std::remove_const< Array >::type, Scalar > TiledArray::expressions::operator* (const TsrExpr< Array, true > &expr, const Scalar &factor)
 Scaled-tensor expression factor. More...
 
template<typename Array , typename Scalar , typename std::enable_if< TiledArray::detail::is_numeric_v< Scalar > >::type * = nullptr>
ScalTsrExpr< typename std::remove_const< Array >::type, Scalar > TiledArray::expressions::operator* (const Scalar &factor, const TsrExpr< Array, true > &expr)
 Scaled-tensor expression factor. More...
 
template<typename Array , typename Scalar1 , typename Scalar2 , typename std::enable_if< TiledArray::detail::is_numeric_v< Scalar2 > >::type * = nullptr>
ScalTsrExpr< Array, mult_t< Scalar1, Scalar2 > > TiledArray::expressions::operator* (const ScalTsrExpr< Array, Scalar1 > &expr, const Scalar2 &factor)
 Scaled-tensor expression factor. More...
 
template<typename Array , typename Scalar1 , typename Scalar2 , typename std::enable_if< TiledArray::detail::is_numeric_v< Scalar1 > >::type * = nullptr>
ScalTsrExpr< Array, mult_t< Scalar2, Scalar1 > > TiledArray::expressions::operator* (const Scalar1 &factor, const ScalTsrExpr< Array, Scalar2 > &expr)
 Scaled-tensor expression factor. More...
 
template<typename Array >
ScalTsrExpr< typename std::remove_const< Array >::type, typename ExprTrait< TsrExpr< Array, true > >::numeric_type > TiledArray::expressions::operator- (const TsrExpr< Array, true > &expr)
 Negated-tensor expression factor. More...
 
template<typename Array , typename Scalar >
ScalTsrExpr< Array, Scalar > TiledArray::expressions::operator- (const ScalTsrExpr< Array, Scalar > &expr)
 Negated-tensor expression factor. More...
 
template<typename Array >
ConjTsrExpr< typename std::remove_const< Array >::type > TiledArray::expressions::conj (const TsrExpr< Array, true > &expr)
 Conjugated tensor expression factory. More...
 
template<typename Array >
TsrExpr< const Array, true > TiledArray::expressions::conj (const ConjTsrExpr< Array > &expr)
 Conjugate-conjugate tensor expression factory. More...
 
template<typename Array , typename Scalar >
ScalConjTsrExpr< Array, Scalar > TiledArray::expressions::conj (const ScalTsrExpr< Array, Scalar > &expr)
 Conjugated-tensor expression factor. More...
 
template<typename Array , typename Scalar >
ScalTsrExpr< Array, Scalar > TiledArray::expressions::conj (const ScalConjTsrExpr< Array, Scalar > &expr)
 Conjugate-conjugate tensor expression factory. More...
 
template<typename Array , typename Scalar , typename std::enable_if< TiledArray::detail::is_numeric_v< Scalar > >::type * = nullptr>
ScalConjTsrExpr< Array, Scalar > TiledArray::expressions::operator* (const ConjTsrExpr< const Array > &expr, const Scalar &factor)
 Scaled-tensor expression factor. More...
 
template<typename Array , typename Scalar , typename std::enable_if< TiledArray::detail::is_numeric_v< Scalar > >::type * = nullptr>
ScalConjTsrExpr< Array, Scalar > TiledArray::expressions::operator* (const Scalar &factor, const ConjTsrExpr< Array > &expr)
 Scaled-tensor expression factor. More...
 
template<typename Array , typename Scalar1 , typename Scalar2 , typename std::enable_if< TiledArray::detail::is_numeric_v< Scalar2 > >::type * = nullptr>
ScalConjTsrExpr< Array, mult_t< Scalar1, Scalar2 > > TiledArray::expressions::operator* (const ScalConjTsrExpr< Array, Scalar1 > &expr, const Scalar2 &factor)
 Scaled-tensor expression factor. More...
 
template<typename Array , typename Scalar1 , typename Scalar2 , typename std::enable_if< TiledArray::detail::is_numeric_v< Scalar1 > >::type * = nullptr>
ScalConjTsrExpr< Array, mult_t< Scalar2, Scalar1 > > TiledArray::expressions::operator* (const Scalar1 &factor, const ScalConjTsrExpr< Array, Scalar2 > &expr)
 Scaled-tensor expression factor. More...
 
template<typename Array >
ScalConjTsrExpr< Array, typename ExprTrait< ConjTsrExpr< Array > >::numeric_type > TiledArray::expressions::operator- (const ConjTsrExpr< Array > &expr)
 Negated-conjugated-tensor expression factor. More...
 
template<typename Array , typename Scalar >
ScalConjTsrExpr< Array, Scalar > TiledArray::expressions::operator- (const ScalConjTsrExpr< Array, Scalar > &expr)
 Negated-conjugated-tensor expression factor. More...