36 Commits

Author SHA1 Message Date
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
Sebastien Piquemal
c834fbb38a added normal distribution 2013-08-02 15:49:31 +04:00
Sebastien Piquemal
1e356b1c4b bare bones for distributions 2013-08-02 13:54:27 +04:00
josdejong
7d5982035b Updated documentation of all methods. Changed cube and square to evaluate matrices element wise. 2013-04-20 14:04:34 +02:00
josdejong
4914084e3f Removed Range from the function comments 2013-04-14 21:16:30 +02:00
josdejong
2742ab4fd5 Removed all instanceof checks for Range 2013-04-14 14:32:24 +02:00
josdejong
50276ee814 Removed the build-in parser documentation from the core library. 2013-04-11 19:52:18 +02:00
josdejong
04f51c5beb Implemented Matrix support for all methods 2013-04-01 15:30:25 +02:00
josdejong
0c41367b6f Implemented fallback to primitive value of objects for all methods 2013-03-19 20:25:06 +01:00
josdejong
91e520dfb4 Implemented Array support for methods with one parameter 2013-03-09 20:55:03 +01:00
josdejong
ed36dd796b Implemented methods cube, factiorial, log(x, base), log10, sign, square 2013-02-25 20:18:03 +01:00
josdejong
61b2a45a9a Added check for correct argument count to all functions 2013-02-23 14:13:17 +01:00
josdejong
16c64dffda Implemented methods ceil, fix, floor, round, random, atan2 2013-02-17 20:21:46 +01:00