947 Commits

Author SHA1 Message Date
jos
88263c47c7 Woohoo fixed the last lint errors 2018-06-13 21:51:09 +02:00
jos
e844004cbf Removed redundant escape characters 2018-06-13 21:15:10 +02:00
jos
b0ec2d4739 Fixed undefined variables/globals 2018-06-13 18:09:19 +02:00
jos
9170e27618 Don't use multi line strings 2018-06-13 17:59:33 +02:00
jos
4254b7413f Dropped support for (non-primitive) instances of Number, Boolean, and String from functions clone and typeof 2018-06-13 17:56:18 +02:00
jos
600cfb403a Fix return statement should not contain assignment 2018-06-13 17:37:27 +02:00
jos
0583771e4e Cleanup unused variables and imports 2018-06-13 17:25:51 +02:00
jos
0513898a4b Fix using new for side effects 2018-06-13 16:31:18 +02:00
jos
f1ce473457 Consistend camel case naming of variables and functions 2018-06-13 16:09:51 +02:00
jos
1f0a37a0cb Split initialized 'const' declarations into multiple statements 2018-06-13 15:31:37 +02:00
jos
b6b36bfd9b Use strict equality checks everywhere (=== and !==) 2018-06-13 15:02:21 +02:00
jos
17f07ec098 Fixed incompatibility with v4 (index.js file) 2018-06-13 14:02:50 +02:00
jos
b3b96749bf Refactored var into const/let, and removed a lot of semicolons 2018-06-13 12:21:14 +02:00
jos
934ea83df7 Fixed linting issues "Expected consistent spacing" 2018-06-12 21:38:11 +02:00
jos
c2777c856b Fixed linting issues "Unexpected template string expression" 2018-06-12 21:18:45 +02:00
jos
024b2a9e26 Fix most lint errors using npx standard --fix 2018-06-10 20:28:27 +02:00
jos
b3568a4c4a Merge branch 'fix-derivative-tex' of https://github.com/joelhoover/mathjs into joelhoover-fix-derivative-tex 2018-06-10 14:08:56 +02:00
Joel Hoover
6722b448d1 Merge branch 'develop' into fix-derivative-tex 2018-06-07 21:43:20 -04:00
Joel Hoover
d2164c4fc5 Properly handle TeXing of 'derivative', and added test cases for regression (fixes josdejong/mathjs#1103) 2018-06-07 21:39:16 -04:00
jos
635cd0b574 Revert using /lib/ in tests, use /src/ again. Fixed coverage testing. WIP 2018-06-06 22:11:52 +02:00
jos
79071b5e4f Fixed npm run test:browser not working (WIP) 2018-06-06 21:30:41 +02:00
jos
0c084b8e20 npm test working now 2018-06-06 15:36:36 +02:00
jos
f87ec1c6db Setup Babel compilation (WIP) 2018-06-06 14:31:33 +02:00
jos
1ddbf18cef Fix some more failing unit tests on browsers (part V) 2018-06-06 10:56:54 +02:00
jos
36f89a3598 Merge branch 'develop' into browser_testing
# Conflicts:
#	test/function/arithmetic/pow.test.js
2018-06-06 10:54:31 +02:00
jos
cf5c1c1af8 Fixes #1054: renamed eye to identity 2018-06-06 10:52:08 +02:00
jos
a19ebaca1c More fixes for unite tests on IE11 and Edge (part IV) 2018-06-06 10:21:54 +02:00
jos
814abf3f5d Merge branch 'develop' into browser_testing
# Conflicts:
#	package-lock.json
2018-06-06 09:51:37 +02:00
jos
63d05479b4 Merge branch 'develop' into v5 2018-06-06 09:45:13 +02:00
jos
8b5586914a More unit test tweaks to make everything work on IE 11 and Edge (part III) 2018-06-06 09:39:04 +02:00
jos
ee008d992e Fixes failing unit tests on IE11/Edge 2018-06-04 21:19:10 +02:00
Eric Mansfield
07a48b4209 Bug fix in inv.js 2018-06-01 18:54:56 -06:00
Eric Mansfield
f6e5a47cda Improved performance of determinant 2018-05-29 22:37:47 -06:00
Jos de Jong
517cd7d15a
Merge pull request #1114 from ericman314/matrix-inverse-debugging
Add pivoting to matrix inverse algorithm, and tests
2018-05-29 20:41:49 +02:00
Eric Mansfield
ad390e8903 Add pivoting to matrix inverse algorithm, and tests 2018-05-28 14:58:55 -06:00
jos
d08223e7a5 Implemented functions equalText. See #1085. 2018-05-27 14:13:17 +02:00
jos
94accc1889 Implemented function compareText, see #1085 2018-05-26 18:41:31 +02:00
Jos de Jong
553531b57c
Merge pull request #1093 from harrysarson/sep-tests
Separate tests that depend on node
2018-05-10 19:40:12 +02:00
jos
0abdfbe590 Upgraded dependencies for complex.js and fraction.js (see #1100) 2018-05-07 21:16:07 +02:00
jos
7c4920a9a3 Merge branch 'develop' into v5 2018-05-05 21:20:50 +02:00
Jos de Jong
b5c3ff2bdf
Merge pull request #1097 from jackschmidt/ctranspose
Add complex transpose. A' now takes conjugate.
2018-05-05 21:17:46 +02:00
Jos de Jong
7332993df7
Merge pull request #976 from ericman314/expm
Matrix exponential
2018-05-05 21:13:12 +02:00
jos
835aab10b5 Merge branch 'develop' into v5
# Conflicts:
#	lib/expression/embeddedDocs/function/arithmetic/sqrt.js
2018-05-05 09:53:51 +02:00
Eric Mansfield
7d66e34bad Added support for SparseMatrix 2018-05-02 20:51:43 -06:00
Jack Schmidt
9a63e0e82e Bugix for Frobenius norm of complex matrices.
Also improve efficiency from cubic to quadratic by avoiding taking
the trace of a mat-mat multiplication, and rather just summing the
formula for the diagonal entries.

Include a unit test to avoid regressions.
2018-05-02 10:58:42 -04:00
Harry Sarson
45fa1edb16
remove now unused require for matrixmarket
The code that depended on matrixmarket has been removed in c23761be but
I forgot to remove the `require()` in that commit.
2018-05-02 15:20:43 +01:00
Jack Schmidt
e1f0791574 Add complex transpose. A' now takes conjugate.
In matlab and octave the expression A' produces the Hermitian
conjugate, the complex conjugate of the transpose.

Now transpose produces the transpose, while ctranspose produces
the conjugate transpose. These are equal for real numbers, while
for complex numbers only the conjugate transpose is of much use.
2018-05-02 10:14:10 -04:00
Harry Sarson
29052cbdcc
use math.create() to prevent tests changing global state.
Tests should not import functions into global math namespace.
2018-05-01 17:40:57 +01:00
Harry Sarson
c23761bee0
separate tests that depend on node
Ddds new directory 'test/node' for tests which require node.
In practice these tests are the ones that depend on matrixmarket.
2018-05-01 17:38:51 +01:00
Jos de Jong
9006e76f7e
Merge pull request #1046 from harrysarson/es6-maths
Implementation of EMCA 2015 maths functions in mathjs
2018-04-30 20:34:57 +02:00