3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 11:43:47 +01:00
dft_tools/test/triqs/clef/array_as_value.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

17 lines
413 B
Plaintext

(tqa::make_array( tql::eval( 2.0*x_ , x_ =A) )) ---> [2,4,6]
(tqa::make_array( tql::eval(2.0*x_ , x_ =3*A) )) ---> [6,12,18]
(tqa::make_array( tql::eval (A + 2*x_ , x_ =A) )) ---> [3,6,9]
(( tql::eval (A + 2*x_ , x_ =A) )) ---> ([1,2,3] + 2 * [1,2,3])
(A(i_)) ---> [1,2,3](x4,)
(tql::eval( A(i_), i_=1)) ---> 2
(tql::eval( B(i_,j_) , i_ = 1, j_ = 1)) ---> 10
[[0,1]
[10,11]]
[[0,10]
[1,11]]
[[0,-2]
[1,-1]]