TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
triqs::stat::StatCompatible

#include <triqs/stat/concepts.hpp>

Detailed Description

Concept to check if a type can be used with various Statistical analysis tools.

Allowed types include

  • double or std::complex<double> scalars and
  • nda::Array types with double or std::complex<double> as their value type and with algebra 'A'.
Template Parameters
TType to check.

Definition at line 47 of file concepts.hpp.

Concept definition

template<typename T>
(nda::Scalar<T> || (nda::Array<T> && nda::get_algebra<T> == 'A')) && nda::is_any_of<nda::get_value_t<T>, double, std::complex<double>>
Concept to check if a type can be used with various Statistical analysis tools.
Definition concepts.hpp:47