Heyoka.py Versions Save

Python library for ODE integration via Taylor's method and LLVM

v0.15.1

2 years ago

This is a quick bugfix :bug: release that fixes an issue in the conversion of SymPy rationals to the heyoka.py expression system.

The full changelog is available here:

https://bluescarni.github.io/heyoka.py/changelog.html

v0.15.0

2 years ago

This is one of the biggest releases of heyoka.py to date, featuring various new capabilities, a major change in the expression system and several fixes.

Reference semantics for funcs

A fundamental change debuting in heyoka.py 0.15.0 is that function nodes in the expression system now use reference semantics, instead of value semantics. This change is motivated by various use cases involving large symbolic expressions with a high degree of internal repetition (including, e.g., artificial neural networks), which can now be handled by the expression system orders of magnitude more efficiently (from the point of view of both CPU and memory utilisation).

New features in the expression system :fountain_pen:

  • It is now possible to compute the symbolic derivative of an expression with respect to a parameter.
  • Numerical constants can now be defined in a symbolic way. The symbolic π constant is now available in the expression system, using this new framework.
  • The two-argument inverse tangent function atan2() has been added to the expression system.

The VSOP2013 solution :ringed_planet:

An implementation of the VSOP2013 analytical solution for the motion of the planets of the Solar System has been added to the expression system. This means that it is now possible to formulate differential equations containing the positions/velocities of the planets of the Solar System as functions of time.

A tutorial introducing this new feature is available here:

https://bluescarni.github.io/heyoka.py/notebooks/vsop2013.html

Improved support for PPC64 :computer:

Thanks to the generosity of OSU's Open Source Lab, who provided remote access to a PowerPC workstation, heyoka.py now features much better support for 64-bit PowerPC processors. In particular, heyoka.py is now able to take advantage of the hardware-accelerated quadruple-precision arithmetic capabilities of recent PowerPC processors.

Other changes :ballot_box_with_check:

  • Performance improvements to event detection.
  • Various fixes and improvements to the build system.
  • Fix a corner-case issue in the implementation of the kepE() function.

Full changelog

As usual, the full changelog is available here:

https://bluescarni.github.io/heyoka.py/changelog.html

v0.14.0

2 years ago

This new release of heyoka.py implements an important improvement in the automatic deduction of the cooldown value for terminal events, which should now be more reliable than before.

The full changelog, as usual, is available here:

https://bluescarni.github.io/heyoka.py/changelog.html

v0.12.0

2 years ago

The 0.12.0 release of heyoka.py features two important additions:

  • serialisation support,
  • support for 64-bit ARM CPUs.

Serialisation

Serialisation allows to save/load heyoka.py objects via Python's pickle module. A tutorial showcasing this new feature is available here:

https://bluescarni.github.io/heyoka.py/notebooks/pickling.html

Please pay attention to the very important CAVEATS highlighted at the beginning of the tutorial!

Support for non-x86 CPUs

This is the first version of heyoka.py officially supporting 64-bit ARM processors. ARM builds have been added to the continuous integration pipeline, courtesy of CircleCI.

v0.11.0

2 years ago

This is a minor release to keep the release number of heyoka.py in sync with the release number of the heyoka C++ library. Apart from a new tutorial notebook and a few doc fixes, there are no functional changes with respect to version 0.10.0.

The full changelog, as usual, is available here:

https://bluescarni.github.io/heyoka.py/changelog.html

v0.10.0

3 years ago

The latest version of heyoka.py comes with an important new feature, the ability to convert heyoka.py expressions to/from SymPy expressions. A tutorial showcasing this new feature is available here.

Additionally, this release introduces a change in the API of the callbacks that can (optionally) be passed to the propagate_*() methods. Also, this release features a new pairwise product primitive and various improvements to the automatic simplification capabilities of the expression system.

As usual, the detailed changelog is available here:

https://bluescarni.github.io/heyoka.py/changelog.html

v0.9.0

3 years ago

This release includes two new functions in the expression system: the inverse of Kepler's elliptic equation and time polynomials.

Additionally, this release features also performance improvements and various internal cleanups.

The full changelog, as usual, is available here:

https://bluescarni.github.io/heyoka.py/changelog.html

v0.8.0

3 years ago

This new release of heyoka.py features a couple of breaking changes in the event detection API. The changes are explained in detail here:

https://bluescarni.github.io/heyoka.py/breaking_changes.html#bchanges-0-8-0

The release contains also a couple of new features for the propagate_*() functions. As usual, the full changelog is available here:

https://bluescarni.github.io/heyoka.py/changelog.html

v0.7.0

3 years ago

This new release of heyoka.py comes with several feature additions and a couple of fixes.

One important improvement is that the time coordinate in the adaptive integrators is now represented internally in double-length format, which greatly increases time accuracy.

As usual, the full changelog is available here:

https://bluescarni.github.io/heyoka.py/changelog.html

v0.6.1

3 years ago

This is a small incremental release that bumps up the minimum required version of the heyoka C++ library to 0.6.1.

The full changelog, as usual, is available here:

https://bluescarni.github.io/heyoka.py/changelog.html