Tags give the ability to mark specific points in history as being important
-
v2.0.3
protecteded50df2f · ·desr 2.0.3 `named_symbols` reported the wrong monomial for every symbol after the first under the dependent-variable scheme. That scheme does not reduce the system it is given: it deletes the independent variable's row and column from the multiplier and reduces what is left, so it has one invariant fewer than the full multiplier has columns and its monomials are written in the other symbols. `named_symbols` read them off the full multiplier, which gave one name too many and -- because the missing column is the first, not the last -- shifted every later pairing by one. On Hubert & Labahn 6.4 the reduction's y0 was reported as standing for t when it stands for z1*z2. `invariant_names` counted the same way. Only the reported mapping was affected. `translate_dep_var` builds its systems from the deflated multiplier and was always correct, so no reduction computed a wrong answer. Present since the method was introduced on 2026-10-30, and so in every 2.0 release. It survived because the test that compares names against the reduced system's symbols swept the parameter and general schemes and not this one.
-
v2.0.2
protected7bad0e7b · ·desr 2.0.2 Two corrections where the translator returned a wrong answer rather than refusing. `reduced_symbols_that_must_not_be_zero` read columns of the inverse Hermite multiplier where it should read rows, so it named reduced symbols that appear only in numerators and omitted ones that divide. `herm_mult` is indexed [original, reduced] and `inv_herm_mult` [reduced, original]; both put the direction's source index first. `reverse_translate_parameter` and `desr.numerics` always read it correctly and were unaffected. A system handed to a translator is now checked against the one the translator was built for. The only gate was a count of symbols, so any system of the right size was reduced -- a translator built for one system and given another of the same size returned invariants that were not invariant. A reordering is refused too, and reported as such, since the remedy differs. A translator built from a bare matrix still cannot be checked this way, having no symbols to compare against. Also in this release: project_urls in the package metadata.
-
v2.0.1
protectedb2ba9602 · ·desr 2.0.1 A patch on 2.0.0. No library code changed; `desr` 2.0.1 behaves as 2.0.0 does. - "Differental" is "Differential", in `.zenodo.json`, the README and the documentation's introduction. - the Zenodo snapshot job sends to zenodo.org. It had `-s`, which sends to sandbox.zenodo.org, a separate service; 2.0.1 is the first version the job can deposit. `-p` is still absent, so it leaves a draft to be published by hand. - the Zenodo snapshot job runs on python:3.13 rather than python:3.6, with gitlab2zenodo pinned. - the README carries the concept DOI, 10.5281/zenodo.17671203. 2.0.0's notes describe the release itself, and are not repeated here. See https://github.com/ofloveandhate/desr/pull/31. -
v2.0.0
protected73dee4f9 · ·desr 2.0.0 Scaling symmetry reduction of ODE systems, after Hubert & Labahn (2013). Not source-compatible with 1.x. The Hermite normal form now follows Hubert & Labahn, so reductions differ: the front of the variable order is the end that gets normalised. Interface: - `symbols` is the collective; `variables` is the independent variable and the dependents; `parameters` is the rest. `dependent_variables` is `dependents`. - `constant_variables`, `num_constants` and `non_constant_variables` are removed without aliases. A variable whose equation says zero is a conserved dependent; a variable with no equation is a parameter. - `invariant_monomials()` / `invariant_names()` and `auxiliary_monomials()` / `auxiliary_names()` replace `invariants()` and `auxiliaries()`. - `column_of()` gives the column index of an invariant. - `extend_from_invariants()` takes monomials. - initial conditions may be numbers, zero included, and a system carries `parameter_values`. - `from_tex` reads initial conditions, and `to_tex`/`from_tex` round-trip equations, initial conditions, constraints and values. - `diff_subs` is `subs`, taking sympy's argument shapes. - the naming scheme is a dict over `parameters`, `independent`, `dependents` and `auxiliaries`. - `power_matrix` is `exponent_matrix`. - python_requires >= 3.10, which is python-flint's floor. Tested on CPython 3.10 through 3.14, with and without numpy and scipy: 484 unit tests, 1155 documentation doctests, the module doctests, an HTML documentation build with warnings as errors, and the example scripts. See https://github.com/ofloveandhate/desr/pull/30 for the pull requests this is made of. -