sumOfSquareRoots

The array must have non-negative elements and not be empty

Return

the sum of the square roots of the elements of the array

Parameters

array

the input array