simulate_poly: Disturbed function

Description Usage Arguments Value Author(s) Examples

Description

A strange function with error to maximize

Usage

1
simulate_poly(m, s, n, runs)

Arguments

m

parameter m

s

parameter s

n

parameter s

runs

parameter runs

Value

numeric value of the disturbed function

Author(s)

Florian Klinglmueller

Examples

1
2
3
4
5
par(mfrow=c(4,1))
plot(x <- seq(0,1,.001),simulate_poly(x,1,100,10^6))
plot(x <- seq(0,1,.001),simulate_poly(x,1.3,100,10^6))
plot(x <- seq(0,1,.001),simulate_poly(x,1.6,100,10^6))
plot(x <- seq(0,1,.001),simulate_poly(x,2,100,10^6))

floatofmath/casino documentation built on May 16, 2019, 1:21 p.m.