1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added FloatVectorOperations::findMinimum and findMaximum

This commit is contained in:
jules 2013-03-05 21:58:52 +00:00
parent 4fe02d2c8d
commit 408399ddff
2 changed files with 75 additions and 7 deletions

View file

@ -68,6 +68,12 @@ public:
/** Finds the miniumum and maximum values in the given array. */
static void JUCE_CALLTYPE findMinAndMax (const float* src, int numValues, float& minResult, float& maxResult) noexcept;
/** Finds the miniumum value in the given array. */
static float JUCE_CALLTYPE findMinimum (const float* src, int numValues) noexcept;
/** Finds the maximum value in the given array. */
static float JUCE_CALLTYPE findMaximum (const float* src, int numValues) noexcept;
};