Metadata-Version: 2.1
Name: butchertableau
Version: 1.0.8
Summary: Calculates the butcher tableau for a given order.
Home-page: https://github.com/tjczec01/butcher
Author: Travis Czechorski
Author-email: tjczec01@gmail.com
License: UNKNOWN
Keywords: chemical engineering,chemistry,engineering,chemical reactions,Butcher Tableau,Radau,Numerical
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Butcher Tableau

##### Calculates the [Butcher Tableau](https://en.wikipedia.org/wiki/List_of_Runge%E2%80%93Kutta_methods#Radau_IIA_methods) 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.

###### [butchertableau.py](https://github.com/tjczec01/butcher/blob/master/butchertableau.py)

## [Example](https://github.com/tjczec01/butcher/blob/master/butchertableauf.ipynb) 

## Code

```python
order = 5
X = butcher(order, 15)
A, B, C = X.radau() 
Ainv = X.inv(A)        
T, TI = X.Tmat(Ainv)  
P = X.P(C)
              
```






