mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 19:23:45 +01:00
f2c7d449cc
for earlier commits, see TRIQS0.x repository.
18 lines
261 B
Plaintext
18 lines
261 B
Plaintext
A =
|
|
[[0,1,2]
|
|
[10,11,12]]
|
|
SLICE : A(0,range(0,3)) [0,1,2]
|
|
A =
|
|
[[0,0,0]
|
|
[0,0,0]]
|
|
SLICE : A(0,range(0,3)) [0,0,0]
|
|
A is
|
|
[[0,1,2]
|
|
[10,11,12]]
|
|
SLICE : A(0,range(0,3)) [0,1,2]
|
|
Setting A(0,0) =56
|
|
A is
|
|
[[56,1,2]
|
|
[10,11,12]]
|
|
SLICE : A(0,range(0,3)) [56,1,2]
|