162 Commits

Author SHA1 Message Date
jos
427c39c33b Created ES5 and ES6 entry points 2019-04-28 20:56:08 +02:00
jos
33cead1327 Improved deprecation errors and warnings. Introduce lazy again for factories. 2019-04-22 09:45:57 +02:00
jos
6081360d6a Merged develop into modular_architecture 2019-04-13 16:51:51 +02:00
SzechuanSage
f7364372fb Merge branch 'develop' of https://github.com/SzechuanSage/mathjs into develop 2019-03-08 23:56:31 +10:00
SzechuanSage
0ccfb6caba Remove row and function methods from DenseMatrix and SparseMatrix 2019-03-08 22:58:39 +10:00
jos
6acadd71a0 Create number implementations of all functions in mainNumber.js 2019-03-06 21:49:30 +01:00
Jos de Jong
d2767e3662
Merge branch 'develop' into develop 2019-03-02 09:34:27 +01:00
jos
70cbc3ec30 Replace http urls with https where supported 2019-02-27 13:08:42 +01:00
jos
241d45cbbe Improve use cases, POC of recipes 2019-02-24 15:29:44 +01:00
SzechuanSage
971268d302 Merge branch 'develop' of https://github.com/SzechuanSage/mathjs into develop 2019-02-24 17:01:14 +10:00
SzechuanSage
9e2cb1dc78 Use subset in row and column functions 2019-02-24 14:44:34 +10:00
SzechuanSage
e8f2f6ac20 Add row and column functions for DenseMatrix 2019-02-24 14:43:39 +10:00
Jos de Jong
4441ac3c68
Merge branch 'develop' into develop 2019-02-23 16:04:18 +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
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
b4bf884e24 createChainClass.lazy, drop support for non-lazy loading 2019-02-06 14:28:17 +01:00
jos
e5ccd9cdf1 Remove support for factory names and dependencies containing paths 2019-02-06 11:49:09 +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
19bc1e0fce Implemented snapshot testing for all exported bundles and instances 2019-01-23 14:50:29 +01:00
jos
078f1dd69f Renamed methods .eval to .evaluate, updated all docs and examples accordingly 2019-01-16 10:11:32 +01:00
jos
5eb024742e Export physical constants in mainFull.js 2019-01-09 09:58:34 +01:00
jos
1eee1f30dc Move the contents of distribution.js into random, randomInt, and pickRandom 2019-01-05 16:49:07 +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
c32d410565 Refactor functions create and core. Use the new index files from all unit tests 2018-12-19 18:08:01 +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
01a230a996 Add /* #__PURE__ */ everywhere to enable tree-shaking in webpack 2018-12-01 11:21:36 +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
21ba79957d Refactored physical constants 2018-11-24 22:07:18 +01:00
jos
b92cd833eb Refactored the constants into factories 2018-11-24 20:59:21 +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
9750beb841 Cleanup redundant local variables 2018-11-21 18:18:10 +01:00
jos
19275e5eaa Moved all toTex properties to latex util file 2018-11-21 18:08:21 +01:00
jos
0d93f45dfd Many functions in place in mainAll 2018-11-09 17:39:35 +01:00
jos
493bfa9a0c Enable lazy loading again 2018-11-09 14:37:55 +01:00
jos
b0db2fc4ab Renamed scope to math again (prevent confusion) 2018-11-09 14:23:11 +01:00
jos
4c35d62158 Refactor the last files with commonjs 2018-11-09 14:07:14 +01:00
jos
7a48d972ce Refactored all statistics functions. Renamed var to variance 2018-11-09 12:33:13 +01:00
jos
027b1dd308 Cleanup fixme's that are resolved 2018-11-09 11:53:19 +01:00
jos
77c6291331 Refactored all logical, bitwise, and relational functions 2018-11-09 11:51:27 +01:00
jos
d7ed170ba5 Converted all function transforms, expression functions, and embedded docs 2018-11-09 11:16:55 +01:00
jos
a0c8a40507 Refactor constants 2018-11-08 15:51:05 +01:00
jos
9faf91f697 Convert all data types, converted all algebra functions. Fixes in order of importing factories. 2018-11-08 15:02:18 +01:00