28#define TRIQS_INCLUDED_ARRAYS
37#include <nda/blas.hpp>
38#include <nda/lapack.hpp>
39#include <nda/linalg/det.hpp>
40#include <nda/linalg/inv.hpp>
41#include <nda/clef/adapters/math.hpp>
42#include <nda/clef/sum.hpp>
47#define TRIQS_CLEF_MAKE_FNT_LAZY CLEF_MAKE_FNT_LAZY
48#define TRIQS_CLEF_IMPLEMENT_LAZY_CALL CLEF_IMPLEMENT_LAZY_CALL
50namespace stdutil = nda::stdutil;
54 namespace clef = nda::clef;
55 using dcomplex = std::complex<double>;
56 using namespace std::literals::complex_literals;
62namespace triqs::arrays {
68 template <
typename... T> std::array<long,
sizeof...(T)> make_shape(T... x) {
return {long(x)...}; }
75 template <
int N,
typename A>
auto rotate_index_view(A &&a) {
76 return permuted_indices_view<encode(nda::permutations::cycle<get_rank<A>>(-1, N + 1))>(std::forward<A>(a));
TRIQS exception hierarchy and related macros.