Skip to content

Releases: bertiqwerty/exmex

Fix panic with custom number literals

02 Oct 13:34
Compare
Choose a tag to compare

Fixed Issue #18. The bug was spotted by fuzzing.

Constants

20 Sep 18:59
Compare
Choose a tag to compare
  • Added constants in terms of constant operators
  • Default operators now contain π as PI and Euler's number as E.
  • BREAKING - interface of Operator changed
  • Fixed compilation of x-1+2.

Traits and serializable custom operators

17 Sep 18:48
Compare
Choose a tag to compare
  • BREAKING the interface all over the place
  • Expressions FlatEx and OwnedFlatEx now implement the trait Express and can be created in a unified way.
  • Custom operators can be serialized with serde. To this end we introduced an operator-factory-trait and a macro for reduced boilerplate. Operator factories are used as generic parameters of the expression types.
  • Parsing functions refactored

Hotfix missing trait implementations

30 Aug 14:35
Compare
Choose a tag to compare

Dervied standard trait implementations for OwnedFlatEx.

Owned expression

28 Aug 19:45
Compare
Choose a tag to compare

Added a new expression type that takes longer during parsing but does not need a lifetime parameter.

Basic serde support

27 Aug 12:32
Compare
Choose a tag to compare
  • Added basic serde support via un-parsing/re-parsing.
  • Fixed panic where both operators are None.
  • Removed some duplicate checks after checking pre-conditions.

Bugfix outer derivative of -

19 Aug 21:44
Compare
Choose a tag to compare
  • fixed computation of outer derivative for unary operators - and +, #16
  • fixed DeepEx::is_num, #15
  • fixed variable names with spaces, #14
  • fixed documentation

Partial Derivatives

18 Aug 21:23
Compare
Choose a tag to compare
  • Partial derivatives of expressions can be computed.
  • BREAKING CHANGE! Variables' values now have to be passed to FlatEx::eval according to the alphatical order of the variable names instead of the order of occurence in the string to be parsed.
  • Fixed panics triggered by garbage-in with the help of fuzzing

Hotfix 32 nodes

13 Aug 08:53
Compare
Choose a tag to compare

Fixed that flat expressions with more than 32 nodes panick, see Issue #6.

Display unparsed expression

06 Aug 13:31
Compare
Choose a tag to compare
  • implemented unparse that transforms expressions, i.e., instances of FlatEx, into a string, see also discussion in #1
  • implemented display in terms of unparse