Function time_series_generator::lorenz_system
source · pub fn lorenz_system<T: Float>(
sigma: T,
beta: T,
rho: T,
sampling_len: usize,
dt: T
) -> Vec<(T, T, T)>
Expand description
Generate a lorenz system in 3D space.
Arguments:
sigma
: Lorenz uses 10.0
beta
: Lorenz uses 8 / 3
rho
: Lorenz uses 28
sampling_len
: How many datapoints to return
dt
: How much to step the system forward at each time step. 0.01 is a good starting value.
Returns:
Three vectors each describing a single variable of the state space. All vectors have the same length.