jos
ab1b83a2f6
Remove generated files from repo, make tests independent from generated files
2019-05-12 15:14:13 +02:00
jos
427c39c33b
Created ES5 and ES6 entry points
2019-04-28 20:56:08 +02:00
jos
f4d4180cea
Move all entry files under ./src/entry
2019-04-24 10:48:01 +02:00
jos
99da53da0e
Flatten everything in a mathjs instance to make it consistent with the ES6 exports. Create deprecation warnings for the old classes and functions
2019-02-07 21:24:51 +01:00
jos
5dd0a9ba9c
Get bundle working (with lazy loading)
2019-01-02 10:03:05 +01:00
jos
a2ae756fd1
Remove semicolons
2018-10-31 21:18:51 +01:00
jos
247aeabffa
Refactor all unit tests to ES6 import/export
2018-10-31 21:17:23 +01:00
greenkeeper[bot]
c5971b371a
Update standard to the latest version 🚀 ( #1226 )
...
* chore(package): update standard to version 12.0.0
* update to new lint version with --fix
I believe this mainly adds whitespace to `{}`'s.
* Replace assert.equal with assert.strictEqual
This breaks a lot of tests which I will endevour to fix in the next
commits.
* Fix most errors due to assert.strictEquals
Some instances of `strictEquals` are replaced by `deepEquals`.
`toString` has been used to make some string comparisions explicit.
Tests will still fail untill #1236 and #1237 are fixed.
* Fix assertion erros due to -0
With node 10, assert.strictEqual no longer considers `0 === -0`.
I missed these first time round as I was using node 8.
* Put toString correct side of bracket
I was converting the constructor to a string rather
than the result of the computation. Oops.
* Fixed #1236 : quantileSeq has inconsistant return
* Update package-lock
* Fixed #1237 : norm sometimes returning a complex number instead of number
* Fix cli tests
* More changes for standardjs, and fixes in unit tests
2018-09-08 16:33:58 +02:00
jos
1f0a37a0cb
Split initialized 'const' declarations into multiple statements
2018-06-13 15:31:37 +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
024b2a9e26
Fix most lint errors using npx standard --fix
2018-06-10 20:28:27 +02: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
4469f6bd0c
Remove support for implicit conversion of null to 0. See #830 .
2018-01-23 20:26:38 +01:00
jos
fad5d8cc07
Merged parseFunctions and parseIndex into parseAccessors. Restricted support for implicit multiplication, execute as accessors instead
2016-01-09 21:11:29 +01:00
jos
b5d3547914
Extended trigo, logical, relational functions with support for Units with BigNumber/Fraction value. (Many failing unit tests!)
2015-11-28 11:35:52 +01:00
jos
d81fe279cc
String input is now converted to numbers by default for all functions. Adding two strings will no longer concatenate them, but will convert the
...
strings to numbers and add them.
2015-05-19 22:18:40 +02:00
rjbaucells
8f5742a27e
element wise operations
2015-05-01 20:14:00 -04:00
jos
d3d3212633
Refactored all nodes into factory functions (see #342 )
2015-04-26 21:25:31 +02:00
jos
6e96d5a808
Merge branch 'develop' into v2
...
Conflicts:
HISTORY.md
bower.json
component.json
dist/math.js
dist/math.map
dist/math.min.js
lib/function/arithmetic/abs.js
lib/function/probability/gamma.js
lib/version.js
package.json
2015-04-22 21:43:56 +02:00
Max Bruckner
8ad525b66e
util/latex: get rid of many unnecessary curly braces
2015-04-19 11:08:00 +02:00
jos
3f0ef4f062
Refactored and, not, or, xor to typed-functions
2015-04-14 21:10:55 +02:00
Max Bruckner
7adf0ebc53
LaTeX tests for functions
2015-04-05 14:29:10 +02:00
jos
fe694bfd12
Dropped string support for bitwise operators
2014-12-25 15:07:30 +01:00
jos
eccf5d63e5
More strict tests
2014-12-25 14:51:17 +01:00
jos
33be634ffa
Dropped support for string and undefined from logical operators
2014-12-25 14:49:43 +01:00
Favian Contreras
75886b35c9
Changed array and matrix to element-wise. Added xor.
2014-12-25 04:43:55 -05:00
jos
af08c269f3
Added operators &, |, <<, >>, >>> not, and, or to the expression parser
2014-12-23 16:25:32 +01:00