KroneckerDeltaTile< _N > Class Template Reference

Documentation

template<unsigned _N = 1>
class KroneckerDeltaTile< _N >

generalized (asymmetric) Kronecker delta

generalized (asymmetric) Kronecker delta is a product of _N ordinary Kronecker deltas Definition: KroneckerDeltaTile(b,k) = (b==k) ? 1 : 0 KroneckerDeltaTile(b0,k0,b1,k1,b2,k2...bN,kN) = KroneckerDeltaTile(b0,k0) KroneckerDeltaTile(b1,k1) ...`KroneckerDeltaTile(bN,kN)

Note
This is a stateful data tile. Meant to be generated by its (stateless) lazy generator, LazyKroneckerDeltaTile.
Template Parameters
_Nthe number of ordinal Kronecker deltas in this product

Definition at line 52 of file kronecker_delta.h.

Public Types

typedef TiledArray::Range range_type
 
typedef int value_type
 
typedef value_type numeric_type
 
typedef size_t size_type
 

Public Member Functions

 KroneckerDeltaTile ()
 default constructor makes an empty tile More...
 
 KroneckerDeltaTile (const range_type &range)
 Productive ctor 1. More...
 
 KroneckerDeltaTile (const KroneckerDeltaTile &)=default
 copy constructor (= deep copy) More...
 
KroneckerDeltaTileoperator= (const KroneckerDeltaTile &other)=default
 assignment More...
 
KroneckerDeltaTile clone () const
 clone = copy More...
 
range_type range () const
 
bool empty () const
 
template<typename Archive >
void serialize (Archive &ar)
 MADNESS compliant serialization. More...
 

Static Public Attributes

static constexpr unsigned N = _N
 

Member Typedef Documentation

◆ numeric_type

template<unsigned _N = 1>
typedef value_type KroneckerDeltaTile< _N >::numeric_type

Definition at line 60 of file kronecker_delta.h.

◆ range_type

template<unsigned _N = 1>
typedef TiledArray::Range KroneckerDeltaTile< _N >::range_type

Definition at line 57 of file kronecker_delta.h.

◆ size_type

template<unsigned _N = 1>
typedef size_t KroneckerDeltaTile< _N >::size_type

Definition at line 61 of file kronecker_delta.h.

◆ value_type

template<unsigned _N = 1>
typedef int KroneckerDeltaTile< _N >::value_type

Definition at line 58 of file kronecker_delta.h.

Constructor & Destructor Documentation

◆ KroneckerDeltaTile() [1/3]

template<unsigned _N = 1>
KroneckerDeltaTile< _N >::KroneckerDeltaTile ( )
inline

default constructor makes an empty tile

Definition at line 69 of file kronecker_delta.h.

◆ KroneckerDeltaTile() [2/3]

template<unsigned _N = 1>
KroneckerDeltaTile< _N >::KroneckerDeltaTile ( const range_type range)
inline

Productive ctor 1.

Definition at line 72 of file kronecker_delta.h.

◆ KroneckerDeltaTile() [3/3]

template<unsigned _N = 1>
KroneckerDeltaTile< _N >::KroneckerDeltaTile ( const KroneckerDeltaTile< _N > &  )
default

copy constructor (= deep copy)

Member Function Documentation

◆ clone()

template<unsigned _N = 1>
KroneckerDeltaTile KroneckerDeltaTile< _N >::clone ( ) const
inline

clone = copy

Definition at line 82 of file kronecker_delta.h.

◆ empty()

template<unsigned _N = 1>
bool KroneckerDeltaTile< _N >::empty ( ) const
inline

Definition at line 89 of file kronecker_delta.h.

Here is the caller graph for this function:

◆ operator=()

template<unsigned _N = 1>
KroneckerDeltaTile& KroneckerDeltaTile< _N >::operator= ( const KroneckerDeltaTile< _N > &  other)
default

assignment

◆ range()

template<unsigned _N = 1>
range_type KroneckerDeltaTile< _N >::range ( ) const
inline

Definition at line 87 of file kronecker_delta.h.

Here is the caller graph for this function:

◆ serialize()

template<unsigned _N = 1>
template<typename Archive >
void KroneckerDeltaTile< _N >::serialize ( Archive &  ar)
inline

MADNESS compliant serialization.

Definition at line 93 of file kronecker_delta.h.

Member Data Documentation

◆ N

template<unsigned _N = 1>
constexpr unsigned KroneckerDeltaTile< _N >::N = _N
staticconstexpr

Definition at line 55 of file kronecker_delta.h.


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