mathjs v10.2.0 Release Notes

Release Date: 2022-03-01 // about 2 years ago
    • Implemented context options to control simplifications allowed in simplify, see #2399, #2391. Thanks @gwhitney.
    • Implemented function leafCount as a first simple measure of the complexity of an expression, see #2411, #2389. Thanks @gwhitney.
    • ๐Ÿ›  Fix #2413: improve combinations to return an integer result without rounding errors for larger values, see #2414. Thanks @gwhitney.
    • ๐Ÿ›  Fix #2385: function rotate missing in TypeScript definitions. Thanks @DIVYA-19.
    • ๐Ÿ›  Fix #2450: Add BigNumber to parameter type in math.unit and add TypeScript types for Unit.simplify and Unit.units (#2353). Thanks @joshhansen.
    • ๐Ÿ›  Fix #2383: detect infinite loops in simplify (#2405). Thanks @gwhitney.
    • ๐Ÿ›  Fix #1423: collect like factors and cancel like terms in sums (#2388). Thanks @gwhitney.