forwardRescale: 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 May 30, 2017, 6:43 a.m.

Search within the SACOBRA package
Search all R packages, documentation and source code