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
-
_N the 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... | |
KroneckerDeltaTile & | operator= (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
typedef value_type KroneckerDeltaTile< _N >::numeric_type |
Definition at line 60 of file kronecker_delta.h.
◆ range_type
typedef TiledArray::Range KroneckerDeltaTile< _N >::range_type |
Definition at line 57 of file kronecker_delta.h.
◆ size_type
typedef size_t KroneckerDeltaTile< _N >::size_type |
Definition at line 61 of file kronecker_delta.h.
◆ value_type
typedef int KroneckerDeltaTile< _N >::value_type |
Definition at line 58 of file kronecker_delta.h.
Constructor & Destructor Documentation
◆ KroneckerDeltaTile() [1/3]
|
inline |
default constructor makes an empty tile
Definition at line 69 of file kronecker_delta.h.
◆ KroneckerDeltaTile() [2/3]
|
inline |
Productive ctor 1.
Definition at line 72 of file kronecker_delta.h.
◆ KroneckerDeltaTile() [3/3]
|
default |
copy constructor (= deep copy)
Member Function Documentation
◆ clone()
|
inline |
clone = copy
Definition at line 82 of file kronecker_delta.h.
◆ empty()
|
inline |
◆ operator=()
|
default |
assignment
◆ range()
|
inline |
◆ serialize()
|
inline |
MADNESS compliant serialization.
Definition at line 93 of file kronecker_delta.h.
Member Data Documentation
◆ N
|
staticconstexpr |
Definition at line 55 of file kronecker_delta.h.
The documentation for this class was generated from the following file:
- TiledArray/special/kronecker_delta.h