Skip to main content

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

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)
              

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.9.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

butchertableau-1.0.9-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file butchertableau-1.0.9.tar.gz.

File metadata

  • Download URL: butchertableau-1.0.9.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for butchertableau-1.0.9.tar.gz
Algorithm Hash digest
SHA256 3c90f592d388c71d30b062a5ce1a1f21936c4b867a878eae61c35a096ab2f68b
MD5 24637b78259d2bfbf99bf04976a322d3
BLAKE2b-256 9bb269305837d9269d7665b707f454341e436188d33a20c931431e24f4cd90c5

See more details on using hashes here.

File details

Details for the file butchertableau-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: butchertableau-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for butchertableau-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e3ae85bbba739a6aec2d54a053de517abee44ecfa3fde31b0cbe63293907aaa7
MD5 332e715646504a2d8d1d76df729a6946
BLAKE2b-256 ad436c060007cc9b6ce3a26017f19606553813da0130a35a9956bb3d2dcc922c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page