1559 Commits

Author SHA1 Message Date
jos
077890fbb5 Cleaned up redundant function BigNumber.convert 2015-05-01 23:08:30 +02:00
jos
18d9b8942e Dropped support for module names from function import 2015-05-01 23:00:58 +02:00
jos
0ccb0bce4c Refactored Chain, decoupled from import 2015-05-01 16:23:04 +02:00
jos
99e3fd40c4 Introduced event emitter, and events config and import. Renamed loader.js to core.js 2015-05-01 14:03:29 +02:00
jos
e348cb70a2 Refactored Range and Index. Reorganized index.js 2015-04-30 20:36:45 +02:00
Max Bruckner
6235fd6ce1 Make toString a wrapper around _toString
This enables preparating the node tree in `toString` before generating
the actual string output with `_toString` methods
2015-04-30 00:12:54 +02:00
Max Bruckner
dca94e67b7 Node.toTex: improve 'not implemented' error message to contain the type. 2015-04-29 23:59:31 +02:00
Max Bruckner
15eb602a8f Remove workarounds from Node and ArrayNode 2015-04-29 12:12:46 +02:00
jos
1204259209 Refactored Complex and Unit into factory functions 2015-04-28 22:04:42 +02:00
jos
e5e2625838 Enclosed ResultSet in a factory function 2015-04-28 21:40:35 +02:00
jos
c424968173 Merge remote-tracking branch 'origin/v2' into v2 2015-04-28 21:02:57 +02:00
Jos de Jong
ee6fc7df32 Merge pull request #347 from FSMaxB/no_instanceof
Get rid of instanceof for nodes
2015-04-28 21:02:45 +02:00
jos
de7f84ad3a Name for a factory is now optional. All transform functions do no longer export something to the math namespace 2015-04-28 20:49:35 +02:00
jos
2b571b3e40 Created an index.js file for expression related stuff 2015-04-28 20:38:55 +02:00
jos
106c5969de Refactored Help into a factory function 2015-04-28 20:37:14 +02:00
jos
dc54b157b0 Removed redundant UnsupportedTypeError 2015-04-28 20:20:48 +02:00
jos
e9e87cd938 Refactored ones and zeros to typed-functions. Created an index.js file for all matrix functions. 2015-04-28 20:14:08 +02:00
Max Bruckner
8282f424c2 Use the prototype for is<Node> instead of the constructor 2015-04-28 20:13:53 +02:00
Max Bruckner
1c76430dda Get rid of 'instanceof' for Nodes (except for constructors) 2015-04-28 10:09:19 +02:00
Max Bruckner
250707b668 Convert the isNode function into a boolean property. 2015-04-28 09:56:01 +02:00
Max Bruckner
390a0060b4 Add is<NameOfNode> property to enable type checking across constructors 2015-04-28 09:14:53 +02:00
jos
365d17e35e Removed shortcut to Array.isArray 2015-04-27 21:00:21 +02:00
jos
6caef99cbf Changed the factory of function resize. Not yet rewritten to typed-function 2015-04-27 20:53:55 +02:00
jos
444dc1c521 Created an index file for all transforms and for units 2015-04-27 20:20:33 +02:00
jos
e8c6dcf7c1 Refactored filter.transform, forEach.transform, and index.transform into typed-functions. 2015-04-27 20:14:07 +02:00
jos
811508906c Refactored functions range, subset, concat.transform, map.transform, max.transform, mean.transform, min.transform, range.transform, subset.transform to typed-functions 2015-04-27 19:11:21 +02:00
jos
84512de60b Added a few more index.js files. Removed caching mechanism for function transforms (will be improved upon later again) 2015-04-27 14:54:03 +02:00
Max Bruckner
e62ab0dae4 Proper toTex for units and symbols.
Symbols now don't use `\mathrm` anymore by default, but units do.
2015-04-27 11:08:31 +02:00
Max Bruckner
ca4a0bfda4 Change LaTeX output of string function
toTex shouldn't do operations like toString on the node tree
2015-04-27 10:09:42 +02:00
Max Bruckner
8d1d20ba2e Merge branch 'develop' into v2 2015-04-27 09:14:50 +02:00
jos
d3d3212633 Refactored all nodes into factory functions (see #342) 2015-04-26 21:25:31 +02:00
jos
7a37c777e4 Created index.js files for most groups of functions so you can import a all functions with a single action 2015-04-26 20:28:47 +02:00
Max Bruckner
51cbf7eaa8 Include --tex and --string in the documentation of the cli 2015-04-26 14:26:00 +02:00
jos
f1215aea82 Updated history 2015-04-26 13:21:03 +02:00
Max Bruckner
f9a2118da0 bin/cli: Add execute permission 2015-04-26 00:44:26 +02:00
Max Bruckner
32d507d123 functions/statistics/median: test for issue (#309)
This is a test to check that median doesn't mutate it's input
2015-04-26 00:07:29 +02:00
Max Bruckner
881ff20097 util/array: make flatten not mutate the input (see #309) 2015-04-26 00:03:36 +02:00
Max Bruckner
637d728f59 zeros: fix typo in error message (eye --> zeros) 2015-04-25 21:25:46 +02:00
Jos de Jong
c379e034e8 Merge pull request #338 from rjbaucells/v2
SparseMatrix refactoring
2015-04-25 14:14:06 +02:00
Rogelio J. Baucells
748fe0d0fb CcsMatrix refactoring 2015-04-24 11:13:17 -04:00
Jos de Jong
d095889ea6 Merge pull request #336 from FSMaxB/cli
`toTex` and `toString` support for the command line interface
2015-04-24 13:53:41 +02:00
Max Bruckner
a625137a20 cli: implement --tex and --string options 2015-04-24 13:32:04 +02:00
Max Bruckner
abeecacd55 cli: infrastructure for parsing multiple commandline options
As a side effect this enables specifying multiple scripts.
2015-04-24 13:07:25 +02:00
Jos de Jong
49b5b47af6 Merge pull request #333 from rjbaucells/v2
multiply() refactoring
2015-04-23 11:41:56 +02:00
rjbaucells
3abb15d375 test comments 2015-04-22 20:23:23 -04:00
rjbaucells
0a7fe85e01 multiply() tests 2015-04-22 20:06:45 -04:00
rjbaucells
319a4975a9 Revert "multiply() tests"
This reverts commit 961a15ae778829bf176e1c80e02b22831ec7a7e5.
2015-04-22 20:04:12 -04:00
rjbaucells
961a15ae77 multiply() tests 2015-04-22 20:04:02 -04:00
rjbaucells
a2d2e24e76 multiply() refactoring 2015-04-22 19:46:35 -04:00
jos
952ec790cf Refactored concat and flatten to typed-functions 2015-04-22 22:13:04 +02:00