Function adjacent¶
function adjacent(Fn &&, E1 &&) base¶
template <typename Fn, typename E1>
KFR_INTRINSIC expression_adjacent<Fn, E1> adjacent(Fn&& fn, E1&& e1) Creates an expression that returns the result of calling \(fn(x_i, x_{i-1})\) .
| Fn | binary callable applied to consecutive values |
| E1 | input expression type |
| fn | callable receiving (current, previous) |
| e1 | input expression |
an expression_adjacent |
Fully qualified name: kfr::adjacent(Fn &&, E1 &&)
Declared at base/basic_expressions.hpp:1361
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.