mirror of
https://github.com/triqs/dft_tools
synced 2024-12-26 14:23:38 +01:00
f2c7d449cc
for earlier commits, see TRIQS0.x repository.
19 lines
182 B
Plaintext
19 lines
182 B
Plaintext
A
|
|
[[1,3,5]
|
|
[2,4,6]
|
|
[3,5,7]]
|
|
B
|
|
[[0,-3,-6]
|
|
[1,-2,-5]
|
|
[2,-1,-4]]
|
|
A+B
|
|
[[1,0,-1]
|
|
[3,2,1]
|
|
[5,4,3]]
|
|
max A : 7
|
|
max B : 2
|
|
max abs(B) : 6
|
|
max A+B : 5
|
|
sum(A) 36
|
|
prod(A) 75600
|