4118 Commits

Author SHA1 Message Date
Max Bruckner
2959858b99 operators: Use config when calculating precedence etc.
Use the parenthesis configuration to decide wether ParenthesisNodes
should be skipped or not.
2015-05-07 10:13:43 +02:00
Max Bruckner
60e2b5700a ParenthesisNode: Make use of the parenthesis config option 2015-05-07 10:13:41 +02:00
Max Bruckner
6c2cd7f7b7 Node: add method 'getContent()'
The 'getContent' method returns the next node down the node tree that
isn't a ParenthesisNode.
2015-05-07 10:12:41 +02:00
Max Bruckner
dd0a5e3a68 Parse parentheses into ParenthesisNodes 2015-05-07 10:12:41 +02:00
Max Bruckner
5b8bb06804 New configuration option 'parenthesis'
This option can be one of 'keep', 'auto' or 'all'
2015-05-07 10:12:41 +02:00
Max Bruckner
ea04373028 New ParenthesisNode to represent parentheses in the node tree 2015-05-07 10:12:40 +02:00
Max Bruckner
bc2c29be8c Make _toString functions call the wrapper 2015-05-07 10:12:32 +02:00
rjbaucells
fe8599a1b6 Do not call equal() for all items 2015-05-05 20:16:18 -04:00
rjbaucells
1b02fc26c4 Revert "Do not call equal() for all items"
This reverts commit 0edf1fe27f9b1ce25d63b6024db5e5d32070d24d.
2015-05-05 20:05:50 -04:00
rjbaucells
0edf1fe27f Do not call equal() for all items 2015-05-05 19:58:47 -04:00
Rogelio J. Baucells
ba88236dc4 Merge pull request #359 from rjbaucells/v2
Fixed bug in algorithm04
2015-05-05 17:37:15 -04:00
Rogelio J. Baucells
8603f8212e Merge remote-tracking branch 'origin/v2' into v2-sparse 2015-05-05 17:22:20 -04:00
Rogelio J. Baucells
92d270ca31 Test for algorithm04 bug 2015-05-05 17:16:24 -04:00
Rogelio J. Baucells
9b98aba8ff Replaced new Array() for [] 2015-05-05 17:12:02 -04:00
Rogelio J. Baucells
556f73789b Merge remote-tracking branch 'origin/v2' into v2-sparse 2015-05-05 16:57:06 -04:00
Rogelio J. Baucells
68a864eef0 Fixed bug in algorithm04 2015-05-05 16:56:36 -04:00
Max Bruckner
b762d16dd8 Merge pull request #357 from devanp92/patch-1
Deleting console.log statement
2015-05-05 21:57:37 +02:00
Devan Patel
e33ae343c5 Deleting console.log statement
https://github.com/josdejong/mathjs/issues/355
2015-05-05 14:10:01 -04:00
Rogelio J. Baucells
528128c2fe Merge pull request #42 from josdejong/v2
v2 sync
2015-05-05 10:24:25 -04:00
jos
06b9664b87 Removed more instanceof checks 2015-05-05 15:21:57 +02:00
jos
8c032f2593 Replaced all instanceof checks with x && xisMyType === true checks 2015-05-05 15:09:21 +02:00
jos
3242cd8550 Attached properties like.type === 'Complex' and .isComple to all data types 2015-05-05 14:35:45 +02:00
jos
320378543f Moved the primitive types to ./lib/type again (not in a subfolder primitive) 2015-05-05 14:04:23 +02:00
jos
b32b89f94c Moved help/docs related stuff to ./lib/expression 2015-05-05 14:01:38 +02:00
jos
7e3eda8603 Moved all data types and their construction functions into a folder of their own under ./lib/type 2015-05-05 13:51:24 +02:00
jos
3dc48519d9 Moved FibonacciHeap to ./lib/type/matrix 2015-05-05 12:04:57 +02:00
jos
758107428c Moved collection.js and Matrix.js under ./lib/type/matrix, moved construction functions matrix.js and sparse.js to ./lib/type/matrix/function, and created an index file. 2015-05-05 12:00:07 +02:00
jos
8b06d04d48 Moved expression related functions under ./lib/expression/function 2015-05-05 11:52:18 +02:00
jos
052c6109af Moved related functions to ./lib/core 2015-05-05 11:49:39 +02:00
jos
7b4f83b83b Merge remote-tracking branch 'origin/v2' into v2 2015-05-05 11:05:04 +02:00
Jos de Jong
cd6f6df393 Merge pull request #346 from rjbaucells/sparse-arithmetic
Sparse arithmetic updates
2015-05-05 11:04:18 +02:00
Rogelio J. Baucells
1b3cf30e98 Fixed performance problems with array 2015-05-05 01:25:15 -04:00
Rogelio J. Baucells
d86de79aad Algorithm updates (fixed array performance problem) 2015-05-05 00:54:28 -04:00
Devan Patel
fc693b469b Adding permutation type 2015-05-05 00:18:13 -04:00
Rogelio J. Baucells
4f57b33747 Array fix 2015-05-05 00:14:01 -04:00
rjbaucells
79d933d1e3 algorithm13 - stack based 2015-05-04 20:10:37 -04:00
rjbaucells
c1b5c38be1 algorithm13 updates 2015-05-04 19:23:34 -04:00
Rogelio J. Baucells
00a493b820 algorithm13 updates 2015-05-04 18:18:39 -04:00
Rogelio J. Baucells
e48c378b2d algorithm13 updates 2015-05-04 17:45:56 -04:00
Rogelio J. Baucells
ace5191714 algorithm04 updates 2015-05-04 16:37:58 -04:00
Devan Patel
c3f051ee8b Fixing IntegerOverflow on Composition. Updated tests as well. 2015-05-04 16:03:59 -04:00
Devan Patel
4dad1fed3d Fixing BigNumber for possible IntegerOverflow. I have updated tests as well. 2015-05-04 15:59:26 -04:00
Devan Patel
f7c35f0ba1 Create composition.md 2015-05-04 14:37:18 -04:00
Devan Patel
9e83897775 Adding documentation for Bell Numbers 2015-05-04 14:27:45 -04:00
Devan Patel
ff73f26132 Merge branch 'master' of github.com:devanp92/mathjs
ed3b86653bb723d362f23f5ceedf8229dceaa14.
2015-05-04 14:23:46 -04:00
Devan Patel
900c0cef7a Create stirlingS2.md 2015-05-04 14:13:58 -04:00
rjbaucells
bd3b336eaf Merge branch 'v2-sparse' of https://github.com/rjbaucells/mathjs into v2-sparse 2015-05-04 11:26:42 -04:00
rjbaucells
472299d341 sync 2015-05-04 11:26:37 -04:00
rjbaucells
b2067268be Merge remote-tracking branch 'origin/sparse-arithmetic-tmp' into v2-sparse
Conflicts:
	lib/type/matrix/SparseMatrix.js
2015-05-04 11:26:18 -04:00
rjbaucells
16bb1d189a to updates 2015-05-04 09:41:59 -04:00