Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get a list of the number of Butcher trees through a given order
ResourceFunction["ButcherTreeCount"][p] gives a list of the number of trees through order p. |
Determine the number of trees at each order through order 10:
In[1]:= |
Out[1]= |
The result of ButcherTreeCount can be used to calculate the total number of trees required at each order:
In[2]:= |
Out[2]= |
The result is equivalent to evaluating the length of each output of the resource function RungeKuttaOrderConditions at each level, but the calculation is more efficient:
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License