3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/test/triqs/arrays/make_immutables.output
Olivier Parcollet f2c7d449cc First commit : triqs libs version 1.0 alpha1
for earlier commits, see TRIQS0.x repository.
2013-07-17 19:24:07 +02:00

6 lines
260 B
Plaintext

(make_immutable_array( i_ + j_, i_= range(0,2), j_=range(0,2))) ---> immutable_array on domain : Cuboid of rank 2 and dimensions (3 3)
((tqa::array<int,2>(tqa::make_immutable_array( i_ + j_, i_= range(0,2), j_=range(0,2))))) --->
[[0,1,2]
[1,2,3]
[2,3,4]]