Expand description

Exmex’ prelude can be imported via use exmex::prelude::*;.

The prelude contains

  • expression trait Express,
  • its implementation FlatEx,
  • and the partial differentiation of FlatEx, if the feature partial is active.

Structs

This is the core data type representing a flattened expression and the result of parsing a string. We use flattened expressions to make efficient evaluation possible. Simplified, a flat expression consists of a SmallVec of nodes and a SmallVec of operators that are applied to the nodes in an order following operator priorities.

Traits

feature = "partial" - Trait for partial differentiation.

Expressions implementing this trait can be parsed from stings, evaluated for specific variable values, and unparsed, i.e., transformed into a string representation.

Parse a value from a string