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

14 lines
395 B
Plaintext
Raw Normal View History

(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,50]
[1,51]]