Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get a list of the trees for any Runge-Kutta method of a given order
ResourceFunction["ButcherTrees"][p] gives a list, partitioned by order, of the trees for any Runge–Kutta method of order p. |
Give the trees that are needed for any third-order method:
In[1]:= |
Out[1]= |
Check the trees are all valid syntax using the resource function ButcherTreeQ:
In[2]:= |
Out[2]= |
The resource function ButcherPlot can be used to plot Butcher trees:
In[3]:= |
Out[3]= |
Plot and label the trees through order 5:
In[4]:= |
Out[4]= |
This work is licensed under a Creative Commons Attribution 4.0 International License