50 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
7d84e4daf0 Math.js now immediately returns a default instance of mathjs, no need to create an instance every time you want to use the library. 2014-06-20 23:11:14 +02:00
jos
082265a184 Changed the default number of significant digits for BigNumbers from 20 to 64. 2014-06-11 21:56:58 +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
45550e5ffb Changed configuration option decimals to precision 2014-04-06 11:14:01 +02:00
Jos de Jong
fbc62242ae Merge pull request #155 from finnp/develop
Add support for polar coordinates in complex numbers
2014-04-05 23:01:20 +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
Finn
333f881c4d Add constructor support for polar and {re:..,im:..} Fixes #76 2014-04-05 02:14:14 +02:00
josdejong
d19e7ea570 Switched to module decimal.js for BigNumber support, instead of bignumber.js. 2014-04-04 21:08:33 +02:00
Finn
754b33b983 Add fromPolar and math.complex with polar input #76 2014-04-04 01:27:05 +02:00
josdejong
9ae103c394 More unit tests 2014-03-21 21:38:26 +01:00
josdejong
eca2326802 More unit tests 2014-03-01 21:35:55 +01:00
josdejong
30d9d4653c Some more unit tests added 2014-02-26 21:07:22 +01:00
josdejong
36c38982e5 ArgumentsError now extends Error instead of SyntaxError 2014-01-31 23:22:17 +01:00
josdejong
d22168ea88 Added script for coverage report 2013-12-14 13:20:27 +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
279809fd79 Ranges and indexes can now handle big numbers by downgrading to numbers 2013-11-27 14:16:46 +01:00
josdejong
b3812362fd Implemented bignumber downgrading for all not-supported functions 2013-11-23 14:14:44 +01:00
josdejong
bf8eb9a01b Implemented setting number.precision for big numbers. 2013-11-21 14:05:23 +01:00
josdejong
3f11056330 Implemented BigNumber support for math.format. 2013-11-16 19:27:18 +01:00
josdejong
ac41566de8 Wrapped all bignumber functions available in the bignumber.js library 2013-11-16 17:49:16 +01:00
josdejong
52337e4b94 Integrating the bignumber.js library in math.js. This is awesome! 2013-11-16 14:34:35 +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
1db989a2d7 Changed scientific notation of number formatting back 2013-10-21 20:51:48 +02:00
josdejong
17f208df18 Some nice improvements to formatting numbers 2013-10-21 12:07:07 +02:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +02:00
josdejong
f42f5698cb Removed global option options.format.precision. When formatted, numbers are no longer rounded to 5 digits by default. 2013-10-20 13:40:28 +02:00
josdejong
b683d5eecf All construction functions can be used to convert the type of variables, also element-wise for all elements in an Array or Matrix 2013-09-02 22:38:41 +02:00
josdejong
6273ad998f Removed usage of math.eval from function unit tests 2013-08-31 10:53:14 +02:00
josdejong
9746dc37c2 Changed matrix indexes of expression parser to one-based (Fixed #66) 2013-08-29 22:11:30 +02:00
josdejong
7f58398053 Completed missing descriptions in tests 2013-08-19 21:07:45 +02:00
josdejong
24b3b7eb43 First implementation of Index and math.index 2013-08-17 15:35:48 +02:00
josdejong
7935546630 Removed type Range. function math.range now returns an expanded series 2013-08-17 13:42:57 +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
d76602a2ee Changed syntax of range to range(start, end [, step]) 2013-08-09 22:33:58 +02:00
josdejong
aa471db411 Upperbound of range is now excluded 2013-08-09 22:09:46 +02:00
Sebastien Piquemal
6a6f522a93 refactored test/function/construction to mocha 2013-08-09 14:13:53 +04:00
josdejong
fe06d514e0 Created shared module math.js for all functions (resolves circular references) 2013-08-06 21:50:15 +02: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
josdejong
c5edb419d8 Moved the library builds math.js and math.min.js to subfolder dist 2013-08-04 14:39:42 +02:00
josdejong
fdfc6697e1 Implemented constants true, false.
Implemented function boolean(value)
2013-07-21 14:12:37 +02:00
josdejong
504b1fa9a1 Functions size and squeeze now return a Matrix instead of an Array as output on Matrix input 2013-07-03 14:47:40 +02:00
josdejong
bee3453e15 Released version 0.9.0 2013-05-29 21:16:43 +02:00
josdejong
134b8fe07c Implemented construction function string 2013-05-29 21:06:12 +02:00
josdejong
755d0769e6 Implemented construction function number 2013-05-29 20:34:47 +02:00
josdejong
2fe383a19c More tests and minor. Improved flexibility of data constructors. 2013-05-18 19:39:01 +02:00