Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Nest an indexed list of functions to apply to an argument
ResourceFunction["RightComposeIndexedList"][{f1,f2,f3,…},x,{i,j,k,…}] gives {x,fi[x],fj[fi[x]],fk[fj[fi[x]]],…}. |
Construct iterates from composing with a list of three functions:
In[1]:= |
Out[1]= |
Use a list of pure functions:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License