mathjs v0.14.0 Release Notes
Release Date: 2013-10-08 // over 10 years ago-
- 0๏ธโฃ Introduced an option
math.options.matrix.default
which can have valuesmatrix
(default) orarray
. This option is used by the functionseye
,ones
,range
, andzeros
, to determine the type of matrix output. - Getting a subset of a matrix will automatically squeeze the resulting subset, setting a subset of a matrix will automatically unsqueeze the given subset.
- โ Removed concatenation of nested arrays in the expression parser.
You can now input nested arrays like in JavaScript. Matrices can be
concatenated using the function
concat
. - ๐ The matrix syntax
[...]
in the expression parser now creates 1 dimensional matrices by default.math.eval('[1,2,3,4]')
returns a matrix with size[4]
,math.eval('[1,2;3,4]')
returns a matrix with size[2,2]
. - ๐ Documentation is restructured and extended.
- ๐ Fixed non working operator
mod
(modulus operator).
- 0๏ธโฃ Introduced an option