67 Commits

Author SHA1 Message Date
josdejong
f93dcfbc44 More tests 2013-05-10 21:53:05 +02:00
josdejong
6bd857ca7e Implemented index parameter 'end' 2013-05-09 14:47:23 +02:00
josdejong
738bd1350f More tests 2013-05-07 22:06:36 +02:00
josdejong
922e12073b Implemented command line interface. soo coool. 2013-05-06 22:25:00 +02:00
josdejong
84552d133e More tests 2013-05-06 21:54:57 +02:00
josdejong
30274bfec8 Few more tests and type checks 2013-05-05 21:07:25 +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
9f91213ea6 Fixed non-working unequal operator != in the parser 2013-05-05 20:22:59 +02:00
josdejong
f0c6bad960 Improved test methods approx.equal and approx.deepEqual. 2013-05-05 18:34:54 +02:00
josdejong
31a034cc2c Splitted all tests in separate files: one file per function 2013-05-05 15:38:28 +02:00
josdejong
006fe720a1 Released version 0.7.2 2013-05-04 21:52:56 +02:00
josdejong
bdaa2c6073 Fixed method unequal, which was checking for equality instead of inequality... (Fixed #9) 2013-05-03 21:58:50 +02:00
josdejong
5bd7358fd0 More tests added 2013-04-23 22:06:40 +02:00
josdejong
4854eb4979 Fixed broken test 2013-04-20 17:59:57 +02:00
josdejong
6e44b364fb Fixed a broken test 2013-04-20 17:50:11 +02:00
josdejong
8e48001e59 Changed second parameter of method import to an object with options. 2013-04-20 15:13:49 +02:00
josdejong
597439cc07 Added matrix support for function eval 2013-04-20 14:08:44 +02:00
josdejong
7d5982035b Updated documentation of all methods. Changed cube and square to evaluate matrices element wise. 2013-04-20 14:04:34 +02:00
josdejong
8856f06104 Minor tweaks in code and comments 2013-04-18 21:26:24 +02:00
josdejong
bfb8559fff More unit tests 2013-04-15 22:37:16 +02:00
Jos de Jong
c6b2e436d9 Merge pull request #7 from bkiers/xgcd
Added function xgcd (extended-gcd) + unit tests.
2013-04-15 00:13:40 -07:00
josdejong
47c29dd990 ok ok now this test should work! 2013-04-14 21:37:10 +02:00
josdejong
bd7c9a5216 Removed broken test 2013-04-14 21:35:04 +02:00
josdejong
267307019f Fixed a broken test 2013-04-14 21:32:47 +02:00
Bart Kiers
d032fc02c3 Added function xgcd (extended-gcd) + unit tests. 2013-04-14 21:31:09 +02:00
josdejong
d820305223 Prevent round-off errors in test 2013-04-14 21:24:54 +02:00
josdejong
e2bce92c04 More tests 2013-04-14 21:09:57 +02:00
josdejong
b627c6b617 Improved math.format, now outputs a max number of digits instead of a number of decimals 2013-04-14 14:36:02 +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
89a4bdd671 Renamed Chain to Selector and chain to select 2013-04-13 00:13:03 +02:00
josdejong
e45cb774e7 Chained operations via method math.chain... coool! 2013-04-11 22:20:17 +02:00
josdejong
e682dc35bd Implemented methods Unit.in and Unit.as (see issue #5) 2013-04-10 20:52:49 +02:00
josdejong
3c8fba7ae9 Fixed #3: implemented methods gcd and lcm 2013-04-09 19:56:16 +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
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
fbdac7cfed Implemented matrix support for methods max and min 2013-04-05 21:18:42 +02:00
josdejong
c695fdd7a4 Implemented division with matrices (should be improved upon later...) 2013-04-05 20:04:05 +02:00
josdejong
029158e7df Implemented method inv 2013-04-05 19:53:42 +02:00
josdejong
2ecac3ae3b Implemented transpose 2013-04-03 22:32:07 +02:00
josdejong
78bf9dbf4a Renamed identity to eye. 2013-04-03 22:11:06 +02:00
josdejong
7fc49f4058 Implemented method det (determinant) 2013-04-03 22:08:55 +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
04f51c5beb Implemented Matrix support for all methods 2013-04-01 15:30:25 +02:00
josdejong
71e8118b39 Implemented methods get, set, map, indexOf for Matrix. Some fixes in Matrix and Range. 2013-03-31 21:02:53 +02:00
josdejong
5ea8366d3e Implemented method squeeze 2013-03-28 21:44:29 +01:00
josdejong
b07920fac8 Removed Vector, as it is redundant with Matrix and only adds complexity. 2013-03-28 21:05:05 +01:00
josdejong
0309f62e3f Renamed method eye to identity 2013-03-28 20:17:21 +01:00
josdejong
17d9546c0b Added some tests 2013-03-27 21:29:34 +01:00
josdejong
af7360b5e4 Created construction methods for easily creating data types. Moved the data types and parser to another namespace. 2013-03-26 22:06:48 +01:00