Sat, 08/18/2018 - 06:24 am
In many of my code bases I call both WaveMin and WaveMax to calculate the minimum and maximum of a wave. As that is usually faster than calling WaveStats.
But from an algorithmic point of view if you want to calculate both you would only have to traverse the wave elements once. Also C++ learned that a while ago, see std::minmax.
So my request is to add a function WaveMinMax which uses multiple return value syntax to return both the minimum and the maximum of a wave.