auto syten::mapVector | ( | std::vector< T > const & | a, |
std::vector< U > const & | b, | ||
F | f | ||
) |
Maps a binary function over two vectors.
a | first input vector |
b | second input vector |
f | function to call on elements of a and b as f(a[i], b[i]) |
f
for all vector elements. References std::vector< T >::reserve(), and std::vector< T >::size().