- `Y = sqrt (X)`

Compute the square root of each element of `X`.

If `X` is negative, a complex result is returned.

To compute the matrix square root, see Linear Algebra.

See also: `realsqrt`, `nthroot`.

### References

- https://www.mathworks.com/help/matlab/ref/sqrt.html
- https://octave.sourceforge.io/octave/function/sqrt.html
- https://mathworld.wolfram.com/SquareRoot.html
- https://en.wikipedia.org/wiki/Square_root
