.. highlight:: c Simple read/write operations of an array (or a view) ============================================================================ Given an array (or an array_view), the functions `h5::write` and `h5::read` write and read it to/from the file or any subgroup thereof. For example : .. compileblock:: #include using triqs::arrays::array; using triqs::arrays::matrix; int main(){ array A(2,2); A() = 3; // declare and init H5::H5File file("store_A.h5",H5F_ACC_TRUNC); // open the file h5_write(file,"A",A); // write the array as 'A' into the file //array B; // read the file into B matrix B; // read the file into B h5_read (file, "A",B); std::cout << "B = "<