mirror of
https://github.com/triqs/dft_tools
synced 2024-12-26 22:33:48 +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]
|