CheckBounds2: CheckBounds2

Description Usage Arguments Value

View source: R/CheckBounds2.R

Description

Finds smallest s so that x+s*dx is within bounds

Usage

1
CheckBounds2(x, dx, bounds)

Arguments

x

k times 1 vector, the given value of x0

dx

k times 1 vector, the Newton step from x0 to x1

bounds

k times 2 matrix, the first (second) colum store the lower (upper) bounds of x

Value

s a scalar


common2016/HM2009 documentation built on Dec. 19, 2021, 6 p.m.