1#ifndef TRIQS_NEVANLINNA_TYPES_HPP
2#define TRIQS_NEVANLINNA_TYPES_HPP
7#include "triqs_Nevanlinna/complex.hpp"
9namespace triqs_Nevanlinna {
12 static constexpr auto _ = nda::range::all;
13 static constexpr auto __ = nda::ellipsis{};
15 using complex_mpt = std::complex<real_mpt>;
16 using matrix_cplx_mpt = Eigen::Matrix<complex_mpt, Eigen::Dynamic, Eigen::Dynamic>;
18 static const auto I = complex_mpt{0., 1.};
19 static const auto One = complex_mpt{1., 0.};
21 static const int NEVANLINNA_NUM_THREADS = []() {
22 const char *s = std::getenv(
"NEVANLINNA_NUM_THREADS");
23 return s ? std::stoi(s) : 1;