getMax {profExtrema} | R Documentation |
Compute coordinate profile sup functions
getMax(x, f, fprime, coord, d, options = NULL)
x |
one dimensional point where the function is to be evaluated |
f |
function to be optimized (takes a vector y of dimension d and returns a real number) |
fprime |
derivative of f (same format) |
coord |
integer selecting the dimension that is fixed, the other ones are optimized over |
d |
dimension of the input for f |
options |
a list containing the options to be passed to optim:
|
a real value corresponding to max_{x_1,\dots, x_{coord-1},x_{coord+1}, \dots, x_d} f(x_1,\dots,x_d)
Dario Azzimonti