There is a newer version of the record available.

Published January 5, 2023 | Version 0.3.0
Software Open

CyRK - ODE Integrator Implemented in Cython and Numba

Authors/Creators

  • 1. University of Maryland, College Park / NASA Goddard

Contributors

Description

CyRK provides fast integration tools to solve systems of ODEs with adaptive time stepping while still allowing the user to utilize differential equations written in Python. CyRK can accept diffeq functions that are written in pure Python or njited numba, speeding up development time. The purpose of this package is to provide some of the functionality of scipy's solve_ivp with improved performance.

CyRK's numba (njit-safe) implementation is 10-100x faster than scipy's solve_ivp function. The cython implementation is about 5-20x faster. The cython function is also largely pre-compiled which avoids most of the initial performance hit found with using the numba version.

To install simply run: `pip install CyRK` from a terminal where python 3.8-3.10 has been installed. If you run into problems please check out the GitHub page for troubleshooting help or get in touch.

CyRK is open-source and we encourage you to learn more and contribute to its development. Find out how you can help here.

Files

CyRK-0.3.0.zip

Files (1.2 MB)

Name Size Download all
md5:47717592af745e6fe6bc443a34115d36
1.2 MB Preview Download