257 Commits

Author SHA1 Message Date
jos
e5ccd9cdf1 Remove support for factory names and dependencies containing paths 2019-02-06 11:49:09 +01:00
jos
25be459ed3 Merge math.expression.parse into math.parse 2019-02-03 20:30:43 +01:00
jos
129848f347 Flatten classes under expression.node 2019-02-02 17:52:21 +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
19bc1e0fce Implemented snapshot testing for all exported bundles and instances 2019-01-23 14:50:29 +01:00
jos
860555a0d8 Fix math.simplify('add(2, 3)') throwing an error 2019-01-16 10:33:46 +01:00
jos
078f1dd69f Renamed methods .eval to .evaluate, updated all docs and examples accordingly 2019-01-16 10:11:32 +01:00
jos
e36cb13c25 Implement util function warnOnce which is used for deprecated functionality 2019-01-14 21:16:44 +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
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
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
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
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
5597c5655d Remove dependency on math from simplify 2018-11-21 15:42:56 +01:00
jos
55d19b1f75 Added more functions to mainAll.js 2018-11-14 17:56:36 +01:00
jos
0d93f45dfd Many functions in place in mainAll 2018-11-09 17:39:35 +01:00
jos
b0db2fc4ab Renamed scope to math again (prevent confusion) 2018-11-09 14:23:11 +01:00
jos
bb9bf78eff Refactored all probability functions 2018-11-09 13:51:22 +01:00
jos
7a48d972ce Refactored all statistics functions. Renamed var to variance 2018-11-09 12:33:13 +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
23b77454fd Fixed some missing imports 2018-11-09 09:15:10 +01:00
jos
5707854c70 Converted matrix functions 2018-11-09 09:08:55 +01:00
jos
97dbea02ab Converted set functions 2018-11-08 18:00:41 +01:00
jos
61a2849018 Converted combinatorics, geometry, special, string, and unit functions 2018-11-08 17:41:40 +01:00
jos
277d8b2706 Converted all trigonometry functions 2018-11-08 17:11:52 +01:00
jos
f4d7e1164a Converted the complex functions 2018-11-08 16:47:48 +01:00
jos
b0ec1cc20c Add embedded docs again. Disable travis testing on node 6 for now (slow) 2018-11-08 15:13:31 +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
jos
75b18b103c Slim down dependencies on DenseMatrix and SparseMatrix 2018-11-07 17:36:45 +01:00
jos
2d7a407ee2 Create mainAll.js. Change algorithm functions to be internal factory functions (not injected). Convert more functions and data types. 2018-11-07 16:43:06 +01:00
jos
2fd6cbd568 Converted matrix classes. Fixes in dependency resolving/ordering. 2018-11-07 12:38:00 +01:00
jos
046173c531 Converted all arithmetic functions 2018-11-06 13:13:52 +01:00
jos
b9fb67483a Converted all matrix algorithm util functions and some arithmetic functions 2018-11-06 11:30:55 +01:00
jos
ee4442b17a Allow importing nested dependencies 2018-11-06 10:28:34 +01:00
jos
f6b524a966 Use object destructuring in factory function callback. Rename typeof to typeOf. Only pass dependencies in scope to factory function. 2018-11-06 09:17:21 +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
c4d245bc02 Implement resolving dependencies in correct order 2018-11-05 10:53:42 +01:00
jos
51960aafe0 Change the structure of a factory function from an function to an object with meta data 2018-11-05 10:25:32 +01:00