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
josdejong
fe06d514e0
Created shared module math.js for all functions (resolves circular references)
2013-08-06 21:50:15 +02:00
josdejong
8cc9ceb980
Changed all source files into node.js modules
2013-08-05 23:05:23 +02:00
Sebastien Piquemal
1b30476443
random and randomInt more flexible args
2013-08-04 18:32:30 +04:00
Sebastien Piquemal
1c1a84d1cf
refactored random, randomInt more tests
2013-08-04 18:06:18 +04:00
josdejong
6a6b5c3e61
Replaced all x instanceof Array with Array.isArray(x)
2013-08-04 14:30:38 +02:00
josdejong
19b507b9f0
Refactored all code to 2 space indentation
2013-08-04 14:07:47 +02:00
Sebastien Piquemal
e47f506eef
merged with develop
2013-08-04 12:47:28 +04:00
Sebastien Piquemal
dca7208fb1
merged randomMatrix to random
2013-08-04 12:42:01 +04:00
josdejong
3726918ba4
Updated readme and history
2013-08-03 12:42:52 +02:00
Sebastien Piquemal
e2c4248a97
added randomMatrix function
2013-08-02 18:55:59 +04:00
Sebastien Piquemal
10645f01d0
added pickRandom
2013-08-02 17:58:26 +04:00
Sebastien Piquemal
a71250a7dd
added argument check
2013-08-02 17:49:21 +04:00