Skip to contents

noise_to_brownians(sys) returns a system equivalent to sys whose noise, given as noise equations (noise_eqs), is written with brownian variables added to the equations instead: D(x) ~ f with noise g becomes D(x) ~ f + g * α_1.

Usage

noise_to_brownians(sys, names = "\u03B1")

Arguments

sys

A flattened System with noise equations.

names

A name prefix (brownians <names>_1, <names>_2, ...) or one name per brownian.

Value

A System with brownians and no noise equations.

Examples

t <- t_nounits; D <- D_nounits
variables("x(t)"); parameters("a", "b")
sde <- SDESystem(list(D(x) ~ a * x), list(b * x), t, name = "gbm")
equations(noise_to_brownians(sde))
#> [[1]]
#> Derivative(x(t), t) ~ a*x(t) + b*α_1*x(t) 
#>