I\'ve got a function that takes an array of pointers to doubles that divides the array and recurses. Here\'s a simplified version: