4137 Commits

Author SHA1 Message Date
josdejong
9f8564be4f Update history 2020-04-08 16:15:11 +02:00
Jos de Jong
7833e237a2
Fix #1808: toNumber() not working on a unitless unit (#1811) 2020-04-08 16:12:42 +02:00
Veeloxfire
f6a8a23e8b
Prefix the cli test with 'node' so it works on windows (#1807)
* Prefix the cli test with 'node' so it works on windows

Shouldnt provide any issues for other systems I hope

* Revert "Prefix the cli test with 'node' so it works on windows"

This reverts commit 4cd270493aeba0a9fad1661258c7ccc286934f53.

* Revert "Revert "Prefix the cli test with 'node' so it works on windows""

This reverts commit 268b5949a817fd416dbada72f1334ccaac0e3dfa.

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-04-08 13:58:12 +02:00
dependabot-preview[bot]
b1850b5707
Bump @babel/preset-env from 7.9.0 to 7.9.5 (#1810)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.0 to 7.9.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-08 10:50:16 +02:00
jos
3153de27ee Clarify the documentation on scope when using rawArgs, see #1055 2020-04-04 17:24:36 +02:00
jos
a23f9c385f Update history 2020-04-04 17:16:55 +02:00
Veeloxfire
fae65276ba
Should be able to take NAMED_DELIMITER as object keys (#1798)
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-04-04 17:14:39 +02:00
jos
7e8d128bd6 Fixed eigs not using config.epsilon (see #1789) 2020-04-04 17:05:30 +02:00
jos
b8f2636d03 Update devDependencies 2020-04-04 11:43:25 +02:00
jos
1496cc597e Publish v6.6.2 v6.6.2 2020-03-29 16:28:02 +02:00
jos
5624e6938f Fix #1789: Function eigs not calculating with BigNumber precision when input contains BigNumbers 2020-03-29 16:17:19 +02:00
jos
b2af1d7a64 Update devDependencies 2020-03-29 15:12:45 +02:00
Harry Sarson
08feb7fc79
remove contributors from package.json in favour of AUTHORS (#1774)
* remove contributors from package.json in favour of AUTHORS

The contributors section of our package.json is _very_ long and
manually updating can (?) be a pain.

I took a leaf out of nodejs's book and copied their update-authors
script [1].

[1]: https://github.com/nodejs/node/blob/master/tools/update-authors.js

* remove some of my many emails

* add a couple more mail mappings

* get lint passing

* add instruction to update-authors

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2020-03-23 19:57:20 +01:00
jos
1dbae6e755 Update devDependencies 2020-03-23 18:34:15 +01:00
Harry Sarson
d8d9a935bf
remove trailing space in HISTORY (#1775) 2020-03-14 11:25:50 +01:00
greenkeeper[bot]
86606dc7be
Update babel7 to the latest version 🚀 (#1762)
* chore(package): update @babel/core to version 7.8.7

* chore(package): update @babel/preset-env to version 7.8.7

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

Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-06 20:24:14 +01:00
jos
13ce295098 Update devDependencies 2020-03-02 20:01:47 +01:00
jos
6389ed180e Update history and contributor list 2020-03-02 19:58:26 +01:00
jos
92723959da Create a test:all script to remove duplication (see #1751) 2020-03-02 19:58:15 +01:00
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