43 Commits

Author SHA1 Message Date
josdejong
0fef35409b Fixed #44: allow multiple unary minus operators after each other 2013-08-03 13:04:54 +02:00
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
881889dec0 Renamed unaryminus to unary 2013-07-08 14:11:42 +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
9d246aa021 Fixed a bug in determining node dependencies in function assignments 2013-06-26 21:37:44 +02:00
josdejong
47980ca81b Implemented custom node handler in the parser 2013-06-26 13:19:15 +02:00
josdejong
4dda904e8b Released version 0.9.1 2013-06-14 21:49:17 +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
8f03cc2226 Implemented element wise operators .* ./ .^ 2013-05-31 22:27:58 +02:00
josdejong
f2b1b2ad9f Implemented element wise functions edivide, emultiply, and epow 2013-05-31 20:47:45 +02:00
josdejong
134b8fe07c Implemented construction function string 2013-05-29 21:06:12 +02:00
josdejong
19f7150b23 Updated documentation on eval, parse, and parser 2013-05-24 19:57:41 +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
6bd857ca7e Implemented index parameter 'end' 2013-05-09 14:47:23 +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
2d34cb5fc0 Named function 'eval' not allowed in strict mode 2013-04-27 21:18:37 +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
a90b5ffc0b Fixed an error in math.typeof on Internet Explorer. 2013-04-18 21:25:52 +02:00
josdejong
2742ab4fd5 Removed all instanceof checks for Range 2013-04-14 14:32:24 +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
f6ae1d70e7 Fixed method typeof, did not work correctly in the minified version of the library 2013-04-13 01:03:59 +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
50276ee814 Removed the build-in parser documentation from the core library. 2013-04-11 19:52:18 +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
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
josdejong
e64aed8573 Implemented method get, set, resize for Matrix and a lot of other improvements. 2013-03-23 20:08:21 +01:00
josdejong
d89abd826a Improved method size to calculate correct size for empty (zero) dimensions 2013-03-23 13:56:46 +01:00
josdejong
c080426140 Rearrangements in the utility methods (format, size, map, forEach) 2013-03-23 12:33:48 +01:00
josdejong
78e14af366 implemented method clone 2013-03-21 21:03:51 +01:00
josdejong
936542e988 Separated method size into utility methods size and validate 2013-03-19 21:04:00 +01:00
josdejong
69d162df61 Implemented array support for the parser 2013-03-15 23:15:32 +01:00
josdejong
ac2e69ca81 implemented method format 2013-03-14 21:20:53 +01:00
josdejong
46deed6fd8 method help evaluates the examples 2013-03-13 17:47:54 +01:00
josdejong
3e882c3c0d - Improved the complex number parser
- Improved method typeof
2013-03-12 21:09:46 +01:00
josdejong
6faacfb120 Moved Complex and Unit to the main namespace math 2013-02-25 20:44:37 +01:00
josdejong
47464fec65 Implemented method import 2013-02-24 20:12:39 +01:00
josdejong
61b2a45a9a Added check for correct argument count to all functions 2013-02-23 14:13:17 +01:00
josdejong
2b976b59e8 Implemented/updated methods help, typeof, pow, round 2013-02-20 13:51:56 +01:00