Interactive GUI based program that generates the overall species balance, system of ODEs needed for the solve_ivp and odeint method, and calculates the Jacobian both symbolically and numerically. The resulting code can easily be copied and pasted as is to be integrated with the aforementioned SciPy functions.
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.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for butchertableau-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b20d094667e350b8d20d8c8feb59aa6edf7832eb92e408025a08b90e4fb5da7 |
|
MD5 | 44b1b55e48e404c06b8e828e021d8d73 |
|
BLAKE2b-256 | 4afbafa86942ba66b68a678daefd80e32ff0e9221b719885e26551521461083e |