jos
7d00987a3f
Fix #1404 : inconsistent rounding of negative numbers
2019-02-20 16:54:10 +01: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
SzechuanSage
6267b6b8ac
Add row and column functions for SparseMatrix
2019-02-20 20:22:08 +10:00
Harry Sarson
64de7e77a8
Use codecov to monitor code coverage ( #1408 )
2019-02-16 14:53:25 +01:00
jos
eb352342ba
Pass the factories that you want to create(factories, config)
2019-02-11 21:38:36 +01:00
jos
c0486162dd
Update latest docs for hasNumericValue and update package-lock.json
2019-02-09 22:13:23 +01:00
jos
554d2243de
Refactor hasNumericValue and sum.transform
2019-02-09 21:56:22 +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
c05715d0b2
Extra unit test checking that classes are not exposed in expression parser
2019-02-09 21:12:27 +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
e5ccd9cdf1
Remove support for factory names and dependencies containing paths
2019-02-06 11:49:09 +01:00
jos
ee88f830f5
Flatten expression.docs
2019-02-06 10:47:11 +01:00
jos
9402f0ee94
Moved class math.expression.Parser to math.type.Parser
2019-02-03 20:45:04 +01:00
jos
25be459ed3
Merge math.expression.parse into math.parse
2019-02-03 20:30:43 +01:00
jos
869d4960f9
Create and use factory.js to import all dependencies in main instance. Deprecate all old nested index.js files.
2019-01-30 14:38:47 +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
jos
97c16e780b
Fix tree-shaking not working
2019-01-26 20:25:44 +01:00
jos
420446452b
Fixed a bug the methods map, forEach, traverse, and transform
...
of `FunctionNode`
2019-01-25 22:27:59 +01:00
jos
19bc1e0fce
Implemented snapshot testing for all exported bundles and instances
2019-01-23 14:50:29 +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
Rian McGuire
00d6101da3
Fix incorrect LaTeX output of RelationalNodes ( #1383 )
...
The parameters were being output using toString(), rather than toTex().
2019-01-16 15:03:07 +01:00
jos
8ab0dbe031
Fill math and mathWithTransform
2019-01-16 12:39:25 +01:00
jos
078f1dd69f
Renamed methods .eval to .evaluate, updated all docs and examples accordingly
2019-01-16 10:11:32 +01:00
jos
90cc28a004
Testing for changed config again
2019-01-16 09:19:50 +01:00
jos
e36cb13c25
Implement util function warnOnce which is used for deprecated functionality
2019-01-14 21:16:44 +01:00
jos
9f3ec22ec8
Get bundles, bin, cli, and all travis tests working again 🎉
2019-01-09 11:36:03 +01:00
jos
05e6cfec7f
Doc generation working again. Renamed variance and evaluate occurrences in the docs.
2019-01-09 11:21:43 +01:00
jos
5eb024742e
Export physical constants in mainFull.js
2019-01-09 09:58:34 +01:00
jos
0721626422
Fix #1378 : negative bignumbers not formatted correctly
2019-01-08 20:27:59 +01:00
jos
4d037c103c
Refactored random, randomInt, and pickRandom in more compact typed functions
2019-01-05 18:15:46 +01:00
jos
1eee1f30dc
Move the contents of distribution.js into random, randomInt, and pickRandom
2019-01-05 16:49:07 +01:00
jos
396085805f
Minor fix in unit tests
2019-01-05 15:47:20 +01:00
jos
058177f746
Some more replacements of of to forEach and some
2019-01-02 10:59:20 +01:00
jos
5dd0a9ba9c
Get bundle working (with lazy loading)
2019-01-02 10:03:05 +01:00
jos
016e10109d
Fix functions having the actual config values.
...
Fix classes not listening for changes in config.
Decouple creating classes from `core`.
2018-12-30 20:41:06 +01:00
jos
a05d15e1db
Remove partial and memoization. Gives too much complications.
2018-12-23 15:01:29 +01:00
jos
2a96327286
Fix lint errors
2018-12-19 18:10:57 +01:00
jos
c32d410565
Refactor functions create and core. Use the new index files from all unit tests
2018-12-19 18:08:01 +01:00
bnlcas
e45c8805b3
Add axis for sum request 1244 ( #1310 )
...
* enable sum function to take an argument of dimension for a matrix fulfilling issue #1244
* added sum along a dimension to the unit test coverage for sum
* added information about sum along a dimension to the markdown
* fixed typo in error message
* made formatting chagnes for linter
* add sum to transformed functions
2018-12-09 13:09:36 +01:00
Gold Holk
2032a9d126
Fix object literal enable multiple lines ( #1328 ) ( #1349 )
...
* Allow object literal expression be multiple lines
* Add test for multiple lines object literal
2018-12-06 19:37:57 +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
dkenul
30e1bfc9d2
Fix #1337 : function format precision 0 bug ( #1338 )
2018-11-29 20:08:41 +01:00
jos
b6e80d687a
Refactor ceil.test.js
2018-11-28 16:47:25 +01:00
jos
c78c465167
Deprecate Matrix.storage()
2018-11-28 11:35:42 +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
8c7c0117bb
Remove some redundant unit tests
2018-11-24 22:15:02 +01:00
jos
21ba79957d
Refactored physical constants
2018-11-24 22:07:18 +01:00