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
f48c07bdd8 Getting or setting a subset of a matrix will automatically squeezed/unsqueezed the submatrix 2013-09-25 21:59:35 +02:00
josdejong
2dc6ac6cdf Implemented support for booleans in all relevant functions 2013-09-02 21:36:52 +02:00
josdejong
86ea2a7343 Removed support for scalars from function subset 2013-08-31 20:28:45 +02:00
josdejong
6273ad998f Removed usage of math.eval from function unit tests 2013-08-31 10:53:14 +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
7935546630 Removed type Range. function math.range now returns an expanded series 2013-08-17 13:42:57 +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
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
aa471db411 Upperbound of range is now excluded 2013-08-09 22:09:46 +02:00
josdejong
8cc9ceb980 Changed all source files into node.js modules 2013-08-05 23:05:23 +02: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
josdejong
e9b9f0c4e3 Changed matrix indexes from one-based to zero-based (Fixed #23) 2013-07-21 22:11:11 +02:00
josdejong
504b1fa9a1 Functions size and squeeze now return a Matrix instead of an Array as output on Matrix input 2013-07-03 14:47:40 +02:00
josdejong
31a034cc2c Splitted all tests in separate files: one file per function 2013-05-05 15:38:28 +02:00