All Versions
243
Latest Version
Avg Release Cycle
27 days
Latest Release
539 days ago
Changelog History
Page 19
Changelog History
Page 19
-
v2.5.0 Changes
December 05, 2015- ๐ Implemented support for numeric types
Fraction
andBigNumber
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 supportFraction
as input.
- ๐ Implemented support for numeric types
-
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.
- ๐ Fixed #502: Issue with
-
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 likenthRoot(-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 ofk
. - ๐ Fixed: function
import
did not override typed functions when the option override was set true. - ๐ Fixed: added functions
math.sparse
andmath.index
to the reference docs, they where missing. - ๐ Fixed: removed memoization from
gamma
andfactorial
functions, this could blow up memory.
- ๐ Fixed #480:
-
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
andcos
, 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.
- Implemented function
-
v2.2.0 Changes
August 30, 2015- Units with powers (like
m^2
ands^-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 ofdefineProperty
. Thanks @golmansax. - ๐ Fixed function
to
not working in case of a simplified unit. - ๐ Fixed #437: an issue with row swapping in
lup
, also affectinglusolve
.
- Units with powers (like
-
v2.1.1 Changes
August 12, 2015- ๐ Fixed wrong values of the physical constants
speedOfLight
,molarMassC12
, andmagneticFluxQuantum
. Thanks @ericman314 for finding two of them.
- ๐ Fixed wrong values of the physical constants
-
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
andComplex.parse
now throw an Error instead of returning null when passing invalid input.
- Implemented derived units (like
-
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
andlusolve
). 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
, andisZero
.
๐ฅ 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 aRange
object as input. - Function
typeof
no longer returns lower case names, but now returns lower case names for primitives (likenumber
,boolean
,string
), and upper-camel-case for non-primitives (likeArray
,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 optionsilent
to ignore errors, and throws errors on duplicates by default. - Method
Node.compile()
no longer needsmath
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.
- ๐จ Large internal refactoring: