Function divide( array1, array2 )

Description:
Returns the result of dividing two numeric arrays element by element. Both arrays must be numeric, and the arrays must have the same length. If either of those conditions is not true, null is returned. The types of the arrays do not need to be the same, so for example it is permitted to divide an integer array by a floating point array.
Parameters:
array1 (Object)
array of numerator values (numeric)
array2 (Object)
array of denominator values (numeric)
Return Value (array of floating point):
element-by-element result of array1[i]/array2[i] the same length as the input arrays
Example:
divide(array(0,9,4), array(1,3,8)) = [0, 3, 0.5]
Signature:
double[] divide(Object, Object)