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
11a65ebdb1
Remove special case from allowed factories
2019-02-02 18:06:50 +01:00
jos
11fd0d52f9
Flatten reviver
2019-02-02 18:05:32 +01:00
jos
129848f347
Flatten classes under expression.node
2019-02-02 17:52:21 +01:00
jos
ea1db1b14b
Move errorTransform.js to utils folder
2019-02-02 17:18:12 +01:00
jos
7f17ccb258
Change embedded docs from factory function in regular object
2019-01-30 15:03:50 +01:00
jos
16e675f5b8
Fix test broken on node.js 6
2019-01-30 14:54:02 +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
Jack Mason
e8b8a36aab
Separating Binary Prefixes ( #1390 )
...
* added BINARY_LONG_SI, BINARY_LONG_IEC, BINARY_SHORT_SI and BINARY_SHORT_IEC prefixes
* use Object.assign to make more succinct
2019-01-28 20:44:27 +01:00
jos
97c16e780b
Fix tree-shaking not working
2019-01-26 20:25:44 +01:00
jos
f084bdf5db
Publish v5.4.2
2019-01-25 22:29:20 +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
860555a0d8
Fix math.simplify('add(2, 3)') throwing an error
2019-01-16 10:33:46 +01:00
jos
e2ad8c80a8
Move everything depending on math and mathWithTransform down
2019-01-16 10:26:51 +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
ec0f9bd715
Publish v5.4.1
2019-01-10 22:07:03 +01:00
Maximilian
6c661f609f
Update min.js
...
change maximum to minimum
2019-01-10 12:26:15 +00: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
Albert Emil
87aaff6fd1
Fixed small typo in typed.md ( #1375 )
...
* Update typed.md
Change a minor typo in the parameters table (description for `signatures`).
* Update typed.js
2019-01-08 20:19:39 +01:00
jos
e178f3fbd8
Remove the need to have the Complex and Fraction classes for type checking
2019-01-05 22:11:33 +01:00
jos
5e8f0cbea5
Fix checking whether size is a Matrix
2019-01-05 18:17:32 +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
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
45f6f547c3
Replace Object.values with a util function
2018-12-30 22:34:13 +01:00
jos
1043172df1
Fixed accidentally entered character F
2018-12-30 22:24:19 +01:00
jos
8b5f163284
Fixed typo in error message
2018-12-30 20:53:08 +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
0d1260334c
Remove getting config on import
2018-12-19 18:09:29 +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
jos
088f84521c
Publish v5.4.0
2018-12-09 13:15:33 +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
jos
6835362210
Remove sortFactories which turns out to be slow and redundant :D
2018-12-05 11:50:49 +01:00
jos
1dfeb83ab2
Rename eval to evaluate
2018-12-05 10:58:48 +01:00