Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sqrti

Generalized square root


Description

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

Usage

sqrti(x)

Arguments

x

Vector to return square root of

Author(s)

Robin K. S. Hankin

Examples

sqrti(1:10)  #real
sqrti(-10:10) #coerced to complex (compare sqrt(-10:10))
sqrti(1i+1:10) #complex anyway

elliptic

Weierstrass and Jacobi Elliptic Functions

v1.4-0
GPL-2
Authors
Robin K. S. Hankin [aut, cre] (<https://orcid.org/0000-0001-5982-0415>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.