DiffEqNoiseProcess.jl icon indicating copy to clipboard operation
DiffEqNoiseProcess.jl copied to clipboard

export base

Open ArnoStrouwen opened this issue 2 years ago • 3 comments

using DiffEqNoiseProcess
#using DifferentialEquations
u0 = rand(2)
tgrid = 0.0:0.1:10.0
brownian_noise = randn(length(u0)*(length(tgrid)-1))
brownian_noise = reshape(brownian_noise,length(u0),length(tgrid)-1)
brownian_noise = vcat([zeros(length(u0))], [c for c in eachcol(brownian_noise)])
W = NoiseGrid(tgrid,brownian_noise)
prob = NoiseProblem(W, (tgrid[begin], tgrid[end]))

ERROR: UndefVarError: NoiseProblem not defined

ArnoStrouwen avatar Dec 12 '22 01:12 ArnoStrouwen

This seems to be the code example from #136.

frankschae avatar Jan 09 '23 20:01 frankschae

The using using DifferentialEquations is commented out, leading to a different error.

ArnoStrouwen avatar Jan 09 '23 20:01 ArnoStrouwen

oh true -- you're right. Sorry for that! (I ran them straight after each other.)

frankschae avatar Jan 09 '23 20:01 frankschae