powered by
Element-wise inverse square root on numeric or complex vectors (or objects which can be coerced to them).
# S3 method for default rsqrt(x)
a numeric or complex vector or array.
complex
Chloe Serre-Combe, Amelie Vernay
rsqrt(x) is equivalent to 1 / sqrt(x) where sqrt() is the default square root function, i.e. \(1/\sqrt{x}\).
rsqrt(x)
1 / sqrt(x)
sqrt()
rsqrt(), sqrt(), base::sqrt()
rsqrt()
base::sqrt()
rsqrt(4) rsqrt(c(1,4,9,16))
Run the code above in your browser using DataLab