funShiftedSphere: funShiftedSphere (No. 4)

funShiftedSphereR Documentation

funShiftedSphere (No. 4)

Description

Shifted Sphere Test Function with optimum at x_opt = a and f(x_opt) = 0

Usage

funShiftedSphere(x, a = 1)

Arguments

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.

Value

1-column matrix with resulting function values

See Also

funSphere

Examples

x1 <- matrix(c(-pi, 12.275),1,)
a <- 1
funShiftedSphere(x1, a)


SPOT documentation built on June 26, 2022, 1:06 a.m.