Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
std::adjacent_difference is an STL algorithm to perform operations on two adjacent container elements (which, by default is std::minus).
#include <cassert> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.