|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include "./concepts.hpp"#include <nda/nda.hpp>#include <limits>#include <type_traits>#include <utility>Go to the source code of this file.
Typedefs | |
| template<typename T> | |
| using | triqs::stat::get_real_t = std::remove_cvref_t<decltype(make_real(std::declval<T>()))> |
| Type trait to get the type that would be returned by triqs::stat::make_real. | |
| template<typename T> | |
| using | triqs::stat::get_regular_t = std::remove_cvref_t<decltype(nda::make_regular(std::declval<T>()))> |
| Type trait to get the type that would be returned by nda::make_regular. | |
Functions | |
| auto | triqs::stat::abs_square (auto const &x) |
| Calculate the (elementwise) absolute square of an array/view/scalar. | |
| template<typename T> | |
| auto | triqs::stat::make_real (T &&t) |
| Make a given object real and regular. | |
| template<StatCompatible T> | |
| auto | triqs::stat::nan_sample (T const &sample) |
| Get a sample with all elements set to NaN. | |
| template<StatCompatible T> | |
| auto | triqs::stat::zeroed_sample (T const &sample) |
| Get a sample with all elements set to zero. | |