30 Commits

Author SHA1 Message Date
jos
d15751b041 Fixed operations with mixed fractions and numbers be converted to numbers instead of fractions. 2015-07-28 20:48:55 +02:00
jos
3f77f7138a Upgraded to typed-function v0.10.0 2015-07-26 19:48:18 +02:00
jos
ae24d7ca81 Documented typed-functions and factory functions, and added an example 2015-07-26 15:15:12 +02:00
jos
a3a09927a9 Reimplemented support for transform property on an imported function 2015-07-22 21:23:23 +02:00
jos
188f43a26a Lazy loading works ... hurray!!! 2015-07-22 21:13:15 +02:00
jos
ec2da034a2 Halfway implementing lazy loading 2015-07-22 20:37:34 +02:00
jos
396d951c95 Halfway implementing lazy loading 2015-07-21 20:49:52 +02:00
jos
2353c4a61e Renamed folders util to utils 2015-07-18 13:22:38 +02:00
jos
3cf7d2c309 Conversions to v2 2015-06-07 16:53:40 +02:00
jos
0eb9b5b119 Implemented a new configuration option predictable, which can be set to true in order to ensure predictable function output types. 2015-05-23 21:00:08 +02:00
Rogelio J. Baucells
96a9805ee8 v2-sync 2015-05-21 00:40:10 -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
d81fe279cc String input is now converted to numbers by default for all functions. Adding two strings will no longer concatenate them, but will convert the
strings to numbers and add them.
2015-05-19 22:18:40 +02:00
Jos de Jong
06e36f79d2 Merge pull request #364 from FSMaxB/callbacks
Pass configuration to `toTex` and `toString` and callbacks for `toString`
2015-05-17 20:56:23 +02:00
jos
090c9e8ae8 Upgraded to typed-function 0.9.0, resolving nondeterministic ordering of types. Solved performance issues with add, divide, and multiply. 2015-05-17 20:45:32 +02:00
jos
e055828205 Minor tweaks 2015-05-17 17:00:20 +02:00
Max Bruckner
a893307831 Remove global "parenthesis" configuration option 2015-05-16 13:30:56 +02:00
jos
096a5f3a55 Upgraded to typed-function v0.8.3. Implemented support for merging typed-functions via math.import. Added option silent for math.import. 2015-05-16 11:33:58 +02:00
jos
e6cbc8a346 Upgraded to fraction.js v1.9.0 2015-05-15 22:20:35 +02:00
rjbaucells
6f8fca77cb tests - final 2015-05-13 20:29:43 -04:00
jos
73f2dc2601 Implemented Fraction (using library fraction.js) for add, subtract, multiply, divide. 2015-05-12 11:42:57 +02:00
jos
9f957cca0a Merge remote-tracking branch 'origin/v2' into v2 2015-05-09 21:40:37 +02:00
jos
282ec6819f Updated typed-function to v0.8.2 2015-05-09 21:40:18 +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
jos
868b2702b5 Updated to typed-function v0.8, creating a new instance of typed-function for each instance of math.js. Better error messages and new utility functions typed.convert and typed.find. 2015-05-09 14:53:36 +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
jos
8c032f2593 Replaced all instanceof checks with x && xisMyType === true checks 2015-05-05 15:09:21 +02:00
jos
052c6109af Moved related functions to ./lib/core 2015-05-05 11:49:39 +02:00