3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 11:43:47 +01:00
dft_tools/test/triqs/arrays/views.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

21 lines
298 B
Plaintext

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]]