mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 11:43:47 +01:00
21 lines
298 B
Plaintext
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]]
|