mirror of
https://github.com/triqs/dft_tools
synced 2024-12-27 06:43:40 +01:00
f2c7d449cc
for earlier commits, see TRIQS0.x repository.
18 lines
254 B
Plaintext
18 lines
254 B
Plaintext
(A) --->
|
|
[[1,3,5]
|
|
[2,4,6]
|
|
[3,5,7]]
|
|
(max_element(A)) ---> 7
|
|
(sum(A)) ---> 36
|
|
(B) --->
|
|
[[0,-1,-2]
|
|
[1,0,-1]
|
|
[2,1,0]]
|
|
(min_element(B)) ---> -2
|
|
(sum(B)) ---> 0
|
|
(make_matrix(A+10*B)) --->
|
|
[[1,-7,-15]
|
|
[12,4,-4]
|
|
[23,15,7]]
|
|
(max_element(A+10*B)) ---> 23
|