Learn R Programming

DiceKriging (version 1.6.0)

hartman6: 6D test function

Description

Hartman 6-dimensional test function.

Usage

hartman6(x)

Arguments

x

a 6-dimensional vector specifying the location where the function is to be evaluated.

Value

A real number equal to the hartman6 function values at x

Details

The hartman6 function is defined over the domain [0,1]^6. It has 1 global minimum : x1 = c(0.20168952, 0.15001069, 0.47687398, 0.27533243, 0.31165162, 0.65730054)

Examples

Run this code
# NOT RUN {
design <- matrix(runif(600), 100, 6)
response <- apply(design, 1, hartman6)
# }

Run the code above in your browser using DataLab