37 Commits

Author SHA1 Message Date
josdejong
f1ea498927 Added some more unit tests 2014-03-15 15:27:05 +01:00
josdejong
b520a198ac Fixed #134: error in function combinations for large numbers 2014-01-31 23:23:57 +01:00
josdejong
8ce1a122bb Some minor code rearrangement 2014-01-07 14:25:32 +01:00
Daniel Levin
933542cd68 Tests for non-integer bignumbers in combinations 2014-01-07 13:34:44 +02:00
Daniel Levin
a6878572b9 added n <= k condition to permutations, combinations 2014-01-07 13:32:26 +02:00
Daniel Levin
f6fa5bf575 Added BigNumber support to combinations (and tests) 2014-01-07 13:27:56 +02:00
Daniel Levin
17acaaf9eb added BigNumber support to permutations (with tests) 2014-01-07 13:19:58 +02:00
Daniel Levin
4d72b3b0d5 added n <= k condition to combinations function
and also changed x to n in combinations
2014-01-06 12:00:47 +02:00
Daniel Levin
6c88d7b58a added more tests for combinations. Fixes #99 2014-01-05 14:16:14 +02:00
Daniel Levin
b2acc29d04 added more tests 2014-01-04 18:01:21 +02:00
Daniel Levin
a1b8588bdd added tests for permutations function 2014-01-04 17:41:41 +02:00
josdejong
7ab15f1d29 Implemented bignumber support for functions eye, ones, resize, size, zeros, factorial 2013-11-23 20:48:01 +01:00
josdejong
d2e55a0132 Math.js must be instantiated now, static calls are no longer supported 2013-10-26 15:00:06 +02:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +02:00
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