All Versions
243
Latest Version
Avg Release Cycle
27 days
Latest Release
539 days ago

Changelog History
Page 19

  • v2.5.0 Changes

    December 05, 2015
    • ๐Ÿ‘ Implemented support for numeric types Fraction and BigNumber in units.
    • Implemented new method toNumeric for units.
    • Implemented new units arcsec, arcsecond, arcmin, arcminute. Thanks @devdevdata222.
    • Implemented new unit Herts (Hz). Thanks @SwamWithTurtles.
    • ๐Ÿ›  Fixed #485: Scoping issue with variables both used globally as well as in a function definition.
    • ๐Ÿ›  Fixed: Function number didn't support Fraction as input.
  • v2.4.2 Changes

    November 14, 2015
    • ๐Ÿ›  Fixed #502: Issue with format in some JavaScript engines.
    • ๐Ÿ›  Fixed #503: Removed trailing commas and the use of keyword import as property, as this gives issues with old JavaScript engines.
  • v2.4.1 Changes

    October 29, 2015
    • ๐Ÿ›  Fixed #480: nthRoot not working on Internet Explorer (up to IE 11).
    • ๐Ÿ›  Fixed #490: nthRoot returning an error for negative values like nthRoot(-2, 3).
    • ๐Ÿ›  Fixed #489: an issue with initializing a sparse matrix without data. Thanks @Retsam.
    • ๐Ÿ›  Fixed: #493: function combinations did not throw an exception for non-integer values of k.
    • ๐Ÿ›  Fixed: function import did not override typed functions when the option override was set true.
    • ๐Ÿ›  Fixed: added functions math.sparse and math.index to the reference docs, they where missing.
    • ๐Ÿ›  Fixed: removed memoization from gamma and factorial functions, this could blow up memory.
  • v2.4.0 Changes

    October 09, 2015
    • โž• Added support in the expression parser for mathematical alphanumeric symbols in the expression parser: unicode range \u{1D400} to \u{1D7FF} excluding invalid code points.
    • Extended function distance with more signatures. Thanks @kv-kunalvyas.
    • ๐Ÿ›  Fixed a bug in functions sin and cos, which gave wrong results for BigNumber integer values around multiples of tau (i.e. sin(bignumber(7))).
    • ๐Ÿ›  Fixed value of unit stone. Thanks @Esvandiary for finding the error.
  • v2.3.0 Changes

    September 19, 2015
    • Implemented function distance. Thanks @devanp92.
    • ๐Ÿ‘ Implemented support for Fractions in function lcm. Thanks @infusion.
    • Implemented function cbrt for numbers, complex numbers, BigNumbers, Units.
    • Implemented function hypot.
    • โฌ†๏ธ Upgraded to fraction.js v3.0.0.
    • ๐Ÿ›  Fixed #450: issue with non sorted index in sparse matrices.
    • ๐Ÿ›  Fixed #463, #322: inconsistent handling of implicit multiplication.
    • ๐Ÿ›  Fixed #444: factorial of infinity not returning infinity.
  • v2.2.0 Changes

    August 30, 2015
    • Units with powers (like m^2 and s^-1) now output with the best prefix.
    • ๐Ÿ‘ Implemented support for units to abs, cube, sign, sqrt, square. Thanks @ericman314.
    • Implemented function catalan (Combinatorics). Thanks @devanp92.
    • ๐Ÿ‘Œ Improved the canDefineProperty check to return false in case of IE8, which has a broken implementation of defineProperty. Thanks @golmansax.
    • ๐Ÿ›  Fixed function to not working in case of a simplified unit.
    • ๐Ÿ›  Fixed #437: an issue with row swapping in lup, also affecting lusolve.
  • v2.1.1 Changes

    August 12, 2015
    • ๐Ÿ›  Fixed wrong values of the physical constants speedOfLight, molarMassC12, and magneticFluxQuantum. Thanks @ericman314 for finding two of them.
  • v2.1.0 Changes

    August 11, 2015
    • Implemented derived units (like 110 km/h in m/s). Thanks @ericman314.
    • ๐Ÿ‘ Implemented support for electric units. Thanks @ericman314.
    • Implemented about 50 physical constants like speedOfLight, gravity, etc.
    • Implemented function kldivergence (Kullback-Leibler divergence). Thanks @saromanov.
    • Implemented function mode. Thanks @kv-kunalvyas.
    • โž• Added support for unicode characters in the expression parser: greek letters and latin letters with accents. See #265.
    • ๐Ÿ“œ Internal functions Unit.parse and Complex.parse now throw an Error instead of returning null when passing invalid input.
  • v2.0.1 Changes

    July 29, 2015
    • ๐Ÿ›  Fixed operations with mixed fractions and numbers be converted to numbers instead of fractions.
  • v2.0.0 Changes

    July 28, 2015
    • ๐Ÿ”จ Large internal refactoring:
      • performance improvements.
      • allows to create custom bundles
      • functions are composed using typed-function and are extensible
    • ๐Ÿ‘ Implemented support for fractions, powered by the library fraction.js.
    • Implemented matrix LU decomposition with partial pivoting and a LU based linear equations solver (functions lup and lusolve). Thanks @rjbaucells.
    • ๐Ÿ”ง Implemented a new configuration option predictable, which can be set to true in order to ensure predictable function output types.
    • Implemented function intersect. Thanks @kv-kunalvyas.
    • ๐Ÿ‘ Implemented support for adding toTex properties to custom functions. Thanks @FSMaxB.
    • ๐Ÿ‘ Implemented support for complex values to nthRoot. Thanks @gangachris.
    • Implemented util functions isInteger, isNegative, isNumeric, isPositive, and isZero.

    ๐Ÿ’ฅ breaking changes

    • 0๏ธโƒฃ String input is now converted to numbers by default for all functions.
    • โž• Adding two strings will no longer concatenate them, but will convert the strings to numbers and add them.
    • Function index does no longer accept an array [start, end, step], but instead accepts an array with arbitrary index values. It also accepts a Range object as input.
    • Function typeof no longer returns lower case names, but now returns lower case names for primitives (like number, boolean, string), and upper-camel-case for non-primitives (like Array, Complex, Function).
    • ๐Ÿ‘ Function import no longer supports a module name as argument. Instead, modules can be loaded using require: math.import(require('module-name')).
    • Function import has a new option silent to ignore errors, and throws errors on duplicates by default.
    • Method Node.compile() no longer needs math to be passed as argument.
    • Reintroduced method Node.eval([scope]).
    • Function sum now returns zero when input is an empty array. Thanks @FSMAxB.
    • The size of Arrays is no longer validated. Matrices will validate this on creation.