27 Commits

Author SHA1 Message Date
jos
f6fe12d452 Added more reference docs (not all docs are complete yet) 2014-04-28 22:08:11 +02:00
jos
6d4a997ef4 Fixed comparison functions not applying option epsilon 2014-04-16 10:13:11 +02:00
jos
3e62516909 Documented new option epsilon for comparison. Changed default value to 1e-14 2014-04-16 09:28:03 +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
2778ae935a Floating point numbers equality/inequality 2014-04-10 21:27:44 -04:00
Rogelio J. Baucells
9204e0e6aa Floating point numbers equality 2014-04-10 15:48:14 -04:00
rjbaucells
a6bfaf8d3a Floating point numbers equality 2014-04-10 00:38:26 -04:00
rjbaucells
eebd866e1d Floating point numbers equality
first implementation
2014-04-10 00:23:05 -04:00
rjbaucells
743c36acbd Floating point numbers equality 2014-04-10 00:00:43 -04:00
josdejong
492d7f4c4f Moved ArgumentsError from lib/type/ to lib/util/ 2014-04-06 21:25:46 +02:00
josdejong
d8ddbfddac Fixed #156: Fixed support for element-wise comparisons between a string and a matrix 2014-04-05 23:47:54 +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
91dae90e1e Fixed #108: math.js not working in Java's ScriptEngine 2013-12-10 21:34:37 +01:00
josdejong
0210ec0d41 UnsupportedTypeError can now determine the type of values 2013-11-28 17:15:28 +01:00
josdejong
9338e0a4ec All arithmetic functions can now handle mixed complex numbers, big numbers, and units 2013-11-28 11:41:18 +01:00
josdejong
26c0332883 On mixed Number/BigNumber inputs, all operators now downgrade the inputs if Number is a fraction. 2013-11-23 10:28:42 +01:00
josdejong
21e4f7f160 Neatly splitted calculations with Numbers and Booleans 2013-11-19 21:34:20 +01:00
josdejong
ac41566de8 Wrapped all bignumber functions available in the bignumber.js library 2013-11-16 17:49:16 +01:00
josdejong
dd662ba948 Functions don't allow arguments of unknown type anymore 2013-11-15 21:33:38 +01:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +02:00
josdejong
5481b0a663 Introduced an option math.options.matrix.default which can have values matrix (default) or array. This option is used by the functions eye, ones, range, and zeros, to determine the type of matrix output. 2013-10-01 20:37:28 +02:00
josdejong
2dc6ac6cdf Implemented support for booleans in all relevant functions 2013-09-02 21:36:52 +02:00
Sebastien Piquemal
a595266347 added all files in lib/ 2013-08-14 15:39:21 +04:00