25 Commits

Author SHA1 Message Date
jos
8a12c8e9bc Fixed #200: A new instanceof of math.js must now be created as math.create([options]) instead of math([options]) 2014-08-03 21:42:12 +02:00
jos
e5ce909524 Reworked the way matrices are resized when dimensions are added/removed 2014-08-03 15:56:39 +02:00
jos
5e1cfbf545 Implemented implicit multiplication. Fixed a bug with multiplying non-valued temperatures with a number 2014-06-30 13:43:50 +02:00
jos
7dbba81eca Output of matrix multiplication is now consistently squeezed 2014-05-18 15:14:09 +02:00
jos
37f97625c8 Fixed #185: a bug in multiplying two matrices containing vectors (worked fine for arrays) 2014-05-18 14:58:35 +02:00
jos
2f200d7c60 Fixed a bug in multiplying units without value with a number (like 5 * cm). 2014-05-16 20:10:54 +02:00
josdejong
97cbb0093f Moved errors to their own namespace and folder 2014-04-11 18:02:29 +02:00
josdejong
492d7f4c4f Moved ArgumentsError from lib/type/ to lib/util/ 2014-04-06 21:25:46 +02:00
josdejong
f51f4454f5 More unit tests 2014-03-17 21:29:52 +01:00
josdejong
eca2326802 More unit tests 2014-03-01 21:35:55 +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
ac41566de8 Wrapped all bignumber functions available in the bignumber.js library 2013-11-16 17:49:16 +01:00
josdejong
d2e55a0132 Math.js must be instantiated now, static calls are no longer supported 2013-10-26 15:00:06 +02:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +02:00
josdejong
c3d5edf4bb Implemented support for multiplying vectors with matrices 2013-10-14 13:14:16 +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
josdejong
6273ad998f Removed usage of math.eval from function unit tests 2013-08-31 10:53:14 +02:00
Sebastien Piquemal
a6b4ad7526 fixed tests 2013-08-14 15:43:32 +04:00
Sebastien Piquemal
aa0249d458 fixed npm install, changed src to lib 2013-08-14 15:00:12 +04:00
josdejong
aa471db411 Upperbound of range is now excluded 2013-08-09 22:09:46 +02:00
Sebastien Piquemal
1e7603488c refactored refactored tests/functions/arithmetic 2013-08-08 15:31:37 +04:00
josdejong
8cc9ceb980 Changed all source files into node.js modules 2013-08-05 23:05:23 +02:00
josdejong
d9f34677b4 Renamed all test files to *.test.js 2013-08-04 14:46:22 +02:00