Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Evaluate an expression repeatedly until a test is satisfied
ResourceFunction["RepeatUntil"][body,test] will evaluate body once, and then continue to evaluate it as long as test returns True. |
Basic usage:
| In[1]:= |
| Out[1]= |
The number of iterations to get an approximation:
| In[2]:= | ![]() |
| Out[3]= |
Searching sequences of primes:
| In[4]:= |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License