|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <nda/clef.hpp>#include <type_traits>Kronecker delta \( \delta_{ij} \) for arithmetic types, with a CLEF lazy-expression hook.
Definition in file kronecker.hpp.
Go to the source code of this file.
Functions | |
| template<typename T1, typename T2> requires (std::is_arithmetic_v<T1> and std::is_arithmetic_v<T2>) | |
| bool | nda::clef::kronecker (T1 i, T2 j) |
| Kronecker delta \( \delta_{ij} \). | |
| template<typename T1, typename T2> requires (std::is_arithmetic_v<T1> and std::is_arithmetic_v<T2>) | |
| bool | triqs::utility::kronecker (T1 i, T2 j) |
| Kronecker delta \( \delta_{ij} \). | |
|
inline |
Kronecker delta \( \delta_{ij} \).
| T1 | Arithmetic type of the first index. |
| T2 | Arithmetic type of the second index. |
| i | Index \( i \). |
| j | Index \( j \). |
Definition at line 45 of file kronecker.hpp.