Reciprocal of the square root of a number

rsqrt(x)

Arguments

x

a numeric vector or array

Examples

rsqrt(4)
#> [1] 0.5
rsqrt(1:10)
#> [1] 1.0000000 0.7071068 0.5773503 0.5000000 0.4472136 0.4082483 0.3779645 #> [8] 0.3535534 0.3333333 0.3162278