Skip to content

Releases: bertiqwerty/exmex

Updated dependencies

29 Aug 20:19
Compare
Choose a tag to compare
  • updated and pinned dependencies
  • #36
  • #38

nth partial and log

01 May 14:34
Compare
Choose a tag to compare
  • New functions for the n-th partial derivative partial_nth and partial_iter
  • Added ln for natural logarithm. We have now log2, log10, log, and ln where the latter 2 are identical.
  • [BREAKING] e is an additional way to write Euler's constant in addition to E.
  • eval_relaxed does not complain if more variables are passed than parsed.

τ

26 Feb 13:29
Compare
Choose a tag to compare
τ

[Breaking] τ = 2π is now a constant and cannot be used as variable anymore.

One owning expression type

09 Jan 16:34
Compare
Choose a tag to compare
  • BREAKING, removed OwnedFlatEx and made FlatEx owning since parsing time differences are negligible.
  • Fixed if/else operators for value.
  • BREAKING, from_str is no longer a method of Express. Instead, FlatEx implements FromStr.
  • BREAKING, partial is now a feature to compute partial derivatives that is not activated by default.
  • BREAKING, fixed de-serialization of traits with custom operand/number literals. A new trait MatchLiteral can be used to implement custom operands in a serializable way.

Hotfix operator next to binary operator

01 Jan 12:21
Compare
Choose a tag to compare

The case where a operator is on the left of a binary operator lead to a panic and is now handled as error.

Faster Parsing

31 Dec 16:19
Compare
Choose a tag to compare
  • Parsing is signifantly faster, almost factor 2
  • Breaking ExError::from_str -> ExError::new
  • Breaking field prio of Operator is now i64 instead of i32.
  • Uncompiled expressions accessible via public interface
  • Display shows the original string

Value type

14 Nov 20:12
Compare
Choose a tag to compare
  • introduced value type feature that allows to combine booleans, floats, and ints in one expression
  • Breaking, renamed DefaultOpsFactory to FloatOpsFactory
  • Added interface for pre-compiled regexes for number literals

Clone for data types sufficient

30 Oct 19:29
Compare
Choose a tag to compare

For the "numeric" data type it is sufficient to implement Clone. Before, Copy was required.

Check partial out of bounds

13 Oct 19:34
Compare
Choose a tag to compare
  • Added a check if the demanded partial derivative is valid. Before, it would just return 0, since the expression obviously does not depend on it.
  • Exposed number of variables to the public interface.

Unicode

08 Oct 16:25
Compare
Choose a tag to compare

Unicode input strings are now supported.