Return the positive square-root of an array, element-wise.
Parameters: | x – (array_like) The values whose square-roots are required. |
---|---|
Returns: | (array_like) An array of the same shape as x, containing the positive square-root of each element in x. |
Examples:
>>> sqrt([1,4,9])
array([1.0, 2.0, 3.0])