funShiftedSphere | R Documentation |
Shifted Sphere Test Function with optimum at x_opt = a and f(x_opt) = 0
funShiftedSphere(x, a = 1)
x |
matrix of points to evaluate with the function. Rows for points and columns for dimension. |
a |
offset added, i.e., f = sum (x-a)^2. Default: |
1-column matrix with resulting function values
funSphere
x1 <- matrix(c(-pi, 12.275),1,) a <- 1 funShiftedSphere(x1, a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.