3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-26 22:33:48 +01:00
dft_tools/test/triqs/clef/lazy_function.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

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)