94 Commits

Author SHA1 Message Date
josdejong
e9b9f0c4e3 Changed matrix indexes from one-based to zero-based (Fixed #23) 2013-07-21 22:11:11 +02:00
josdejong
fdfc6697e1 Implemented constants true, false.
Implemented function boolean(value)
2013-07-21 14:12:37 +02:00
josdejong
bff08984da Fixed selector not accepting 0 as value (Fixed #24). 2013-07-21 13:28:19 +02:00
josdejong
e656ec0fb4 Released version 0.10.0 2013-07-08 14:31:02 +02:00
josdejong
881889dec0 Renamed unaryminus to unary 2013-07-08 14:11:42 +02:00
josdejong
dcb69a18de Completed end user documentation 2013-07-08 13:47:01 +02:00
josdejong
4f7eda523c Changed all json docs into js files 2013-07-08 12:53:52 +02:00
josdejong
383835b9ae Moved documentation on functions into directory docs/functions 2013-07-08 11:42:48 +02:00
josdejong
a8879df0a8 Added the docs again to the library (yes yes that makes it bigger. We wil enable custom, stripped builds later on) 2013-07-04 13:40:09 +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
76b154e285 Complex computations will return a (real) Number instead of Complex(x,0) when possible. 2013-06-16 14:46:42 +02:00
josdejong
7df862b7fa Made function multiply a little smarter in dealing with complex calculations and reducing complex results to a number when possible 2013-06-16 14:05:15 +02:00
josdejong
43cc541762 Fixed #14: wrong calculation of i/0, also fixed i*Infinity 2013-06-14 21:18:14 +02:00
josdejong
01400af0db Fixed Complex constructor not accepting NaN as parameter (see also issue 14) 2013-06-13 20:11:50 +02:00
josdejong
f2b1b2ad9f Implemented element wise functions edivide, emultiply, and epow 2013-05-31 20:47:45 +02:00
josdejong
bee3453e15 Released version 0.9.0 2013-05-29 21:16:43 +02:00
josdejong
134b8fe07c Implemented construction function string 2013-05-29 21:06:12 +02:00
josdejong
755d0769e6 Implemented construction function number 2013-05-29 20:34:47 +02:00
josdejong
0b2e28403b Fixed in mod for negative numerators. Added more input validation. Added tests 2013-05-29 20:14:51 +02:00
josdejong
33bbd402b2 Implemented context variable end for subsets of strings 2013-05-27 21:48:48 +02:00
josdejong
9d225d1979 Added an example file extend.js, updated readme 2013-05-27 21:12:55 +02:00
josdejong
23ffed0994 Implemented function subset, including support for string and scalar 2013-05-26 15:43:21 +02:00
josdejong
f09c3fccce Some more tests added 2013-05-24 20:44:08 +02:00
josdejong
1f6bcc8542 Implemented function math.parse(expr [,scope]), extended function math.expr(expr [,scope]). 2013-05-21 21:01:34 +02:00
josdejong
0090fdd925 Extended import function 2013-05-18 20:11:03 +02:00
josdejong
2fe383a19c More tests and minor. Improved flexibility of data constructors. 2013-05-18 19:39:01 +02:00
josdejong
f010032683 Updated version to 0.8.2-SNAPSHOT 2013-05-17 18:37:35 +02:00
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