rescaleWrapper: Return a rescaled function

Description Usage Arguments Value See Also

View source: R/SACOBRA.R

Description

Return a rescaled function

Usage

1
rescaleWrapper(fn, lower, upper, dimension, newlower, newupper)

Arguments

fn

function with argument x to be rescaled

lower

a vector with lower bounds in original input space

upper

a vector with lower bounds in original input space

dimension

length of vector lower and upper

newlower

a number, the rescaled lower bound for all dimensions

newupper

a number, the rescaled upper bound for all dimensions

Value

newfn, rescaled version of function fn

See Also

forwardRescale, inverseRescale


SACOBRA documentation built on March 26, 2020, 7:15 p.m.