Array Max (1D)
Geoffrey Challen // 2020.9.0
Declare and implement a function called arrayMax
.
It should accept a nullable DoubleArray
as its single argument, and return the maximum value stored in the array.
If the array is empty or null
, you should return 0.0.