select_neighbors {vntrs} | R Documentation |
Select neighbors
Description
Function that selects neighbors around a given point x
.
Usage
select_neighbors(f, x, neighborhood_expansion, controls)
Arguments
f |
A function that computes value, gradient, and Hessian of the function to be
optimized and returns them as a named list with elements |
x |
A point in the domain of |
neighborhood_expansion |
A scaling factor, specifying the expansion of the neighborhood. |
controls |
Either
|
Value
A list points in the domain of f
which neighbors of x
.