rray_maximum()
and rray_minimum()
compute the elementwise max / min
between x
and y
.
rray_maximum(x, y) rray_minimum(x, y)
x, y | A vector, matrix, array or rray. |
---|
The elementwise max/min of x
and y
, with broadcasting.
#> [1] 3 2 3#> [1] 1 2 1#> [,1] [,2] [,3] #> [1,] 1 2 3 #> [2,] 2 2 3 #> [3,] 3 3 3