3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/test/triqs/arrays/views.output

21 lines
298 B
Plaintext
Raw Normal View History

test doc eg
[[314,1,2]
[10,11,12]]
Done
A is
[[0,1,2]
[10,11,12]]
another view :
[[0,1,2]
[10,11,12]]
SLICE : A(0,range(0,3)) [0,1,2]
SLICE : A(1,range(0,2)) [10,11]
SLICE : A(1,range(1,3)) [11,12]
SLICE : A(range(0,2),0)) [0,10]
SLICE : A(range(0,2),1)) [1,11]
0
[[0,1,2]
[10,11,12]]