35 Commits

Author SHA1 Message Date
Sebastien Piquemal
fd2b5f246f refactored tests/expr 2013-08-07 21:27:20 +04: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
efbce864ad Some more tests added 2013-07-21 14:49:51 +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
47980ca81b Implemented custom node handler in the parser 2013-06-26 13:19:15 +02:00
josdejong
965ce87401 Removed support for Workspace to keep the library focused 2013-06-14 21:44:35 +02:00
josdejong
8f03cc2226 Implemented element wise operators .* ./ .^ 2013-05-31 22:27:58 +02:00
josdejong
36bdaeb2a1 Implemented cache in Scope 2013-05-25 13:27:17 +02:00
josdejong
ac331fe525 simplified Workspace and Expression, works now with the strongly simplified Scope 2013-05-20 22:21:03 +02:00
josdejong
9710d67db8 Strongly simplified Scope (Workspace not yet working with simplified scope) 2013-05-20 14:19:19 +02:00
josdejong
2fe383a19c More tests and minor. Improved flexibility of data constructors. 2013-05-18 19:39:01 +02:00
josdejong
c2103dab99 Fixed a bug in merging one dimensional vectors into an array 2013-05-18 15:10:05 +02:00
josdejong
bf13f9ceb8 Fixed a bug in resizing matrices when replacing a subset. 2013-05-10 19:20:27 +02:00
josdejong
976125821e Implemented implicit start and end for the range operator in parser 2013-05-09 17:01:36 +02:00
josdejong
6bd857ca7e Implemented index parameter 'end' 2013-05-09 14:47:23 +02:00
josdejong
b43e62d19f Bug fixed in assignment of a variable update where the variable is undefined 2013-05-09 13:46:46 +02:00
josdejong
a8331f958c math.eval supports variables and multiple expressions now. Removed the readonly option from Parser and Scope. 2013-05-05 20:54:10 +02:00
josdejong
d94b8f8cee Simplified the Symbol/Scope 2013-04-27 20:57:58 +02:00
josdejong
bf6b707607 Fixed parser returning NaN instead of throwing an error for a number with multiple decimal separators 2013-04-27 14:26:26 +02:00
josdejong
ef7b68fe47 Fixed Workspace.insertAfter 2013-04-27 13:33:26 +02:00
josdejong
548708ffaa Improvements in parser and node tree. Implemented Params and Operator. Some first simplifications in Scope 2013-04-26 21:13:54 +02:00
josdejong
b851f418e5 Implemented math.eval and a readonly option for the Parser and Scope. 2013-04-13 10:28:10 +02:00
josdejong
e45cb774e7 Chained operations via method math.chain... coool! 2013-04-11 22:20:17 +02:00
josdejong
d6ebe886b9 Simplified and improved the scoping of the Parser 2013-04-11 20:57:11 +02:00
josdejong
e682dc35bd Implemented methods Unit.in and Unit.as (see issue #5) 2013-04-10 20:52:49 +02:00
josdejong
d073c6cc31 Fixed transpose not returning result as a Matrix in case of Matrix input. 2013-04-06 15:32:39 +02:00
josdejong
5aa8a68bdd Implemented transpose operator (') in parser. Fixed parsing empty matrix. 2013-04-06 15:12:15 +02:00
josdejong
34a1039599 Implemented matrix concatenation in the parser 2013-04-06 13:27:11 +02:00
josdejong
f2c4104ad7 Implemeneted method concat for matrix concatenation 2013-04-06 11:52:45 +02:00
josdejong
9eb57b5359 Documented Matrix and Range in readme. Fixed a bug in Matrix.set 2013-04-01 21:39:54 +02:00
josdejong
5c693ac4fb Moved test files 2013-04-01 13:58:37 +02:00