mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 11:43:47 +01:00
17 lines
413 B
Plaintext
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]]
|