36 Commits

Author SHA1 Message Date
josdejong
fdc7c8db03 Fixed some errors after solving merge conflicts 2014-04-11 22:18:40 +02:00
josdejong
f0035e8c41 Merge branch 'master' into develop
Conflicts:
	lib/function/arithmetic/compare.js
	lib/function/arithmetic/equal.js
	lib/function/arithmetic/larger.js
	lib/function/arithmetic/largereq.js
	lib/function/arithmetic/smaller.js
	lib/function/arithmetic/smallereq.js
	lib/function/arithmetic/unequal.js
	lib/math.js
	lib/util/number.js
	test/math.test.js
2014-04-11 22:15:31 +02:00
Rogelio J. Baucells
ed5ab3f629 Formatting fixes 2014-04-11 15:55:29 -04:00
josdejong
97cbb0093f Moved errors to their own namespace and folder 2014-04-11 18:02:29 +02:00
josdejong
922ce679e6 Moved UnsupportedTypeError to the others, and made it independent of the math namespace 2014-04-11 17:44:55 +02:00
rjbaucells
a6bfaf8d3a Floating point numbers equality 2014-04-10 00:38:26 -04:00
josdejong
8cea27406b Some internal refactoring 2014-04-06 11:22:13 +02:00
josdejong
45550e5ffb Changed configuration option decimals to precision 2014-04-06 11:14:01 +02:00
josdejong
ad554ef1f7 Updates and fixes to work with a different BigNumber instance per math.js instance 2014-04-05 22:42:03 +02:00
josdejong
d19e7ea570 Switched to module decimal.js for BigNumber support, instead of bignumber.js. 2014-04-04 21:08:33 +02:00
josdejong
b333ad073a Implemented function median 2014-03-29 22:26:12 +01:00
josdejong
763abb425e Implemented function compare 2014-03-29 21:43:22 +01:00
josdejong
a073a95859 Implemented functions sum, prod, var, std. Reducing a matrix over a specified dimension still missing 2014-03-29 14:45:09 +01:00
Matt Traynham
7d26235842 Adds support for IfElse ternary operation functions. These can be used in the compiler as well. Much easier than adding basic parse support for ternary operands '?' & ':'. 2014-03-11 20:07:02 -04:00
josdejong
b7826bf65a Implemented function compile 2014-02-15 17:59:19 +01:00
josdejong
b214cdbd54 Fixed broken example old_browsers.html 2014-01-20 16:12:07 +01:00
josdejong
36a65785fb Merge branch 'develop' into expression_compilation
Conflicts:
	HISTORY.md
2014-01-07 21:45:51 +01:00
josdejong
5d96ce4c16 Removed old code for expression evaluation 2014-01-07 21:07:43 +01:00
Daniel Levin
45b619cf84 added combinations function 2014-01-05 13:44:45 +02:00
Daniel Levin
d8f926bbb6 added permutations function addressing #99 2014-01-04 17:28:25 +02:00
Daniel Levin
e0462a63b6 Removed superfluous require statement 2014-01-04 16:40:08 +02:00
Elijah Insua
be67514557 move the 'in' unit conversion keyword to 'to'
This also enables 'in' as an alias of 'inch'.  refs #120
2013-12-20 15:31:18 -07:00
josdejong
d22168ea88 Added script for coverage report 2013-12-14 13:20:27 +01:00
josdejong
d8f3b97e9f Fixed support for old browsers (IE6 - IE8), compatible when using es5-shim. 2013-12-12 10:24:07 +01:00
josdejong
91dae90e1e Fixed #108: math.js not working in Java's ScriptEngine 2013-12-10 21:34:37 +01:00
josdejong
f2f1ae1f72 Renamed and flattened configuration settings 2013-12-07 11:39:45 +01:00
josdejong
0210ec0d41 UnsupportedTypeError can now determine the type of values 2013-11-28 17:15:28 +01:00
josdejong
bf8eb9a01b Implemented setting number.precision for big numbers. 2013-11-21 14:05:23 +01:00
josdejong
3a4c1c5ef0 Internally renamed variable options to settings 2013-11-21 13:39:24 +01:00
josdejong
80b8b34042 Implemented function config 2013-11-21 13:13:26 +01:00
josdejong
6f357a2207 Moved content of ./index.js to ./lib/math.js 2013-11-21 10:44:06 +01:00
josdejong
706284a280 Moved math.js and math.min.js back to the root of the project 2013-02-17 20:27:39 +01:00
josdejong
16c64dffda Implemented methods ceil, fix, floor, round, random, atan2 2013-02-17 20:21:46 +01:00
josdejong
27b96f31e9 Implemented methods asin, acos, atan 2013-02-17 15:54:48 +01:00
josdejong
3f93052359 Logo created 2013-02-17 14:01:31 +01:00
josdejong
b43963949b Moved math.js and math.min.js to folder lib 2013-02-17 13:11:02 +01:00