dhybrid: Density Function "Hybrid Rosenbrock Function"

Description Usage Arguments Value Examples

View source: R/main.R

Description

Density function for the hybrid rosenbrock function, with two list of vectors parameters b and input x/ xprime.

Usage

1
dhybrid(xprime,x,a,b,mu)

Arguments

xprime

Central input.

x

List of input vector blocks.

mu

Density shift.

a

Parameters for xprime.

b

List of parameters corresponding to input blocks.

Value

Returns the density value of the "hybrid" Rosenbrock distribution at point x/xprime for parameters mu,a and b.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
a <- 1
xprime <- 1
mu <- - 1

x <- list(c(1,2),
          c(2,3))

b <- list(c(3,2),
          c(2,2))

dhybrid(xprime = xprime,x = x,a = a,b = b,mu = mu)

Example output

[1] 2.260329e-06

Rosenbrock documentation built on March 15, 2020, 5:06 p.m.