Expand description
Mechanical simplification / factorization rules for algebraic expressions.
Companion crate to minicas_core.
let mut n = Node::try_from("5x * 2x").unwrap();
// true means apply the full set of rules (i.e. factorization rules)
simplify(&mut n, true).unwrap();
assert_eq!(n, Node::try_from("10 * pow(x, 2)").unwrap());Functionsยง
- simplify
- Iteratively applies the simplification rules to the given node until none match.