jos
41efed79d3
Fix #1473 : remove 'use strict' in every file
2019-05-26 20:21:18 +02:00
jos
3e553e1d11
Remove dependency on matrix of function random
2019-05-15 17:54:39 +02:00
jos
33cead1327
Improved deprecation errors and warnings. Introduce lazy again for factories.
2019-04-22 09:45:57 +02:00
jos
3a34a57924
Auto generate dependenciesFull.js and dependenciesNumber.js (WIP)
2019-04-10 08:48:15 +02:00
jos
22bec13d10
Implement number factories, dependencies. Make matrix and bignumber optional where possible
2019-04-03 09:46:44 +02:00
jos
6acadd71a0
Create number implementations of all functions in mainNumber.js
2019-03-06 21:49:30 +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
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
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
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
bb9bf78eff
Refactored all probability functions
2018-11-09 13:51:22 +01:00
jos
d7ed170ba5
Converted all function transforms, expression functions, and embedded docs
2018-11-09 11:16:55 +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
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
94e9668b4a
Refactor functions into ES6 import/export
2018-10-31 20:53:01 +01:00
jos
9800f25b35
Reorganized utils functions and refactored to ES6 import/export
2018-10-31 19:58:33 +01:00
jos
7bc1dd3c8c
Move isBigNumber, isMatrix, and isCollection into is.js
2018-10-31 18:56:41 +01:00
jos
e3211a7efc
Move all is* functions like isComplex into is.js
2018-10-31 15:28:51 +01: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
Honeybar
a13f0ca7c6
style fix
2018-07-15 11:54:11 -07:00
Honeybar
4fb547cb7e
Delete productrange.js
2018-07-15 11:48:34 -07:00
Honeybar
f27ed3bb28
style fix
2018-07-15 11:47:38 -07:00
Honeybar
9ae26197c8
change filename and optimizing division by 2
2018-07-15 11:43:16 -07:00
Honeybar
45fde8b348
style fix
2018-07-15 00:35:44 -07:00
Honeybar
126bfbff6b
improving speed of factorial function
2018-07-14 23:40:12 -07:00
Honeybar
996922c46e
remove productBig function
2018-07-14 21:19:15 -07:00
Honeybar
77bd559b19
improving factorial function
...
speed up factorial function for number
2018-07-14 21:17:05 -07:00
Honeybar
3d35d858b8
improving factorial function
...
improving speed of bignumber and number
2018-07-14 20:35:32 -07:00
Honeybar
16ed3b8820
Improving factorial function
...
use divide and conquer to improve factorial for both number and bignumber
2018-07-14 19:43:19 -07: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
b3b96749bf
Refactored var into const/let, and removed a lot of semicolons
2018-06-13 12:21:14 +02:00
jos
c2777c856b
Fixed linting issues "Unexpected template string expression"
2018-06-12 21:18:45 +02:00
jos
024b2a9e26
Fix most lint errors using npx standard --fix
2018-06-10 20:28:27 +02:00
jos
35329d7db4
Move lib to src
2018-06-06 14:37:39 +02:00
Sebastien Piquemal
aa0249d458
fixed npm install, changed src to lib
2013-08-14 15:00:12 +04:00
josdejong
e1f890e1f6
Added a ton of semicolons ;)
2013-08-07 20:52:43 +02:00
Sebastien Piquemal
0084920875
merged random functions with develop
2013-08-07 20:37:26 +04:00
Sebastien Piquemal
31e6767824
minor fixes
2013-08-07 20:19:53 +04:00
josdejong
4b20d7cb88
Directly export prototypes as module.exports
2013-08-07 14:22:44 +02:00
josdejong
283e76e4e9
Packed all functions in a closure (makes them environment independent)
2013-08-07 14:12:07 +02:00