Calculates the butcher tableau for a given order.
Project description
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.
butchertableau.py
Example
Code
order = 5
X = butcher(order, 15)
A, B, C = X.radau()
Ainv = X.inv(A)
T, TI = X.Tmat(Ainv)
P = X.P(C)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
butchertableau-1.0.2.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for butchertableau-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf291c4aad65cbe1ccd6fda61c123b009e5da96b739ba9e0e46b2d0b36439751 |
|
MD5 | 2bb9fd4b6a5a2ea1745bff3b38736e1b |
|
BLAKE2b-256 | c2040cce14abc6aa98e7eb85066059fe27a372724b840788a95714c27f31a238 |