We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1f0567 commit 02458b0Copy full SHA for 02458b0
1 file changed
tools/attractor.rs
@@ -100,7 +100,12 @@ fn build_dynamical_system_function(args: &CmdlineOptions) -> eyre::Result<Dynami
100
build_dynamical_system_function_from_args(args)
101
} else {
102
// If no --math arguments are provided, use a default function useful for prototyping
103
- Ok(Box::new(|x, y| (x + 1.0, x * y - y)))
+ Ok(Box::new(|x, y| {
104
+ (
105
+ f64::sin(0.97 * y) - f64::cos(-1.899 * x),
106
+ f64::sin(1.381 * x) - f64::cos(-1.506 * y),
107
+ )
108
+ }))
109
}
110
111
0 commit comments