332 Commits

Author SHA1 Message Date
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
jos
57a47b3b5a Moved pure collection functions to lib/util/collection 2015-07-18 12:53:07 +02:00
jos
493f34ec7b Split collection.js into separate (pure) functions 2015-07-18 11:47:38 +02:00
jos
f19cfb4394 Reintroduced node.eval(scope). Updated some docs and examples 2015-07-18 10:21:48 +02:00
jos
6c592fa67c Added an example custom_loading.js 2015-07-14 21:13:00 +02:00
jos
658990a49b Moved Range and Index under lib/type/matrix. Renamed the file Index.js to MatrixIndex.js to prevent name conflicts on Windows. Added an index.js file in lib/function 2015-07-12 20:21:27 +02:00
jos
936386c96c Fixed #405: Parser throws error when defining a function in a multiline expression 2015-07-11 20:21:49 +02:00
jos
1fdd5b0e7a Changed random naming of parameters to using a counter 2015-07-03 17:16:10 +02:00
Max Bruckner
24cd767fa0 Get rid of exports.functions in 'lib/util/latex.js' 2015-06-14 20:11:18 +02:00
jos
d2e8ec06f2 Fixed docgenerator for v2. Updated docs. 2015-06-10 20:50:29 +02:00
Max Bruckner
a598204fa7 Change template Syntax to ES6 like style
Access properties via ${property} and ${property[index]}
2015-06-07 18:49:58 +02:00
Max Bruckner
b3e8aae10c LaTeX templates for attached toTex properties 2015-06-07 18:47:50 +02:00
Max Bruckner
665df50fc8 FunctionNode: Move latexToFunction to _toTex 2015-06-07 18:47:21 +02:00
Max Bruckner
0402d003dd Move logic for attached toTex to _toTex
This is necessary because otherwise it would overwrite the behavior of a
global callback (passed in `options`).
2015-06-07 18:46:51 +02:00
Max Bruckner
0078cbcb76 Move LaTeX template expansion to FunctionNode 2015-06-07 18:46:20 +02:00
Max Bruckner
40fb34924f Move function to LaTeX logic from util/latex to FunctionNode 2015-06-07 18:46:14 +02:00
Max Bruckner
2b11b14632 Enable attaching toTex callbacks to functions 2015-06-07 18:41:25 +02:00
jos
1fe4dc899d Merged latest develop to v2 2015-06-07 16:53:24 +02:00
jos
a92b978036 Merged develop into v2 2015-06-07 15:57:41 +02:00
Jos de Jong
2705fd7bac Merge pull request #380 from kv-kunalvyas/develop
Added intersection function
2015-06-07 13:57:38 +02:00
Kunal Vyas
58cfb20ffd Wrote unit tests
- Added intersect.js file in lib/expression/docs
- added an entry in the index.js file in expression/docs
- modified intersect.js to give appropriate error messages
- added an entry in lib/math.js so that the test case file could find
the function
- wrote the test cases for intersect
2015-06-06 22:44:32 -04:00
jos
2d84debd6c Added/updated missing docs 2015-05-31 14:29:42 +02:00
jos
82ed4ca497 Fixed #381: issue in docs of randomInt (see also #382) 2015-05-31 14:01:59 +02:00
Rogelio J. Baucells
9eaafcbc5c Merge branch 'josdejong/v2' into v2-sparse 2015-05-29 21:20:09 -04:00
jos
c810981238 Method Node.compile() no longer needs math to be passed as argument. 2015-05-27 13:30:35 +02:00
Rogelio J. Baucells
d927b08945 Merge remote-tracking branch 'origin/v2-Index' into v2-sparse 2015-05-22 15:25:21 -04:00
Rogelio J. Baucells
f2a179aa31 Merge branch 'josdejong/v2' into v2-Index
Conflicts:
	lib/core/typed.js
	lib/type/index/prototype/Index.js
2015-05-21 00:38:58 -04:00
Rogelio J. Baucells
fedae8e386 Set removal 2015-05-20 18:16:17 -04:00
jos
6c7bf4acf0 Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...). 2015-05-20 21:08:26 +02:00
jos
be98cf613d Updated docs of add to reflect changed behavior for strings 2015-05-20 19:59:43 +02:00
Max Bruckner
5b160767c1 operators.js: Pass parenthesis option directly 2015-05-16 13:31:57 +02:00
Max Bruckner
3f217cefdd toTex: no global configuration. Only pass around one local object 2015-05-16 13:30:25 +02:00
Max Bruckner
c0e1b2d268 toString: no global configuration. Only pass around one local object 2015-05-16 13:29:55 +02:00
Max Bruckner
a347405a98 toString: implement callbacks and local configuration 2015-05-16 13:28:51 +02:00
Max Bruckner
291d620972 Pass local configuration to toTex functions 2015-05-16 13:27:48 +02:00
Max Bruckner
e383c1c2ce Throw errors when trying to toTex/toString a Node interface 2015-05-16 13:21:39 +02:00
Max Bruckner
4159064a33 Node.toTex: remove dependency on FunctionNode
This is achieved by overriding parts of Node.toTex in FunctionNode.toTex
2015-05-16 13:21:38 +02:00
rjbaucells
799ccc9463 set from parser 2015-05-13 22:45:28 -04:00
rjbaucells
6f8fca77cb tests - final 2015-05-13 20:29:43 -04:00
rjbaucells
a85cbee709 transform - partial 2015-05-12 20:32:23 -04:00
rjbaucells
b23d6ef7d1 Set 2015-05-12 20:01:17 -04:00
jos
0c1e9deeeb Implemented configuration value {number: 'fraction'}. Added docs and example for fractions. 2015-05-12 14:40:47 +02:00
rjbaucells
a432b732ef Merge remote-tracking branch 'origin/v2-test' into v2-sparse 2015-05-10 12:17:37 -04:00
Max Bruckner
474a2330c5 ParenthesisNode: Bugfix: call the toString wrapper function 2015-05-09 21:22:29 +02:00
Jos de Jong
7d14e3349f Merge pull request #360 from FSMaxB/ParenthesisNode_v2
ParenthesisNode and parenthesis configuration options for v2
2015-05-09 21:03:06 +02:00
Rogelio J. Baucells
737d476970 slu() and lusolve() 2015-05-08 15:45:03 -04:00
Jos de Jong
34d8ab536f Merge pull request #361 from rjbaucells/v2
Algebra updates / additions
2015-05-08 20:44:26 +02:00
Max Bruckner
aa7ca9178f Implement 'all' parenthesis option 2015-05-08 09:07:15 +02:00
rjbaucells
e8111f3958 doc updates 2015-05-07 23:50:53 -04:00
rjbaucells
dd6335a6db lsolve() and usolve() 2015-05-07 23:43:28 -04:00