3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 19:23:45 +01:00
dft_tools/test/triqs/arrays/algorithms.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

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