1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Implementation of the Chirikov Standard Map.
use Complex;
use Float;
use crateAttractor;
/// The Chirikov Standard Map defined by the equations:
/// - `p_{n+1} = p_n + K * sin(x_n)`
/// - `x_{n+1} = x_n + p_{n+1}` (mod 2π)
///
/// Note: This implementation doesn't apply the modulo operation to keep
/// the output unbounded for visualization purposes.