TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar > Class Template Reference

Documentation

template<typename Array, typename Scalar>
class TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >

Block expression.

Template Parameters
ArrayThe array type
ScalarThe scaling factor type

Definition at line 509 of file blk_tsr_expr.h.

Public Types

typedef ScalBlkTsrExpr< Array, Scalar > ScalBlkTsrExpr_
 This class type. More...
 
typedef BlkTsrExprBase< ScalBlkTsrExpr_BlkTsrExprBase_
 Block expresion base type. More...
 
typedef ExprTrait< ScalBlkTsrExpr_ >::engine_type engine_type
 Expression engine type. More...
 
typedef ExprTrait< ScalBlkTsrExpr_ >::array_type array_type
 The array type. More...
 
typedef ExprTrait< ScalBlkTsrExpr_ >::reference reference
 The array reference type. More...
 
typedef ExprTrait< ScalBlkTsrExpr_ >::scalar_type scalar_type
 Scalar type. More...
 

Public Member Functions

 ScalBlkTsrExpr ()=delete
 
 ScalBlkTsrExpr (const ScalBlkTsrExpr_ &)=default
 
 ScalBlkTsrExpr (ScalBlkTsrExpr_ &&)=default
 
 ~ScalBlkTsrExpr ()=default
 
ScalBlkTsrExpr_operator= (const ScalBlkTsrExpr_ &)=delete
 
ScalBlkTsrExpr_operator= (ScalBlkTsrExpr_ &&)=delete
 
template<typename Index1 , typename Index2 , typename = std::enable_if_t< TiledArray::detail::is_integral_range_v<Index1> && TiledArray::detail::is_integral_range_v<Index2>>>
 ScalBlkTsrExpr (reference array, const std::string &annotation, const scalar_type factor, const Index1 &lower_bound, const Index2 &upper_bound)
 Block expression constructor. More...
 
template<typename PairRange , typename = std::enable_if_t< TiledArray::detail::is_gpair_range_v<PairRange>>>
 ScalBlkTsrExpr (reference array, const std::string &annotation, const scalar_type factor, const PairRange &bounds)
 Block expression constructor. More...
 
scalar_type factor () const
 Scaling factor accessor. More...
 

Member Typedef Documentation

◆ array_type

template<typename Array , typename Scalar >
typedef ExprTrait<ScalBlkTsrExpr_>::array_type TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::array_type

The array type.

Definition at line 516 of file blk_tsr_expr.h.

◆ BlkTsrExprBase_

template<typename Array , typename Scalar >
typedef BlkTsrExprBase<ScalBlkTsrExpr_> TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::BlkTsrExprBase_

Block expresion base type.

Definition at line 512 of file blk_tsr_expr.h.

◆ engine_type

template<typename Array , typename Scalar >
typedef ExprTrait<ScalBlkTsrExpr_>::engine_type TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::engine_type

Expression engine type.

Definition at line 514 of file blk_tsr_expr.h.

◆ reference

template<typename Array , typename Scalar >
typedef ExprTrait<ScalBlkTsrExpr_>::reference TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::reference

The array reference type.

Definition at line 518 of file blk_tsr_expr.h.

◆ scalar_type

template<typename Array , typename Scalar >
typedef ExprTrait<ScalBlkTsrExpr_>::scalar_type TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::scalar_type

Scalar type.

Definition at line 520 of file blk_tsr_expr.h.

◆ ScalBlkTsrExpr_

template<typename Array , typename Scalar >
typedef ScalBlkTsrExpr<Array, Scalar> TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::ScalBlkTsrExpr_

This class type.

Definition at line 511 of file blk_tsr_expr.h.

Constructor & Destructor Documentation

◆ ScalBlkTsrExpr() [1/5]

template<typename Array , typename Scalar >
TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::ScalBlkTsrExpr ( )
delete

◆ ScalBlkTsrExpr() [2/5]

template<typename Array , typename Scalar >
TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::ScalBlkTsrExpr ( const ScalBlkTsrExpr_ )
default

◆ ScalBlkTsrExpr() [3/5]

template<typename Array , typename Scalar >
TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::ScalBlkTsrExpr ( ScalBlkTsrExpr_ &&  )
default

◆ ~ScalBlkTsrExpr()

template<typename Array , typename Scalar >
TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::~ScalBlkTsrExpr ( )
default

◆ ScalBlkTsrExpr() [4/5]

template<typename Array , typename Scalar >
template<typename Index1 , typename Index2 , typename = std::enable_if_t< TiledArray::detail::is_integral_range_v<Index1> && TiledArray::detail::is_integral_range_v<Index2>>>
TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::ScalBlkTsrExpr ( reference  array,
const std::string &  annotation,
const scalar_type  factor,
const Index1 &  lower_bound,
const Index2 &  upper_bound 
)
inline

Block expression constructor.

Template Parameters
Index1An integral range type
Index2An integral range type
Parameters
arrayThe array object
annotationThe array annotation
factorThe scaling factor
lower_boundThe lower bound of the tile block
upper_boundThe upper bound of the tile block

Definition at line 548 of file blk_tsr_expr.h.

◆ ScalBlkTsrExpr() [5/5]

template<typename Array , typename Scalar >
template<typename PairRange , typename = std::enable_if_t< TiledArray::detail::is_gpair_range_v<PairRange>>>
TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::ScalBlkTsrExpr ( reference  array,
const std::string &  annotation,
const scalar_type  factor,
const PairRange &  bounds 
)
inline

Block expression constructor.

Template Parameters
PairRangeType representing a range of generalized pairs (see TiledArray::detail::is_gpair_v ) bounds The {lower,upper} bounds of the sub-block

Definition at line 565 of file blk_tsr_expr.h.

Member Function Documentation

◆ factor()

template<typename Array , typename Scalar >
scalar_type TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::factor ( ) const
inline

Scaling factor accessor.

Returns
The scaling factor

Definition at line 572 of file blk_tsr_expr.h.

Here is the caller graph for this function:

◆ operator=() [1/2]

template<typename Array , typename Scalar >
ScalBlkTsrExpr_& TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::operator= ( const ScalBlkTsrExpr_ )
delete

◆ operator=() [2/2]

template<typename Array , typename Scalar >
ScalBlkTsrExpr_& TiledArray::expressions::ScalBlkTsrExpr< Array, Scalar >::operator= ( ScalBlkTsrExpr_ &&  )
delete

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