jos
|
79f4d7fbe3
|
Some minor fixes in the docs
|
2014-12-30 19:57:34 +01:00 |
|
jos
|
97163135b2
|
Implemented xor operator ^| in the expression parser
|
2014-12-25 15:45:54 +01:00 |
|
jos
|
73b67bfc09
|
Removed logical not operator ! (so now we just have logical operators and, not, or, xor).
|
2014-12-25 14:21:16 +01:00 |
|
jos
|
2614ca6203
|
Added docs for xor, removed docs of _divide
|
2014-12-25 14:11:15 +01:00 |
|
jos
|
5a3e55f39b
|
Added docs on bitwise and logical functions for expression parser
|
2014-12-23 21:25:34 +01:00 |
|
jos
|
af08c269f3
|
Added operators &, |, <<, >>, >>> not, and, or to the expression parser
|
2014-12-23 16:25:32 +01:00 |
|
jos
|
5f4603bfcb
|
Added docs for gamma function
|
2014-12-23 14:21:44 +01:00 |
|
Favian Contreras
|
2a5b242091
|
Added boolean not to parser, and added corresponding test cases.
|
2014-12-17 01:14:33 -08:00 |
|
Favian Contreras
|
6c1197f646
|
Added '~' to the parser.
|
2014-12-15 03:43:10 -08:00 |
|
jos
|
309bf3938d
|
Added proper error messages to Node.map
|
2014-11-15 13:32:02 +01:00 |
|
jos
|
9257ec3c33
|
Added unit tests for Node.map and Node.forEach
|
2014-11-15 13:16:32 +01:00 |
|
jos
|
5669ae1365
|
Some refactoring
|
2014-11-14 11:35:13 +01:00 |
|
jos
|
a1f60db0d1
|
Created Node.map, changed traverse to use Node.map
|
2014-11-14 11:25:48 +01:00 |
|
jos
|
20c96894ab
|
Enforcing implementation of _traverse on Nodes
|
2014-11-13 22:16:57 +01:00 |
|
jos
|
be9a8629ea
|
Node.transform does not create a clone of the tree anymore
|
2014-11-13 22:01:48 +01:00 |
|
jos
|
92627f2c94
|
Nodes for a BlockNode must now be passed via the constructor instead of via a function add
|
2014-11-13 21:54:41 +01:00 |
|
jos
|
423909e6f1
|
Changed constructor of RangeNode to new RangeNode(start: Node, end: Node [, step: Node]).
|
2014-11-13 21:25:37 +01:00 |
|
jos
|
72a1b03850
|
Documented expression tree API. Some internal refactoring in nodes.
|
2014-11-12 22:30:15 +01:00 |
|
jos
|
bc15efbc68
|
Fixed #219: implemented function nthRoot
|
2014-11-09 14:18:30 +01:00 |
|
jos
|
8f37893c61
|
Implemented function cross (cross product for vectors).
|
2014-11-08 17:57:51 +01:00 |
|
jos
|
50fb91346b
|
Implemented function dot (dot product for vectors).
|
2014-11-08 16:13:32 +01:00 |
|
jos
|
db60d95438
|
Fixed 2e giving a syntax error instead of being parsed as 2 * e (see #229)
|
2014-11-08 15:27:22 +01:00 |
|
jos
|
7132a6f3c2
|
Fixed #221 for one-based implementations of map and forEach
|
2014-10-14 09:03:04 +02:00 |
|
jos
|
bd1981ecd0
|
Renamed Node.map and Node.forEach back to traverse and transform
|
2014-10-13 21:42:48 +02:00 |
|
jos
|
adf0b39a69
|
Fixed deprecated messages
|
2014-10-12 19:45:05 +02:00 |
|
jos
|
b4de2cb549
|
Some code reorganization
|
2014-10-12 19:37:02 +02:00 |
|
jos
|
238281e28a
|
Renamed traverse and transform to forEach and map
|
2014-10-12 19:32:51 +02:00 |
|
jos
|
ae588c9d93
|
Removed a todo
|
2014-10-11 22:30:52 +02:00 |
|
jos
|
ba70c07509
|
Added unit tests for Node.clone
|
2014-10-11 22:29:48 +02:00 |
|
jos
|
95a49fe156
|
Node.transform first clones the node tree
|
2014-10-11 21:59:47 +02:00 |
|
jos
|
839e596772
|
Implemented transform and traverse
|
2014-10-11 18:03:41 +02:00 |
|
jos
|
5f08307391
|
Implemented a function replace for nodes of a parsed expression.
|
2014-10-11 15:33:23 +02:00 |
|
jos
|
52a922e937
|
Fixed #210: Disabled array notation for ranges in a matrix index the expression parser
|
2014-09-09 17:33:53 +02:00 |
|
jos
|
41db497289
|
Removed references in documentation to the "distribution" function
|
2014-09-08 11:30:48 +02:00 |
|
jos
|
f1313d8be7
|
Implemented a function filter(x, test)
|
2014-09-04 20:52:51 +02:00 |
|
jos
|
fa4a23c34b
|
math.number can convert units to numbers (requires a second argument)
|
2014-09-03 21:29:16 +02:00 |
|
jos
|
29cc34f1a8
|
Removed math.distribution for now, needs some rethinking
|
2014-08-28 21:46:56 +02:00 |
|
jos
|
40f0bb91aa
|
Fixed #210: an zero-based issue when getting a matrix subset using an index containing a matrix
|
2014-08-25 20:35:10 +02:00 |
|
jos
|
c466c305c7
|
Fixed a precedence issue with the unit conversion operator
|
2014-08-23 10:48:00 +02:00 |
|
jos
|
1b1bb8ef7f
|
Fixed a precedence issue with the range operator
|
2014-08-23 10:32:32 +02:00 |
|
jos
|
40b470dc96
|
Released version 0.27.0
|
2014-08-21 20:40:28 +02:00 |
|
jos
|
a172b52fdc
|
Renamed raw to rawArgs (see #207)
|
2014-08-18 09:02:04 +02:00 |
|
jos
|
fb68d73576
|
Fixed a bug in initializing of the parser
|
2014-08-17 22:32:31 +02:00 |
|
jos
|
1c96d1ee9d
|
Expressions in the expression parser can now be spread over multiple lines
|
2014-08-17 22:24:57 +02:00 |
|
jos
|
f23c87c4f7
|
renamed __transform__ to transform
|
2014-08-16 17:41:37 +02:00 |
|
jos
|
396777f724
|
Raw functions are now invoked as fn(args, math, scope)
|
2014-08-16 15:06:11 +02:00 |
|
jos
|
99fc9a0ead
|
Implemented support for raw functions
|
2014-08-16 12:13:57 +02:00 |
|
jos
|
e5d14ca3dd
|
Some refactoring of the FunctionNode
|
2014-08-16 11:13:24 +02:00 |
|
jos
|
41663147e6
|
Implemented function sort
|
2014-08-14 22:24:15 +02:00 |
|
jos
|
7f6b13a797
|
Changed the default value of new entries in resized matrices to zero.
|
2014-08-12 22:35:56 +02:00 |
|