Function multiply( array, constant )

Description:
Returns the result of multiplying every element of a numeric array by a constant value. If the supplied array argument is not a numeric array, null is returned.
Parameters:
array (Object)
array input
constant (floating point)
value by which to multiply each array element
Return Value (array of floating point):
array output, the same length as the array parameter
Example:
multiply(array(1,2,3), 2) = [2, 4, 6]
Signature:
double[] multiply(Object, double)