You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| a = -2, b = -0.33, c = 0.01 | n = 200,000,000 | 0.9712 | 0.9766 | 0.9520 |
311
+
| a = -1.7, b = -0.3, c = 0.7 | n = 200,000,000 | 0.9576 | 0.9717 | 0.9293 |
312
+
| a = 0.6, b = 0.5, c = 0 | n = 200,000,000 | 0.9924 | 0.9935 | 0.9789 |
313
+
| a = 0.7, b = 0.4, c = 0 | n = 200,000,000 | 0.9914 | 0.9944 | 0.9280 |
314
+
| a = -55, b = -1, c = -42 | n = 200,000,000 | 0.9780 | 0.9809 | 0.9877 |
315
315
316
316
**Matrix Similarity with Periodic Orbit: A 3-Cycle Example** --> [Special Constellations and Edge Cases](#special-constellations-and-edge-cases-of-the-attractor)
| a = 5, b = 5, c = 0 | n = 1,000,000 | 1.0000 | 1.0000 | 1.0000 |
321
321
322
-
[Back to Table of Contents](#calculate--visualize-the-hopalong-attractor-with-python)
322
+
[Back to Table of Contents](Pixel-Based Density Approximation: Hopalong Attractor (Python))
323
323
324
324
---
325
325
@@ -406,7 +406,7 @@ For example:
406
406
407
407
This scenario is an ideal use case for the features of the extended program variant, such as pixel hit count statistics, to analyze high-density cycle behavior.
408
408
409
-
[Back to Table of Contents](#calculate--visualize-the-hopalong-attractor-with-python)
409
+
[Back to Table of Contents](Pixel-Based Density Approximation: Hopalong Attractor (Python))
410
410
411
411
---
412
412
@@ -420,7 +420,7 @@ Note: Since user interactions with the plot window, such as zooming, panning, or
420
420
plt.pause(1)
421
421
plt.close(fig)
422
422
423
-
[Back to Table of Contents](#calculate--visualize-the-hopalong-attractor-with-python)
423
+
[Back to Table of Contents](Pixel-Based Density Approximation: Hopalong Attractor (Python))
424
424
425
425
---
426
426
@@ -438,7 +438,7 @@ Dummy calls are preliminary invocations of JIT-compiled functions that prompt th
438
438
439
439
The parallel loop function `prange` from the Numba library is not suitable for cross-iteration dependencies, such as those encountered when iterating recursive functions. While it is possible to restructure the second pass to use prange for populating the image array, this could introduce race conditions—situations where multiple threads access and modify shared data simultaneously, leading to inconsistent or unpredictable results. Therefore, this approach was not implemented.
440
440
441
-
[Back to Table of Contents](#calculate--visualize-the-hopalong-attractor-with-python)
441
+
[Back to Table of Contents](Pixel-Based Density Approximation: Hopalong Attractor (Python))
442
442
443
443
### Two-Pass Approach
444
444
@@ -515,7 +515,7 @@ Trade-Off: The trajectory points are computed twice — once for extent calculat
515
515
# Dummy call to ensure the function is pre-compiled by the JIT compiler before it's called by the interpreter.
[Back to Table of Contents](#calculate--visualize-the-hopalong-attractor-with-python)
518
+
[Back to Table of Contents](Pixel-Based Density Approximation: Hopalong Attractor (Python))
519
519
520
520
---
521
521
@@ -551,13 +551,13 @@ No other feasible alternative one-pass methods offering substantial advantages h
551
551
552
552
Overall, the two-pass approach offers an excellent balance of speed, efficiency, and simplicity, making it ideal for attractor calculations that involve large number of iterations. While the trajectory points must be computed during both passes, this method successfully avoids the drawbacks associated with alternative solutions.
553
553
554
-
[Back to Table of Contents](#calculate--visualize-the-hopalong-attractor-with-python)
554
+
[Back to Table of Contents](Pixel-Based Density Approximation: Hopalong Attractor (Python))
555
555
556
556
---
557
557
558
558
## Recent Code Changes
559
559
560
-
[Back to Table of Contents](#calculate--visualize-the-hopalong-attractor-with-python)
560
+
[Back to Table of Contents](Pixel-Based Density Approximation: Hopalong Attractor (Python))
0 commit comments