mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 03:33:50 +01:00
31 lines
252 B
Plaintext
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]]
|
||
|
|