mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 19:53:45 +01:00
15 lines
515 B
Plaintext
15 lines
515 B
Plaintext
|
expr = 2
|
||
|
-------------
|
||
|
expr = 7
|
||
|
-------------
|
||
|
((y_ >> x_ + 2*y_)) ---> lazy function : (_2) --> (_1 + (2 * _2))
|
||
|
(x_ >> (y_ >> x_ + 2*y_ )) ---> lazy function : (_1) --> lazy function : (_2) --> (_1 + (2 * _2))
|
||
|
r >> = lazy function : (_2) --> (_1 + (2 * _2))
|
||
|
r2 >> = lazy function : (_1) --> lazy function : (_2) --> (_1 + (2 * _2))
|
||
|
expr = (_1 + (2 * _2))
|
||
|
expr = 7
|
||
|
(tql::eval ( make_function(x_ + 2*y_ , x_) , y_ = 2) (3)) ---> 7
|
||
|
(make_function(x_ + 2 , x_) (3)) ---> 5
|
||
|
-------------
|
||
|
expr = ((_1 + (2 * _2)) + _3)
|