Function add( array, constant )

Description:
Returns the result of adding a constant value to every element of a numeric array. If the supplied array argument is not a numeric array, null is returned.
Parameters:
array (Object)
array input
constant (floating point)
value to add to each array element
Return Value (array of floating point):
array output, the same length as the array parameter
Example:
add(array(1,2,3), 10) = [11,12,13]
Signature:
double[] add(Object, double)