Skip to content

Calculates Butcher Tables (Butcher Tableau) for a given order

License

Notifications You must be signed in to change notification settings

tjczec01/butcher

Repository files navigation

Butcher Tableau

Calculates the Butcher Tableau for a given order.
Calculates A, B, and C for a given order and method.
This class calculates the transformation matrix, T, and its respective inverse. (However small errors may exist in the method used)
It can also calculate the interpolator coefficients, P, for a cubic polynomial spline.

Code

import butchertableau as bt

order = 7
X = bt.butcher(order, 15)
A, B, C = X.radau() 
Ainv = X.inv(A)        
T, TI = X.Tmat(Ainv)  
P = X.P(C)

print(P)
              

Install

pip install butchertableau

About

Calculates Butcher Tables (Butcher Tableau) for a given order

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published