TF_ackley: TF_ackley: Ackley function for evaluating a single point.

Description Usage Arguments Value Examples

View source: R/functions1.R

Description

TF_ackley: Ackley function for evaluating a single point.

Usage

1
TF_ackley(x, a = 20, b = 0.2, c = 2 * pi)

Arguments

x

Input vector at which to evaluate.

a

A constant for ackley()

b

A constant for ackley()

c

A constant for ackley()

Value

Function output evaluated at x.

Examples

1
TF_ackley(c(0, 0)) # minimum of zero, hard to solve

Example output

[1] 4.440892e-16

TestFunctions documentation built on May 2, 2019, 2:42 a.m.