23 Commits

Author SHA1 Message Date
josdejong
5481b0a663 Introduced an option math.options.matrix.default which can have values matrix (default) or array. This option is used by the functions eye, ones, range, and zeros, to determine the type of matrix output. 2013-10-01 20:37:28 +02:00
josdejong
2dc6ac6cdf Implemented support for booleans in all relevant functions 2013-09-02 21:36:52 +02:00
Sebastien Piquemal
0f54414172 fixed random-seed for random testing 2013-08-20 00:54:13 +04:00
josdejong
30984a9960 Implemented random-seed for random testing. Not yet working though for some reason. 2013-08-19 22:26:47 +02:00
Sebastien Piquemal
a3b44340e4 refactored test/function/matrix and test/function/probability to mocha 2013-08-17 03:04:07 +04:00
Sebastien Piquemal
a6b4ad7526 fixed tests 2013-08-14 15:43:32 +04:00
Sebastien Piquemal
aa0249d458 fixed npm install, changed src to lib 2013-08-14 15:00:12 +04:00
josdejong
aa471db411 Upperbound of range is now excluded 2013-08-09 22:09:46 +02: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
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
d9f34677b4 Renamed all test files to *.test.js 2013-08-04 14:46:22 +02:00
josdejong
c5edb419d8 Moved the library builds math.js and math.min.js to subfolder dist 2013-08-04 14:39:42 +02:00
josdejong
19b507b9f0 Refactored all code to 2 space indentation 2013-08-04 14:07:47 +02:00
Sebastien Piquemal
dca7208fb1 merged randomMatrix to random 2013-08-04 12:42:01 +04: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
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
31a034cc2c Splitted all tests in separate files: one file per function 2013-05-05 15:38:28 +02:00