jos
ab1b83a2f6
Remove generated files from repo, make tests independent from generated files
2019-05-12 15:14:13 +02:00
jos
4135467ef3
Fix broken unit test
2019-05-08 11:36:02 +02:00
jos
427c39c33b
Created ES5 and ES6 entry points
2019-04-28 20:56:08 +02:00
jos
bb9a1e2164
Rename *Full files to *Any
2019-04-27 20:27:26 +02:00
jos
f4d4180cea
Move all entry files under ./src/entry
2019-04-24 10:48:01 +02:00
jos
6081360d6a
Merged develop into modular_architecture
2019-04-13 16:51:51 +02:00
jos
69acb4f42a
Fix #1401 : bug in map and forEach of SparseMatrix not handling unordered indexes correctly
2019-02-20 16:32:28 +01:00
jos
83df09800b
Merge branch 'develop' into modular_architecture_merge
...
# Conflicts:
# HISTORY.md
# gulpfile.js
# package-lock.json
# package.json
# src/core/function/typed.js
# src/expression/transform/index.js
# src/function/statistics/sum.js
# src/function/utils/index.js
# src/type/unit/Unit.js
# src/version.js
# test/expression/node/FunctionNode.test.js
# test/type/unit/function/createUnit.test.js
# test/utils/bignumber/formatter.test.js
# test/utils/number.test.js
2019-02-09 21:26:25 +01: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
25be459ed3
Merge math.expression.parse into math.parse
2019-02-03 20:30:43 +01:00
jos
c42844a5d8
Flatten all type.* dependencies
2019-01-30 13:47:45 +01:00
Jos de Jong
6f92201e18
Fixed #1389 : one unit test failing on Windows
2019-01-28 22:23:08 +01:00
Eric Mansfield
aa68442238
Bignumber formatter fix ( #1387 )
...
* Fixed unit base recognition and formatting for user-defined units
* Fix for high precision bignumber formatting
2019-01-21 21:14:29 +01:00
jos
5eb024742e
Export physical constants in mainFull.js
2019-01-09 09:58:34 +01:00
jos
5dd0a9ba9c
Get bundle working (with lazy loading)
2019-01-02 10:03:05 +01:00
jos
4b3561e426
Use math.evaluate everywhere in the unit tests
2018-12-05 12:22:21 +01:00
Eric Mansfield
6c03139ac8
Immutable units ( #1344 )
...
* Fixed unit base recognition and formatting for user-defined units
* Removed side effects from Unit.format()
* minor fix
2018-12-05 10:11:52 +01:00
Eric Mansfield
92c58d92d0
Fix prefix tosi ( #1340 )
...
* Fixed unit base recognition and formatting for user-defined units
* Fixes prefix when calling Unit.toSI
* trailing space
2018-12-03 19:43:43 +01:00
jos
c529c14323
Split index file in two, having partials and fully created functions. Memoize created factory functions. Fix setting global epsilon of complex.js
2018-11-28 11:04:37 +01:00
jos
21ba79957d
Refactored physical constants
2018-11-24 22:07:18 +01:00
jos
942218f0e1
Refactory typed into a regular factory function without special registrations. Remove most listeners.
2018-11-24 18:19:18 +01:00
jos
c7e0d211b7
All functions use plain object config properties, and use a copy of the config (finalize them)
2018-11-21 21:09:20 +01:00
jos
c1a8004a12
- Created a util function factory
...
- Implemented resolving dependencies
- Converted the first few factory functions
2018-11-05 17:27:42 +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
jos
7bc1dd3c8c
Move isBigNumber, isMatrix, and isCollection into is.js
2018-10-31 18:56:41 +01:00
Eric Mansfield
0ce87a9920
Fixed unit base recognition and formatting for user-defined units ( #1287 )
2018-10-23 19:29:21 +02:00
jos
a715786690
Release v5.2.0
2018-10-05 21:25:21 +02:00
Eric Mansfield
aadb63ef3b
Bugfix for bignumber divided by unit ( #1270 )
...
* Bugfix for bignumber divided by unit
* Expanded out numeric.js, improved divideScalar.js
* Minor comments
2018-10-05 20:53:49 +02:00
Eric Mansfield
574c3b3428
Allow dimensionless units ( #1251 )
...
* Allow dimensionless units
* Fixed double quotes
* Fixed deepEqual
* FIxed for real this time
2018-09-15 21:09:24 +02: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
Jason Shin
c4662ab3bb
Implemented function getMatrixDataType ( #1172 )
...
* getMatrixDataType implemented
* implementing the last feedback ;)
* refactor
* hiding getArrayDataType from public API
2018-08-12 18:23:04 +02:00
ssaket
5b60ff9231
added test case
2018-06-15 12:32:58 +05:30
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
0583771e4e
Cleanup unused variables and imports
2018-06-13 17:25:51 +02:00
jos
cfd7698867
Fixed duplicate variable definitions
2018-06-13 16:36:13 +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
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
f87ec1c6db
Setup Babel compilation (WIP)
2018-06-06 14:31:33 +02:00
jos
a19ebaca1c
More fixes for unite tests on IE11 and Edge (part IV)
2018-06-06 10:21:54 +02:00