minmax | R Documentation |
These functions compute the parallel minimum/ maximum of two vector-valued inputs and are compatible with automatic differentiation using RTMB
.
min2(x, y)
max2(x, y)
x |
first vector |
y |
second vector |
min2
returns the parallel minimum and max2
the parallel maximum of x
and y
x <- c(1, 4, 8, 2)
y <- c(2, 5, 3, 7)
min2(x, y)
max2(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.