#include using triqs::arrays::array; int main() { array A(2, 3); assign_foreach(A, [](size_t i, size_t j) { return i + j; }); std::cout << " A " << A << std::endl; }