From d9e30cd77412a291da939f5f8c5a6712c0efdb83 Mon Sep 17 00:00:00 2001 From: Ian Wineman <130872935+ianwineman@users.noreply.github.com> Date: Thu, 16 Oct 2025 19:33:29 -0400 Subject: [PATCH] fix doc string for `towel()` map The doc string for the `towel()` map has `(1+2z_n)` instead of `(1-2z_n)` as is implemented in the function body and the [referenced system](https://en.wikipedia.org/wiki/Hyperchaos#Mathematical_examples) --- src/discrete_famous_systems.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/discrete_famous_systems.jl b/src/discrete_famous_systems.jl index 6a44ca7..11e99f4 100644 --- a/src/discrete_famous_systems.jl +++ b/src/discrete_famous_systems.jl @@ -5,7 +5,7 @@ towel(u0 = [0.085, -0.121, 0.075]) ```math \\begin{aligned} x_{n+1} &= 3.8 x_n (1-x_n) -0.05 (y_n +0.35) (1-2z_n) \\\\ -y_{n+1} &= 0.1 \\left[ \\left( y_n +0.35 \\right)\\left( 1+2z_n\\right) -1 \\right] +y_{n+1} &= 0.1 \\left[ \\left( y_n +0.35 \\right)\\left( 1-2z_n\\right) -1 \\right] \\left( 1 -1.9 x_n \\right) \\\\ z_{n+1} &= 3.78 z_n (1-z_n) + b y_n \\end{aligned} @@ -579,4 +579,4 @@ end dx = mod(x + ν*(1 + μ*y) + ϵ*ν*μ*cos2pi(x), 1.0) dy = exp(-r)*(y + ϵ*cos2pi(x)) return SVector{2}(dx, dy) -end \ No newline at end of file +end