Learn R Programming

cmaes (version 1.0-12)

bias_function: Create a biased test function...

Description

Create a biased test function

Usage

bias_function(f, bias)

Arguments

f

test function

bias

bias value.

Value

The biased test function.

Details

Returns a new biased test function defined as $$g(x) = f(x) + bias.$$