3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 19:53:45 +01:00
dft_tools/test/triqs/arrays/expr3.output

62 lines
598 B
Plaintext
Raw Normal View History

A = [0,1,2]
B = [1,1,1]
C = [0,10,20]
F = [2.5,3.5,4.5]
A + F = [2.5,4.5,6.5]
A =
[[0,1]
[10,11]]
B =
[[0,2]
[1,3]]
(
[[0,1]
[10,11]] + (2 *
[[0,2]
[1,3]]))
-------
Cuboid of rank 2 and dimensions (2 2)
----EVAL ---
C =
[[0,5]
[12,17]]
C =
[[0,3]
[11,14]]
C = A*B
[[0,2]
[10,33]]
Af =
[[0,1]
[10,11]]
Bf =
[[1,2]
[1,3]]
Cf = Af/Bf
[[0,0.5]
[10,3.66667]]
C =
[[0,2]
[12,14]]
C =
[[0,3]
[14,17]]
C =
[[0,1]
[2,3]]
t ATranspose(
[[0,1]
[10,11]])
0.5 * A =
[[0,0.5]
[5,5.5]]
R =
[[0,10]
[1,11]
[2,12]]
C = SQR(
[[0,1]
[10,11]]) =
[[0,1]
[100,121]]