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

62 lines
598 B
Plaintext

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]]