4118 Commits

Author SHA1 Message Date
Cameron Tacklind
7fc460624a
Use prepare script (#1751)
Using `prepare` step to build ensures that dependency can be installed directly from git repository
https://docs.npmjs.com/misc/scripts#prepublish-and-prepare

`prepublishOnly` is run **after** `prepare` script so this should have no effect.

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-03-02 19:52:07 +01:00
jos
033a6baac7 Publish v6.6.1 v6.6.1 2020-02-26 14:55:28 +01:00
jos
52f6defe1c Fix examples in documentation of row and column, see #230 2020-02-26 11:16:44 +01:00
greenkeeper[bot]
cb8cd6d7bd
Update uglify-js to the latest version 🚀 (#1745)
* chore(package): update uglify-js to version 3.8.0

* chore(package): update lockfile package-lock.json
2020-02-18 17:37:28 +00:00
greenkeeper[bot]
ddf07127f3
Update webpack to the latest version 🚀 (#1740)
* chore(package): update webpack to version 4.41.6

* chore(package): update lockfile package-lock.json
2020-02-11 22:08:51 +01:00
greenkeeper[bot]
a051db8c7f
Update codecov to the latest version 🚀 (#1739)
* chore(package): update codecov to version 3.6.5

* chore(package): update lockfile package-lock.json
2020-02-07 21:55:08 +01:00
greenkeeper[bot]
7afe24f6e3
Update uglify-js to the latest version 🚀 (#1735)
* chore(package): update uglify-js to version 3.7.7

* chore(package): update lockfile package-lock.json

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-02-06 22:01:42 +01:00
greenkeeper[bot]
d45cedd2c2
Update handlebars to the latest version 🚀 (#1736)
* chore(package): update handlebars to version 4.7.3

* chore(package): update lockfile package-lock.json
2020-02-05 14:31:20 +00:00
jos
3756b66069 Update history 2020-02-04 20:36:30 +01:00
David Bramwell
88733f70af
Let simplify handle a/(b/c) (#1734)
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-02-04 20:34:37 +01:00
jos
1d5ad22296 Remove redundant code causing a vague error, see #1724 2020-02-04 20:30:35 +01:00
jos
7cbd0d3e97 Publish v6.6.0 v6.6.0 2020-02-01 17:51:52 +01:00
jos
506d67df15 Add a caret to dependencies (like) ^1.2.3) to allow downstream updates without having to await a new release of mathjs 2020-02-01 17:48:36 +01:00
jos
841224424b Update devDependencies 2020-02-01 17:46:19 +01:00
jos
8bf5206daf Fix lint error 2020-02-01 17:42:32 +01:00
jos
54b4afda06 Merge remote-tracking branch 'origin/develop' into develop 2020-02-01 17:37:56 +01:00
jos
0c863f4e07 Fixed #1727: validate matrix size when creating a DenseMatrix using fromJSON 2020-02-01 17:37:34 +01:00
greenkeeper[bot]
2a71fe8438 Update mocha to the latest version 🚀 (#1723)
* chore(package): update mocha to version 7.0.1

* chore(package): update lockfile package-lock.json
2020-01-26 09:46:20 +00:00
jos
b9246d9a45 Replace Array.fill with a helper function, replace var with let/const, return .values as Matrix too when input is a Matrix. See #1705 2020-01-20 20:08:34 +01:00
Arkajit Mandal
0b188e385c Adding eigs function (#1705)
* eigs test file initialize

* file for function for diagonalization of a real symmetrix matrix

* eigs typed function written according to mathjs requirements

* some linting issues addressed

* more linting issues in eigs

* linting passed for eigs (blank template function)

* making eigs fail

* eigs added to factory any

* initial check of input in eigs

* linting issues fix in eigs

* added rotation and theta matrix

* diagonalization loop added

* diagonalization result return

* diagonalization returns eigenvalue and eigenvectors

* function for updating Sij

* function for updating matrix

* a small bug fix

* some linting fixed in eigs

* lint and bug fix at eigs

* linting passed in eigs

* tests for input in eigs

* tests for trivial eigenvalue problem (sanity check)

* 2x2 check for non-diagonal matrix

* sorting added to eigs

* sorting function lint fix in eigs

* example for eigs updated

* 3x3 diagonalization by eigs passed

* bug in eigenvector

* eigenvalues seem to work

* cloning array so that original matrix do not get transformed in eigs

* eigenvector check

* eigenvector deep check and eigs description modified

* embedding dos for eigs

* doc for eigs fix

* slight change in example

* adding checkInput type

* type error for bad matrix elements

* type error for every element

* name change for typecheck function

* check matrix type of array input

* type error message update in eigs

* type error message grammer in eigs

* eigs bug fix

* eigs bug fix in check function

* eigs typecheck test

* some lint fix in eigs and corresponding tests

* before adding bingNumber implementation in eigs

* support for fractions

* obtain angle for bigNumber type

* theta for bignumbers

* update overlap for bigNumber

* jacobi rotation of input matrix for BigNumbers

* largest element for bigNumbers

* diagonalization for bigNumbers

* adding dependedncies

* diagonization for bigNumber

* diag for bigNumber is tested

* linting fix for eig and eigs test

* problem for bigNumber fix

* error message modification for eigs

* more coverage for eigs function

* eigs test bug fix

* simplify test

* is Symmetric function

* use matrix instead in eigs

* slight cleanup

* is symmetric bug fix

* no need to return in isSymmetrix

* small bug fix for fractions

* using scalar function when possible

* small lint correction

* return object in eigs

* bug fix in array eigs

* test object implementation

* description update

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-01-20 19:50:07 +01:00
jos
af42bb59b5 update devDependencies 2020-01-15 08:23:51 +01:00
jos
f7402d7d6a Update devDependencies 2020-01-13 20:59:58 +01:00
greenkeeper[bot]
62178a97f5 Update handlebars to the latest version 🚀 (#1711)
* chore(package): update handlebars to version 4.7.0

* chore(package): update lockfile package-lock.json
2020-01-11 09:30:30 +01:00
greenkeeper[bot]
173620b04b Update handlebars to the latest version 🚀 (#1710)
* chore(package): update handlebars to version 4.6.0

* chore(package): update lockfile package-lock.json
2020-01-09 20:36:24 +01:00
jos
b063d35395 Publish v6.5.0 v6.5.0 2020-01-08 10:29:05 +01:00
Eric Mansfield
97ff95b32c Added baseName option to createUnit (#1708)
* Fixed unit base recognition and formatting for user-defined units

* Added baseName option to createUnit

* Trailing spaces

* Fixed line in docs
2020-01-08 10:23:23 +01:00
greenkeeper[bot]
0f36dd24d4 Update underscore to the latest version 🚀 (#1706)
* chore(package): update underscore to version 1.9.2

* chore(package): update lockfile package-lock.json
2020-01-07 10:44:28 +00:00
jos
ec19f010e7 Commit updated version in version.js 2020-01-06 20:29:46 +01:00
jos
b3236b6592 Publish v6.4.0 v6.4.0 2020-01-06 20:03:52 +01:00
jos
c1263bc040 Update history 2020-01-04 21:05:21 +01:00
Veeloxfire
10449b2326 Extend distance with support for n-dimensions 2020-01-04 21:03:53 +01:00
jos
e0dd9049b0 Update maintenance badge for 2020 2020-01-04 09:54:44 +01:00
jos
dd414a6e93 Publish v6.3.0 v6.3.0 2019-12-31 11:44:02 +01:00
jos
10147d0821 Update history and contributor list 2019-12-31 11:32:21 +01:00
Bartosz Leoniak
1f10538588 Improve performance of factorial for BigNumbers (#1691) 2019-12-31 11:31:35 +01:00
greenkeeper[bot]
64972a0adc Update webpack to the latest version 🚀 (#1700)
* chore(package): update webpack to version 4.41.5

* chore(package): update lockfile package-lock.json
2019-12-28 12:58:43 +00:00
greenkeeper[bot]
5ceba2e8f7 Update uglify-js to the latest version 🚀 (#1698)
* chore(package): update uglify-js to version 3.7.3

* chore(package): update lockfile package-lock.json
2019-12-27 10:31:42 +00:00
greenkeeper[bot]
03c0f651b1 Update nyc to the latest version 🚀 (#1696)
* chore(package): update nyc to version 15.0.0

* chore(package): update lockfile package-lock.json
2019-12-23 09:13:37 +01:00
jos
e7e51428be Update devDependencies 2019-12-21 14:19:56 +01:00
greenkeeper[bot]
f5dcb74afe Update webpack to the latest version 🚀 (#1692)
* chore(package): update webpack to version 4.41.3

* chore(package): update lockfile package-lock.json
2019-12-16 20:05:33 +01:00
jos
e447c0df03 Update Safari version in BrowserStack testing 2019-12-15 22:05:22 +01:00
jos
af74db9c33 Update android version in BrowserStack testing 2019-12-15 21:57:54 +01:00
jos
d20be9b67f Update firefox and chrome versions in BrowserStack testing 2019-12-15 21:50:38 +01:00
jos
fd6d627b66 Revert updating browser versions for BrowserStack 2019-12-15 21:42:05 +01:00
jos
e798a72d05 Update versions of BrowserStack browsers 2019-12-15 10:04:00 +01:00
jos
8f577d4557 Update devDependencies 2019-12-15 09:45:08 +01:00
jos
aa2681552c Fix mismatch in console label and actual calculation 2019-12-15 09:40:13 +01:00
jos
08de8781b4 Fix linting issues (see PR #1690) 2019-12-15 09:36:19 +01:00
kmdrGroch
b52541d5f4 feat: factorial benchmark 2019-12-11 00:22:52 +00:00
greenkeeper[bot]
6978751be5 Update uglify-js to the latest version 🚀 (#1688)
* chore(package): update uglify-js to version 3.7.2

* chore(package): update lockfile package-lock.json
2019-12-09 19:56:00 +01:00