powered by
Give the maximum value of a vector of values per segment of length n.
max_per_n(values, n, output_length)
array of numbers
length of each segment
argument to adjust for final segment not being full