4118 Commits

Author SHA1 Message Date
jos
520d5f90c9 Merge branch 'simplify2' into develop 2017-08-19 14:18:41 +02:00
firepick1 (localhost)
52e29d6456 925 simplify(string, Array, Object) 2017-08-18 17:30:48 -07:00
Max Bruckner
b2857392bd OperatorNode: Fix implicit multiplication
Fixes implicit multiplication when parenthesis is 'auto' and operands
are ConstantNodes.

This is handled by detecting that case and printing parentheses for
ParenthesisNodes even though they normally wouldn't with parenthesis
set to 'auto'.
2017-08-13 20:57:41 +02:00
Max Bruckner
1f4909c625 OperatorNode: switch-case in calculate..Parentheses 2017-08-13 19:26:37 +02:00
jos
b8cccbd1aa Released v3.16.1 v3.16.1 2017-08-12 19:56:46 +02:00
jos
1069a033e5 Added some unit tests 2017-08-12 19:54:21 +02:00
jos
bd5331a2ac Updated history 2017-08-12 14:40:31 +02:00
jos
967e65cceb Refactored usage of properties .isNode, .isSymbolNode, etc. into using functions like type.isNode(x) for security 2017-08-12 14:38:03 +02:00
jos
949261f92b Refactored usage of properties .isRange, .isIndex, .isResultSet, and .isHelp for their (safe) function equivalents 2017-08-12 13:31:09 +02:00
jos
fa01e993af Refactored x && x.isMatrix === true into type.isMatrix(x), same with isDenseMatrix and isSparseMatrix 2017-08-12 13:24:39 +02:00
jos
9e0cc3fb61 Refactored x && x.isUnit === true into type.isUnit(x) 2017-08-12 12:07:03 +02:00
jos
6d418b9b61 Refactored x && x.isFraction === true into type.isFraction(x) 2017-08-12 12:05:11 +02:00
jos
e10dd5bce5 Refactored x && x.isBigNumber === true into type.isBigNumber(x) 2017-08-12 11:54:53 +02:00
jos
26e70a4acd Refactored x.isComplex === true into type.isComplex(x) 2017-08-12 11:32:40 +02:00
jos
12918725f1 Merge branch 'develop' into moreStrictTypeChecks 2017-08-12 11:15:11 +02:00
jos
a18f2068f3 Fixed toString of a parsed expression tree containing an immediately invoked function assignment not being wrapped in parenthesis 2017-08-12 11:03:19 +02:00
jos
54230e8dc9 Fixed #916 handle dynamic function calls in simplify 2017-08-12 10:39:51 +02:00
jos
797d226f7b Merge branch 'master' into develop 2017-08-12 10:09:24 +02:00
jos
a627785f6c Updated history 2017-08-12 10:04:37 +02:00
Jos de Jong
a65420c0a5 Merge pull request #902 from AlexanderBeyn/simplify-units-in-toNumeric
Simplify units before returning numeric value
2017-08-12 10:01:17 +02:00
Alexander Beyn
27ad919287 Use a different unit, since length squared may have been affected by other tests. 2017-08-10 02:57:35 -07:00
firepick1 (localhost)
dccec26cb1 #916 simplifyCore loses custom functions 2017-08-08 20:48:24 -07:00
jos
8c2f10a865 Fixed #915: No access to property "name" 2017-08-07 20:09:12 +02:00
jos
5092e982f9 Merge branch 'develop' into moreStrictTypeChecks 2017-08-06 14:13:11 +02:00
jos
6ffef7f0a3 Released v3.16.0 v3.16.0 2017-08-06 13:46:55 +02:00
jos
05e80095dc Fixed #912: math.js didn't work on IE10 anymore 2017-08-06 12:59:40 +02:00
jos
4fc0c4bb7b Updated docs of simplify, extended algebra examples 2017-08-06 12:56:20 +02:00
jos
fd87f836f3 Updated history 2017-08-06 12:06:38 +02:00
jos
8cb017dd0d Merge branch 'simplify2' into develop 2017-08-06 12:03:53 +02:00
jos
1f2d4f3296 Replaced another occurrence of ES6 backtick 2017-08-06 12:00:51 +02:00
jos
3bb5412466 Replace ES6 backtick 2017-08-06 11:58:22 +02:00
jos
601f1942c2 Replace ES6 functionality with ES5 2017-08-06 11:54:59 +02:00
jos
3e9f0d24f8 Implemented more strict type checks in typed-functions 2017-08-04 11:15:46 +02:00
Alexander Beyn
bcf781907a Simplify units on "other", since it may have been replaced. 2017-08-03 01:55:54 -07:00
firepick1 (localhost)
53e64ee18d resolve scope Node values 2017-08-02 13:39:55 -07:00
jos
e7766e4468 Replaced examples resulting in round-off errors to prevent confusion (see #910) 2017-08-02 20:02:51 +02:00
firepick1 (localhost)
709f1bc075 #907 simplify.resolve 2017-08-02 07:30:00 -07:00
firepick1 (localhost)
bd870d3545 simplifyCore() performance improvement 2017-08-01 11:45:06 -07:00
jos
e05cd0b785 Print expression in benchmark 2017-07-31 20:47:53 +02:00
jos
62f7abfe09 Released v3.15.0 v3.15.0 2017-07-29 14:11:11 +02:00
jos
9666c16378 Fixed #846: Issues in the functions map, forEach, and filter when used in the expression parser 2017-07-29 14:05:27 +02:00
jos
60e739edf2 Updated history 2017-07-29 10:59:28 +02:00
jos
eb5ec9cc26 Added some more unit tests 2017-07-29 10:52:43 +02:00
Jos de Jong
b221946f2a Merge pull request #905 from MightyVincent/patch-1
Fixed the regex for the '-' symbol in an negative imaginary number
2017-07-28 19:59:22 +02:00
Vincent Lee
57b8199ef9 Update Complex.js 2017-07-28 08:48:29 +08:00
Vincent Lee
77768a195a Fixed the regex for imaginary number
I think you are trying to match the '-' symbol in the imaginary number of complex number, but using /[\b-.]/ as regex instead of /[-]/, right?
2017-07-27 00:06:24 +08:00
Alexander Beyn
8af981ff03 Simplify units before returning numeric value 2017-07-23 14:02:33 -07:00
Jos de Jong
27d4111547 Merge pull request #900 from ThomasBrierley/prototyped-scopes
Remove ghosting from isSafeProperty
2017-07-14 21:18:01 +02:00
Thomas Brierley
743854e1d4 Remove property ghosting tests (no longer restricted) 2017-07-14 13:10:46 +01:00
Thomas Brierley
e1749d2a0e Revert expression security test to original error 2017-07-14 13:10:18 +01:00