#include <memory>
#include <tuple>
#include <tiledarray_fwd.h>
#include <TiledArray/external/madness.h>
#include <TiledArray/permutation.h>
#include <TiledArray/tensor.h>
#include <TiledArray/tile.h>
#include <TiledArray/tile_op/tile_interface.h>
#include <TiledArray/policies/dense_policy.h>
#include <TiledArray/policies/sparse_policy.h>
Include dependency graph for kronecker_delta.h:
Classes | |
class | KroneckerDeltaTile< _N > |
generalized (asymmetric) Kronecker delta More... | |
Functions | |
template<unsigned _N> | |
KroneckerDeltaTile< _N >::numeric_type | trace (const KroneckerDeltaTile< _N > &arg) |
template<unsigned _N> | |
KroneckerDeltaTile< _N >::numeric_type | sum (const KroneckerDeltaTile< _N > &arg) |
template<unsigned _N> | |
KroneckerDeltaTile< _N >::numeric_type | product (const KroneckerDeltaTile< _N > &arg) |
template<unsigned _N> | |
KroneckerDeltaTile< _N >::numeric_type | squared_norm (const KroneckerDeltaTile< _N > &arg) |
template<unsigned _N> | |
KroneckerDeltaTile< _N >::numeric_type | min (const KroneckerDeltaTile< _N > &arg) |
template<unsigned _N> | |
KroneckerDeltaTile< _N >::numeric_type | max (const KroneckerDeltaTile< _N > &arg) |
template<unsigned _N> | |
KroneckerDeltaTile< _N >::numeric_type | abs_min (const KroneckerDeltaTile< _N > &arg) |
template<unsigned _N> | |
KroneckerDeltaTile< _N >::numeric_type | abs_max (const KroneckerDeltaTile< _N > &arg) |
template<unsigned N, typename Perm , typename = std::enable_if_t<TiledArray::detail::is_permutation_v<Perm>>> | |
KroneckerDeltaTile< N > | permute (const KroneckerDeltaTile< N > &tile, const Perm &perm) |
template<typename T , unsigned _N> | |
TiledArray::Tensor< T > | mult (const KroneckerDeltaTile< _N > &arg1, const TiledArray::Tensor< T > &arg2) |
template<typename T , unsigned _N, typename Perm , typename = std::enable_if_t<TiledArray::detail::is_permutation_v<Perm>>> | |
TiledArray::Tensor< T > | mult (const KroneckerDeltaTile< _N > &arg1, const TiledArray::Tensor< T > &arg2, const Perm &perm) |
template<typename T , unsigned N> | |
TiledArray::Tensor< T > & | mult_to (TiledArray::Tensor< T > &result, const KroneckerDeltaTile< N > &arg1) |
template<typename T , unsigned _N, typename Op > | |
TiledArray::Tensor< T > | binary (const KroneckerDeltaTile< _N > &arg1, const TiledArray::Tensor< T > &arg2, Op &&op) |
template<typename T , unsigned _N, typename Op , typename Perm , typename = std::enable_if_t<TiledArray::detail::is_permutation_v<Perm>>> | |
TiledArray::Tensor< T > | binary (const KroneckerDeltaTile< _N > &arg1, const TiledArray::Tensor< T > &arg2, Op &&op, const Perm &perm) |
template<typename T , unsigned N> | |
TiledArray::Tensor< T > | gemm (const KroneckerDeltaTile< N > &arg1, const TiledArray::Tensor< T > &arg2, const typename TiledArray::Tensor< T >::numeric_type factor, const TiledArray::math::GemmHelper &gemm_config) |
template<typename T , unsigned N> | |
void | gemm (TiledArray::Tensor< T > &result, const KroneckerDeltaTile< N > &arg1, const TiledArray::Tensor< T > &arg2, const typename TiledArray::Tensor< T >::numeric_type factor, const TiledArray::math::GemmHelper &gemm_config) |
Function Documentation
◆ abs_max()
template<unsigned _N>
KroneckerDeltaTile<_N>::numeric_type abs_max | ( | const KroneckerDeltaTile< _N > & | arg | ) |
◆ abs_min()
template<unsigned _N>
KroneckerDeltaTile<_N>::numeric_type abs_min | ( | const KroneckerDeltaTile< _N > & | arg | ) |
◆ binary() [1/2]
template<typename T , unsigned _N, typename Op >
TiledArray::Tensor<T> binary | ( | const KroneckerDeltaTile< _N > & | arg1, |
const TiledArray::Tensor< T > & | arg2, | ||
Op && | op | ||
) |
Definition at line 187 of file kronecker_delta.h.
◆ binary() [2/2]
template<typename T , unsigned _N, typename Op , typename Perm , typename = std::enable_if_t<TiledArray::detail::is_permutation_v<Perm>>>
TiledArray::Tensor<T> binary | ( | const KroneckerDeltaTile< _N > & | arg1, |
const TiledArray::Tensor< T > & | arg2, | ||
Op && | op, | ||
const Perm & | perm | ||
) |
Definition at line 195 of file kronecker_delta.h.
◆ gemm() [1/2]
template<typename T , unsigned N>
TiledArray::Tensor<T> gemm | ( | const KroneckerDeltaTile< N > & | arg1, |
const TiledArray::Tensor< T > & | arg2, | ||
const typename TiledArray::Tensor< T >::numeric_type | factor, | ||
const TiledArray::math::GemmHelper & | gemm_config | ||
) |
◆ gemm() [2/2]
template<typename T , unsigned N>
void gemm | ( | TiledArray::Tensor< T > & | result, |
const KroneckerDeltaTile< N > & | arg1, | ||
const TiledArray::Tensor< T > & | arg2, | ||
const typename TiledArray::Tensor< T >::numeric_type | factor, | ||
const TiledArray::math::GemmHelper & | gemm_config | ||
) |
Definition at line 262 of file kronecker_delta.h.
◆ max()
template<unsigned _N>
KroneckerDeltaTile<_N>::numeric_type max | ( | const KroneckerDeltaTile< _N > & | arg | ) |
Here is the caller graph for this function:
◆ min()
template<unsigned _N>
KroneckerDeltaTile<_N>::numeric_type min | ( | const KroneckerDeltaTile< _N > & | arg | ) |
Here is the caller graph for this function:
◆ mult() [1/2]
template<typename T , unsigned _N>
TiledArray::Tensor<T> mult | ( | const KroneckerDeltaTile< _N > & | arg1, |
const TiledArray::Tensor< T > & | arg2 | ||
) |
Definition at line 163 of file kronecker_delta.h.
◆ mult() [2/2]
template<typename T , unsigned _N, typename Perm , typename = std::enable_if_t<TiledArray::detail::is_permutation_v<Perm>>>
TiledArray::Tensor<T> mult | ( | const KroneckerDeltaTile< _N > & | arg1, |
const TiledArray::Tensor< T > & | arg2, | ||
const Perm & | perm | ||
) |
Definition at line 171 of file kronecker_delta.h.
◆ mult_to()
template<typename T , unsigned N>
TiledArray::Tensor<T>& mult_to | ( | TiledArray::Tensor< T > & | result, |
const KroneckerDeltaTile< N > & | arg1 | ||
) |
Definition at line 179 of file kronecker_delta.h.
◆ permute()
template<unsigned N, typename Perm , typename = std::enable_if_t<TiledArray::detail::is_permutation_v<Perm>>>
KroneckerDeltaTile<N> permute | ( | const KroneckerDeltaTile< N > & | tile, |
const Perm & | perm | ||
) |
Definition at line 156 of file kronecker_delta.h.
◆ product()
template<unsigned _N>
KroneckerDeltaTile<_N>::numeric_type product | ( | const KroneckerDeltaTile< _N > & | arg | ) |
◆ squared_norm()
template<unsigned _N>
KroneckerDeltaTile<_N>::numeric_type squared_norm | ( | const KroneckerDeltaTile< _N > & | arg | ) |
◆ sum()
template<unsigned _N>
KroneckerDeltaTile<_N>::numeric_type sum | ( | const KroneckerDeltaTile< _N > & | arg | ) |
◆ trace()
template<unsigned _N>
KroneckerDeltaTile<_N>::numeric_type trace | ( | const KroneckerDeltaTile< _N > & | arg | ) |