forwardRescale: Forward Rescaling

Description Usage Arguments Value See Also

View source: R/SACOBRA.R

Description

Scale vector x in original space forward to rescaled space (usually [-1,1]^d)

Usage

1
forwardRescale(x, cobra)

Arguments

x

a vector in the original input space

cobra

list from cobraInit, we need here

originalL

a vector with lower bounds in original input space

originalU

a vector with upper bounds in original input space

newlower

a number, the rescaled lower bound for all dimensions

newupper

a number, the rescaled upper bound for all dimensions

Value

z, scaled version of vector x

See Also

inverseRescale


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