3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/test/triqs/arrays/map_expression.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

31 lines
252 B
Plaintext

A
[[1,3,5]
[2,4,6]
[3,5,7]]
B
[[0,-1,-2]
[1,0,-1]
[2,1,0]]
abs(B+B) =
[[0,2,4]
[2,0,2]
[4,2,0]]
A+10*B =
[[1,-7,-15]
[12,4,-4]
[23,15,7]]
Abs(A+10*B) =
[[1,7,15]
[12,4,4]
[23,15,7]]
Max(A,10*B)
[[1,3,5]
[10,4,6]
[20,10,7]]