Skip to content

function adjacent(Fn &&, E1 &&) expressions

template <typename Fn, typename E1>
KFR_INTRINSIC expression_adjacent<Fn, E1> adjacent(Fn&& fn, E1&& e1)

Returns template expression that returns the result of calling \(fn(x_i, x_{i-1})\)

Defined at base/basic_expressions.hpp:1019