mirror of
https://github.com/triqs/dft_tools
synced 2024-12-26 22:33:48 +01:00
f2c7d449cc
for earlier commits, see TRIQS0.x repository.
14 lines
395 B
Plaintext
14 lines
395 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,50]
|
|
[1,51]]
|