stopping_time_terminus {collatz} | R Documentation |
Stopping Time Terminus
Description
Provides the appropriate lambda to use to check if iterations on an initial value have reached either the stopping time, or total stopping time.
Usage
stopping_time_terminus(n, total_stop)
Arguments
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. |
Value
An anonymous function to check for the stopping time.
[Package collatz version 1.0.0 Index]