145 Commits

Author SHA1 Message Date
Sebastien Piquemal
bf005f41a2 added tests for map and forEach 2013-08-30 13:05:04 +04:00
Sebastien Piquemal
fe2c2b59d2 added math.map function see #68 2013-08-28 18:34:15 +04:00
josdejong
40355a0dc2 Fixed outdated readme and fixed broken unit test 2013-08-22 21:35:54 +02:00
josdejong
5a007ef57d Docs, examples, readme updated 2013-08-22 20:59:36 +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
josdejong
7f58398053 Completed missing descriptions in tests 2013-08-19 21:07:45 +02:00
josdejong
3341cd387a Fixed failing unit tests 2013-08-19 12:54:36 +02:00
josdejong
22690a733f Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	test/function/utils/select.test.js
	test/type/matrix.test.js
	test/type/range.test.js
2013-08-19 12:44:26 +02:00
josdejong
35e789d3fe Made math.subset, Matrix.get, Matrix.set more strict: only accept an Index 2013-08-18 15:28:20 +02:00
josdejong
d18e2c69a4 Adjusted tests for new Index 2013-08-18 15:10:26 +02:00
josdejong
d7e4766756 Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	test/function/matrix/squeeze.test.js
	test/function/matrix/subset.test.js
2013-08-18 14:38:21 +02:00
josdejong
9cb354a6da Index functionality getting in place now. 2013-08-18 14:37:03 +02:00
josdejong
24b3b7eb43 First implementation of Index and math.index 2013-08-17 15:35:48 +02:00
Sebastien Piquemal
a77a94b0d0 refactored test/function/unit and test/function/utils to mocha 2013-08-17 16:45:52 +04:00
josdejong
7935546630 Removed type Range. function math.range now returns an expanded series 2013-08-17 13:42:57 +02:00
Sebastien Piquemal
6174eb00d7 refactored test/function/statistics and test/function/trigonometry to mocha 2013-08-17 13:42:40 +04:00
Sebastien Piquemal
a3b44340e4 refactored test/function/matrix and test/function/probability to mocha 2013-08-17 03:04:07 +04:00
josdejong
e704c79e17 Removed the feature to automatically convert a complex
value with an imaginary part equal to zero to a number (see #59)
2013-08-14 14:41:35 +02: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
3f79c70473 Improved module structure, removed references to a global namespace 2013-08-11 20:42:32 +02:00
josdejong
20e4456747 Fixed #26: functions ones and zeros now adhere to geometric dimensions. 2013-08-11 13:33:11 +02:00
josdejong
0b45b89dd0 Fixed #56: not allowing matrices with empty dimensions like [[],[]] 2013-08-10 22:06:20 +02:00
josdejong
d76602a2ee Changed syntax of range to range(start, end [, step]) 2013-08-09 22:33:58 +02:00
josdejong
aa471db411 Upperbound of range is now excluded 2013-08-09 22:09:46 +02:00
josdejong
70b48187a6 Merge branch 'mocha' of github.com:josdejong/mathjs into develop 2013-08-09 20:55:00 +02:00
Sebastien Piquemal
6a6f522a93 refactored test/function/construction to mocha 2013-08-09 14:13:53 +04:00
Sebastien Piquemal
f4e1ad3d6d refactored test/function/complex to mocha 2013-08-09 13:36:29 +04:00
Sebastien Piquemal
1e7603488c refactored refactored tests/functions/arithmetic 2013-08-08 15:31:37 +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
10633d7237 Minor improvements in the static functions of prototypes 2013-08-07 14:42:02 +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
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
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
0fef35409b Fixed #44: allow multiple unary minus operators after each other 2013-08-03 13:04:54 +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
27ec472a4d merged with develop 2013-08-02 15:52:22 +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