Difference between every two adjacent elements of a vector
function diff input Real[:] in_v = {1, 2, 3, 4} "Input vector"; output Real[size(in_v, 1) - 1] out_v "Output vector"; end diff;