Released version 2.4.2

This commit is contained in:
jos 2015-11-14 13:36:30 +01:00
parent 526c1ddfc8
commit 5d6a114dc4
8 changed files with 22 additions and 23 deletions

View File

@ -1,7 +1,7 @@
# History
## not yet released, version 2.4.2
## 2015-11-14, version 2.4.2
- Fixed #502: Issue with `format` in some JavaScript engines.
- Fixed #503: Removed trailing commas and the use of keyword `import` as

View File

@ -1,6 +1,6 @@
{
"name": "mathjs",
"version": "2.4.1",
"version": "2.4.2",
"main": "./dist/math.min.js",
"license": "Apache-2.0",
"ignore": [

View File

@ -2,7 +2,7 @@
"name": "mathjs",
"repo": "josdejong/mathjs",
"description": "Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.",
"version": "2.4.1",
"version": "2.4.2",
"main": "dist/math.min.js",
"license": "Apache-2.0",
"keywords": [

25
dist/math.js vendored
View File

@ -6,8 +6,8 @@
* It features real and complex numbers, units, matrices, a large set of
* mathematical functions, and a flexible expression parser.
*
* @version 2.4.1
* @date 2015-10-29
* @version 2.4.2
* @date 2015-11-14
*
* @license
* Copyright (C) 2013-2015 Jos de Jong <wjosdejong@gmail.com>
@ -112,7 +112,7 @@ return /******/ (function(modules) { // webpackBootstrap
math.create = create;
// import data types, functions, constants, expression parser, etc.
math.import(__webpack_require__(13));
math['import'](__webpack_require__(13));
return math;
}
@ -2421,7 +2421,7 @@ return /******/ (function(modules) { // webpackBootstrap
}
if (c.length > precision) {
var removed = c.splice(precision);
var removed = c.splice(precision, c.length - precision);
if (removed[0] >= 5) {
var i = precision - 1;
@ -9118,7 +9118,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.units = [{
unit: matchingUnit.unit,
prefix: matchingUnit.prefix,
power: 1.0,
power: 1.0
}];
}
else {
@ -9145,8 +9145,7 @@ return /******/ (function(modules) { // webpackBootstrap
}
this.isUnitListSimplified = true;
return;
}
};
/**
* Get a string representation of the units of this Unit, without the value.
@ -10488,7 +10487,7 @@ return /******/ (function(modules) { // webpackBootstrap
base: BASE_UNITS.ELECTRIC_CHARGE,
prefixes: PREFIXES.LONG,
value: 1,
offset: 0,
offset: 0
},
C: {
name: 'C',
@ -10934,7 +10933,7 @@ return /******/ (function(modules) { // webpackBootstrap
0: '0',
1: '\\left(${args[0]}\\right)',
2: '\\left(\\left(${args[0]}\\right)+'
+ latex.symbols['i'] + '\\cdot\\left(${args[1]}\\right)\\right)',
+ latex.symbols['i'] + '\\cdot\\left(${args[1]}\\right)\\right)'
};
return complex;
@ -18684,7 +18683,7 @@ return /******/ (function(modules) { // webpackBootstrap
/* 79 */
/***/ function(module, exports) {
module.exports = '2.4.1';
module.exports = '2.4.2';
// Note: This file is automatically generated when building math.js.
// Changes made in this file will be overwritten.
@ -19613,7 +19612,7 @@ return /******/ (function(modules) { // webpackBootstrap
'examples': [
'lup([[2, 1], [1, 4]])',
'lup(matrix([[2, 1], [1, 4]]))',
'lup(sparse([[2, 1], [1, 4]]))',
'lup(sparse([[2, 1], [1, 4]]))'
],
'seealso': [
'lusolve', 'lsolve', 'usolve', 'matrix', 'sparse', 'slu'
@ -19677,7 +19676,7 @@ return /******/ (function(modules) { // webpackBootstrap
'description':
'Solves the linear system U * x = b where U is an [n x n] upper triangular matrix and b is a [n] column vector.',
'examples': [
'x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1, 1; 0, 0, 0, 1]), [1; 2; 3; 4])',
'x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1, 1; 0, 0, 0, 1]), [1; 2; 3; 4])'
],
'seealso': [
'lup', 'lusolve', 'lsolve', 'matrix', 'sparse'
@ -25236,7 +25235,7 @@ return /******/ (function(modules) { // webpackBootstrap
'OperatorNode:pow': {
associativity: 'right',
associativeWith: [],
latexRightParens: false,
latexRightParens: false
//the exponent doesn't need parentheses in
//LaTeX because it's 2 dimensional
//(it's on top)

2
dist/math.map vendored

File diff suppressed because one or more lines are too long

8
dist/math.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,3 @@
module.exports = '2.4.1';
module.exports = '2.4.2';
// Note: This file is automatically generated when building math.js.
// Changes made in this file will be overwritten.

View File

@ -1,6 +1,6 @@
{
"name": "mathjs",
"version": "2.4.1",
"version": "2.4.2",
"description": "Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.",
"author": "Jos de Jong <wjosdejong@gmail.com> (https://github.com/josdejong)",
"contributors": [