MCPcopy Create free account
hub / github.com/HackerPoet/FractalSoundExplorer / henon

Function henon

Main.cpp:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 y = z.imag();
89}
90void henon(double& x, double& y, double cx, double cy) {
91 double nx = 1.0 - cx*x*x + y;
92 double ny = cy*x;
93 x = nx;
94 y = ny;
95}
96void duffing(double& x, double& y, double cx, double cy) {
97 double nx = y;
98 double ny = -cy*x + cx*y - y*y*y;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected