Purpose of the function

The purpose of the function in Listing 6 is to find the algebraic minimum value stored in the array and to return that value as type long.