stopping_time_terminus {collatz} | R Documentation |
Provides the appropriate lambda to use to check if iterations on an initial value have reached either the stopping time, or total stopping time.
stopping_time_terminus(n, total_stop)
n |
The initial value to confirm against a stopping time check. |
total_stop |
If false, the lambda will confirm that iterations of n have reached the oriented stopping time to reach a value closer to 0. If true, the lambda will simply check equality to 1. |
An anonymous function to check for the stopping time.