Learn R Programming

ino (version 1.0.2)

f_matyas: Matyas function

Description

Matyas function

Usage

f_matyas(x)

Value

The function value at x, a single numeric.

Arguments

x

A numeric vector of length 2.

Details

The function has multiple local minima and one global minimum in the origin.

References

https://en.wikipedia.org/wiki/Test_functions_for_optimization

Examples

Run this code
f_matyas(c(0, 0))

Run the code above in your browser using DataLab