-
-
Notifications
You must be signed in to change notification settings - Fork 697
Description
Sage interfaces its Heaviside function with a Maxima function named hstep which seems to implement the same function. However, there is no documentation on it, and it is not supported in Runge-Kutta DE computations, nor in integration. This leads to mathematically wrong results when calling desolve_rk4() and integrate() with expressions containing heaviside (but it's working with unit_step).
The ticket should either replace hstep with unit_step in the Maxima interfaces, or remove it altogether with a warning. Alternatively, use substitute_function in desolve_rk4() and integrate(). Additionally, the issue with hstep should be reported upstream.
Upstream: Not yet reported upstream; Will do shortly.
Component: calculus
Author: Frédéric Chapoton
Branch/Commit: u/chapoton/22850 @ 15df4b5
Issue created by migration from https://trac.sagemath.org/ticket/22850