# sqrti

From elliptic v1.4-0
by Robin K S Hankin

##### Generalized square root

Square root wrapper that keeps answer real if possible, coerces to complex if not.

- Keywords
- math

##### Usage

`sqrti(x)`

##### Arguments

- x
Vector to return square root of

##### Examples

```
# NOT RUN {
sqrti(1:10) #real
sqrti(-10:10) #coerced to complex (compare sqrt(-10:10))
sqrti(1i+1:10) #complex anyway
# }
```

*Documentation reproduced from package elliptic, version 1.4-0, License: GPL-2*

### Community examples

Looks like there are no examples yet.