Description Usage Arguments Value Examples
rray_hypot()
computes the elementwise square root of the sum
of squares of x
and y
.
1 | rray_hypot(x, y)
|
x, y |
A vector, matrix, array or rray. |
An object of the common type of x
and y
containing the square root
of the sum of squares.
1 2 3 4 | x <- matrix(c(2, 4, 6))
# With broadcasting
rray_hypot(x, t(x))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.