jos
|
349e9845e8
|
Merge branch 'develop' into v2_merge
Conflicts:
HISTORY.md
bower.json
component.json
dist/math.js
dist/math.map
dist/math.min.js
docs/reference/units.md
lib/version.js
package.json
test/function/construction/chain.test.js
test/function/matrix/det.test.js
test/function/matrix/transpose.test.js
test/function/utils/import.test.js
|
2015-04-13 21:42:43 +02:00 |
|
Jos de Jong
|
bc6f63b6c9
|
Merge pull request #318 from FSMaxB/latex-restructure
Restructure and complete the LaTeX generator.
|
2015-04-13 09:39:16 +02:00 |
|
jos
|
3150e21c8e
|
Fixed #313: parsed functions did not handle recursive calls correctly
|
2015-04-09 20:29:51 +02:00 |
|
Max Bruckner
|
dacf9fba46
|
OperatorNode: bugfix: toTex creates invalid LaTeX
toTex has been creating invalid LaTeX for fractions where the operands
are in parenthesis, see '(1+1)/2' for example
|
2015-04-05 14:29:15 +02:00 |
|
Max Bruckner
|
0868987cdf
|
util/latex: use ":=" for assignments and '=' 'equal'
|
2015-04-05 14:29:14 +02:00 |
|
Max Bruckner
|
6b1d09f2cb
|
util/latex: new toSymbol
|
2015-04-05 14:29:12 +02:00 |
|
Max Bruckner
|
5dcb87aeaa
|
util/latex: Remove unused functions
* toArgs
* addBraces
* dots and curly functions
util/latex.js: Remove Function addBraces
util/latex.js remove dots and curly functions
|
2015-04-05 14:29:09 +02:00 |
|
Max Bruckner
|
13e35217b7
|
Latex restructure
|
2015-04-05 14:25:54 +02:00 |
|
jos
|
8a68bb56e4
|
Merged math.js v1.5 into v2. Format support of functions eye and diag still needs to be fixed
|
2015-03-31 22:07:47 +02:00 |
|
Rogelio J. Baucells
|
0d34992080
|
Merge pull request #23 from josdejong/develop
Sync
|
2015-03-19 00:06:26 -04:00 |
|
Max Bruckner
|
47f76f35ac
|
Limit custom toTex with multiple callbacks to FunctionNodes
Now only FunctionNode's toTex can be overwritten mit a map of callbacks
|
2015-03-17 18:14:14 +01:00 |
|
Max Bruckner
|
af763aa996
|
Fix breaking change (Node.toTex should return an empty string)
|
2015-03-13 21:23:14 +01:00 |
|
Max Bruckner
|
0fee9173c8
|
Enable custom toTex functions
|
2015-03-13 21:23:14 +01:00 |
|
Max Bruckner
|
35ce7f7fb4
|
Make Node.toTex a wrapper like Node.compile
Node.prototype.toTex is now a wrapper that calls the node's _toTex
|
2015-03-13 21:23:14 +01:00 |
|
Rogelio J. Baucells
|
2077c39885
|
Matrix inheritance implementation
|
2015-03-10 15:28:19 -04:00 |
|
Jos de Jong
|
81e56601d2
|
Merge branch 'develop' into v2
|
2015-03-09 20:19:12 +00:00 |
|
Rogelio J. Baucells
|
21db7d8de9
|
Parser fixes
|
2015-03-04 15:29:12 -05:00 |
|
Rogelio J. Baucells
|
da377b9fb7
|
Parser fixes
|
2015-03-04 14:39:53 -05:00 |
|
Rogelio J. Baucells
|
b4463d9ef3
|
Initial require() changes
|
2015-03-04 13:53:32 -05:00 |
|
Max Bruckner
|
6a9c2df38c
|
Update FunctionAssignmentNode to better handle parenthesis
|
2015-03-01 17:10:09 +01:00 |
|
Max Bruckner
|
bb2bfc939c
|
Update AssignmentNode to better handle parenthesis
|
2015-03-01 17:02:42 +01:00 |
|
Max Bruckner
|
b2d868c2ed
|
Update OperatorNode's toTex to better handle parens
Use the new infrastructure in OperatorNode's toTex
|
2015-03-01 16:34:09 +01:00 |
|
Max Bruckner
|
b5ce799e9d
|
New generic toString for AssignmentNode
|
2015-03-01 10:35:04 +01:00 |
|
Max Bruckner
|
1f2f42012c
|
New generic toString for FunctionAssignmentNode
|
2015-03-01 10:35:04 +01:00 |
|
Max Bruckner
|
b1a438fd7f
|
New generic toString for RangeNode
|
2015-03-01 10:35:03 +01:00 |
|
Max Bruckner
|
9489fbf9dc
|
New generic toString for ConditionalNode
|
2015-03-01 10:35:03 +01:00 |
|
Max Bruckner
|
1ac3319656
|
OperatorNode: validate input
|
2015-03-01 10:35:03 +01:00 |
|
Max Bruckner
|
0e5a6e5a38
|
New generic toString for OperatorNode
|
2015-03-01 10:35:03 +01:00 |
|
Max Bruckner
|
2e51086fda
|
Function to check associativity between operators
'isAssociativeWith(a,b)' to check if a is associative with b.
Example:
'+' is associative with '-' because (a+b)-c=a+(b-c)
|
2015-03-01 10:35:03 +01:00 |
|
Max Bruckner
|
91c0dd6b6d
|
Function getAssociativity
Function to get the left/right associativity of an operator
|
2015-03-01 10:35:03 +01:00 |
|
Max Bruckner
|
9a3c3f9f95
|
Function getPrecedence to get operator precedence.
|
2015-03-01 10:35:03 +01:00 |
|
Max Bruckner
|
d593e749e9
|
New function getIdentifier() for Nodes
getIdentifier() returns a String that contains the name of the node and
the function associated with it ( in case of FunctionNode and
OperatorNode ).
|
2015-03-01 10:35:03 +01:00 |
|
jos
|
cdd7bb8a83
|
Updated to typed-function 0.6.2, fixing a couple of bugs. Conversion from BigNumber to Complex added.
|
2015-02-26 21:51:25 +01:00 |
|
jos
|
db4a004e58
|
Merge branch 'develop' into v2
Conflicts:
HISTORY.md
|
2015-02-20 19:56:12 +01:00 |
|
Max Bruckner
|
e587f0ce00
|
New tests for Operator mode
* Factorial of Operator node
* Test unaryMinus with sums and differences
* Test OperatorNode that substracts an OperatorNode
|
2015-02-14 16:31:05 +01:00 |
|
jos
|
f532155c7d
|
Refactored multiply to a typed-function
|
2015-02-07 21:03:26 +01:00 |
|
jos
|
8edf472478
|
Upgraded to typed-function v0.6.1, more functions refactored.
|
2015-02-07 20:29:32 +01:00 |
|
jos
|
86bcd55352
|
Changed the way transforms are registered internally, making Node.compile faster, and enabling lazy-loading constants
|
2015-01-13 10:48:52 +01:00 |
|
jos
|
3d84b47658
|
Fixed #258: missing parentheses in the toTex representation of function permutations.
|
2015-01-03 10:29:55 +01:00 |
|
jos
|
3c7c3a2193
|
Upgraded to decimal.js v4.0.1
|
2014-12-25 17:47:45 +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
|
af08c269f3
|
Added operators &, |, <<, >>, >>> not, and, or to the expression parser
|
2014-12-23 16:25:32 +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
|
e73df48938
|
Removed fail test case for now functioning token '~'. Added test cases for it as well.
|
2014-12-15 04:00:52 -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 |
|