443 Commits

Author SHA1 Message Date
jos
b283accfa5 Refer to quantileSeq in docs of median 2017-02-20 20:50:37 +01:00
jos
bd52740e61 Fixed #795: Parse error in case of a multi-line expression with just comments 2017-02-15 22:05:38 +01:00
jos
1f1f7b72f9 Added semi colons 2017-02-06 20:09:50 +01:00
jos
4a98f6818b Performance optimization 2017-02-06 20:09:03 +01:00
jos
0396d9622d More clear method description 2017-02-05 13:55:49 +01:00
jos
f8370bdaf1 Fixed #790: Expression parser did not pass function arguments of enclosing functions via scope to functions having rawArgs = true 2017-02-05 13:50:06 +01:00
jos
ddb8fc4374 Released v3.9.0 2017-01-23 20:47:52 +01:00
jos
e6a658dd35 Improved examples of simplify 2017-01-22 15:39:25 +01:00
jos
99aa855a01 Fixed a few examples in docs 2017-01-22 15:33:12 +01:00
jos
f4b7855a84 Docs, examples, some fixes 2017-01-22 15:30:18 +01:00
jos
db67f4cb84 Removed method Node.simplify() (use function simplify instead) 2017-01-22 13:42:19 +01:00
jos
5c5b83988e Updaed docs of Node.simplify 2017-01-21 20:35:20 +01:00
jos
71ae3ea076 Consistent API for both derivative and simplify (dropped transform) 2017-01-20 21:43:40 +01:00
jos
1583b455ca Merge branch 'develop' into algebraic_differentiation 2017-01-20 11:18:05 +01:00
jos
79993ceac7 Fixed #765: FunctionAssignmentNode.toString() returning a string incompatible with the function assignment syntax 2016-12-18 13:29:21 +01:00
jos
29da2b0418 Released v3.8.1 2016-12-15 21:07:26 +01:00
jos
a5df5e4c47 Fixed #762: expression parser failing to invoke a function returned by a function 2016-12-10 11:41:38 +01:00
jos
b866ca3e48 Released v3.8.0 2016-11-18 19:41:40 +01:00
jos
7152142661 Fixed #732: Allow letter-like unicode characters like Ohm \u2126 2016-11-18 19:19:17 +01:00
jos
e0123c7355 Implemented a method cloneDeep for the expression Nodes. See #745. 2016-11-18 15:37:07 +01:00
Max Bruckner
ab6d9268f3 OperatorNode: Use map instead of foreach in many places 2016-11-14 18:51:21 +07:00
Max Bruckner
493bd7f6b0 OperatorNode: Support more than two operands in toTex/String
Only for multiplication and addition though.
2016-11-13 15:50:32 +07:00
Max Bruckner
f4ef42271b OperatorNode: toString/Tex: switch case -> if
This is in preparation for the next step, where the conditions will get
complexer than a simple switch case.
2016-11-11 20:45:10 +07:00
Max Bruckner
0dcd2f2ef4 OperatorNode: fix: implicit multiplication was not cloned 2016-11-11 11:59:24 +07:00
jos
f491873452 Merge branch 'develop' into algebraic_differentiation 2016-11-07 20:57:27 +01:00
jos
4306200c4c Implemented method Node.equals(other) for all nodes of the expression parser 2016-11-05 16:27:23 +01:00
tetslee
67b69b49c5 Improvements to simplify(). Also changes to the way simplify and derivative are used. 2016-11-02 16:26:22 +10:30
jos
2b95c65a30 Released v3.6.0 2016-10-21 20:10:11 +02:00
jos
064eb31381 Fixed #715: Parser now exposes test functions like isAlpha which can be replaced in order to adjust the allowed characters in variables names 2016-10-21 16:33:38 +02:00
jos
80c55add2a Parser not throwing an error for invalid implicit multiplications like -2 2 and 2^3 4 2016-10-21 15:23:20 +02:00
Jos de Jong
cd12316ec8 Merge pull request #679 from woylie/master
add pickMultipleRandom function
2016-10-19 21:39:05 +02:00
jos
84755ca968 Cleaned up unused imports 2016-10-02 14:37:52 +02:00
jos
d6ce2cd332 Released v3.5.3 2016-09-21 21:25:36 +02:00
jos
7742b36c5c Some more fixes regarding numbers ending with a decimal mark (like 2.). See #711. 2016-09-20 21:35:19 +02:00
jos
9199ae58ae Fixed #711: parser accepts numbers ending with a decimal mark again like 2.. 2016-09-20 21:02:28 +02:00
jos
92918ed9b2 Fixed #707: The expression parser no longer accepts numbers ending with a dot like 2. 2016-09-07 21:10:20 +02:00
jos
23d1786cb2 Comments of expressions are are now stored in the parsed nodes, see #690 2016-08-23 21:12:39 +02:00
jos
ba2f3e5cb4 Updated history, added docs for expression parser 2016-07-25 22:49:24 +02:00
Mathias Polligkeit
fe972bacf6 extend pickRandom function to allow multiple picks and weighted distribution, remove pickMultipleRandom 2016-07-16 17:55:38 +02:00
jos
4162108fb4 Added expression parser docs for isNaN 2016-07-05 20:22:56 +02:00
Mathias Polligkeit
c5e40b40ef add pickMultipleRandom function 2016-06-30 02:19:09 +02:00
jos
730a10749e FunctionAssignmentNode creates a TypedFunction 2016-05-22 14:25:48 +02:00
jos
b016385fe0 Fixed #665: functions map, forEach, and filter now invoke callbacks which are a typed-function with the correct number of arguments 2016-05-18 22:10:34 +02:00
jos
5edecb56c8 Removed the check on the number of arguments from functions defined in the expression parser (see #665) 2016-05-18 21:08:40 +02:00
jos
66716819a7 Fixed #644: implemented method Parser.getAll() to retrieve all defined variables 2016-04-16 09:55:48 +02:00
jos
cb4a1a98cb Fixed #641: Bug in expression parser parsing implicit multiplication with wrong precedence in specific cases 2016-04-16 09:43:24 +02:00
jos
508e39ca2c Only allow operator in to be parsed as unit 2016-04-03 14:09:46 +02:00
jos
5b682d6040 Fixed #625: Unit in (inch) not always working due to ambiguity with
the operator `a in b` (alias of `a to b`)
2016-04-03 14:06:43 +02:00
jos
8b39e1b336 Fixed #629: expression parser throws an error when passing a number with decimal exponent instead of parsing them as implicit multiplication 2016-04-03 12:46:58 +02:00
jos
26e1e26555 Fixed #635: Node.toString options where not passed to function arguments 2016-04-03 11:31:08 +02:00