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
|
0dfdf3b2a2
|
Removed concatenation of nested arrays
|
2013-09-25 21:17:28 +02:00 |
|
josdejong
|
93d588f861
|
Added some more tests for gcd, lcm, xgcd
|
2013-09-22 09:43:18 +02:00 |
|
josdejong
|
b683d5eecf
|
All construction functions can be used to convert the type of variables, also element-wise for all elements in an Array or Matrix
|
2013-09-02 22:38:41 +02:00 |
|
josdejong
|
2dc6ac6cdf
|
Implemented support for booleans in all relevant functions
|
2013-09-02 21:36:52 +02:00 |
|
josdejong
|
b968b44f8f
|
Updated readme in test directory
|
2013-08-31 22:18:13 +02:00 |
|
josdejong
|
d2e07073c9
|
Fixed the readme on testing code coverage.
|
2013-08-31 21:35:53 +02:00 |
|
josdejong
|
47c4b4c3a7
|
Replaced functions get and set of Matrix with a single function subset
|
2013-08-31 21:20:02 +02:00 |
|
josdejong
|
f752c28081
|
Removed functions get and set of Selector, they are a duplicate of subset
|
2013-08-31 20:36:46 +02:00 |
|
josdejong
|
86ea2a7343
|
Removed support for scalars from function subset
|
2013-08-31 20:28:45 +02:00 |
|
josdejong
|
2280451a55
|
Some more unit tests added to math.parse
|
2013-08-31 14:46:19 +02:00 |
|
josdejong
|
c6a5070b2f
|
Restructured unit tests of math.parse
|
2013-08-31 14:27:14 +02:00 |
|
josdejong
|
f3d80044e2
|
Neatly separated unit tests for parse, eval, parser from each other
|
2013-08-31 13:45:57 +02:00 |
|
josdejong
|
6273ad998f
|
Removed usage of math.eval from function unit tests
|
2013-08-31 10:53:14 +02:00 |
|
josdejong
|
eadb884af9
|
Moved around code and namespaces in order to separate expression parser related code.
|
2013-08-31 09:37:14 +02:00 |
|
Sebastien Piquemal
|
1d4a540a6e
|
Merge pull request #69 from sebpiq/develop
added math.map and math.forEach function see #68
|
2013-08-30 02:33:19 -07:00 |
|
Sebastien Piquemal
|
c10e87c1f6
|
math.map should return a matrix when input is a matrix
|
2013-08-30 13:23:31 +04:00 |
|
Sebastien Piquemal
|
53da1468dc
|
added math.forEach + tests
|
2013-08-30 13:16:59 +04:00 |
|
Sebastien Piquemal
|
bf005f41a2
|
added tests for map and forEach
|
2013-08-30 13:05:04 +04:00 |
|
josdejong
|
ef1ceda99d
|
Fixed an error in the upper-bound of ranges in the expression parser
|
2013-08-29 22:19:14 +02:00 |
|
josdejong
|
9746dc37c2
|
Changed matrix indexes of expression parser to one-based (Fixed #66)
|
2013-08-29 22:11:30 +02: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 |
|
josdejong
|
2158a28e33
|
Changed matrix index notation of expression parser from round brackets (...) to square brackets [...]
|
2013-08-21 13:41:15 +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
|
99b14dd32e
|
Implemented Index and Range in parser
|
2013-08-19 22:04:41 +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
|
8e9224c60b
|
Removed the subset functionality from Index, makes more sense to put that in Matrix
|
2013-08-18 13:46:10 +02:00 |
|
Sebastien Piquemal
|
e705a99411
|
moved the remaining tests to mocha
|
2013-08-17 22:57:13 +04: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
|
fee1c51272
|
Fixed getting/setting subset of an Array via the parser
|
2013-08-11 14:47:33 +02:00 |
|
josdejong
|
20e4456747
|
Fixed #26: functions ones and zeros now adhere to geometric dimensions.
|
2013-08-11 13:33:11 +02:00 |
|
josdejong
|
38174932f5
|
Added information on how to test code coverage. Ignoring code coverage reports.
|
2013-08-10 22:50:38 +02:00 |
|