40 Commits

Author SHA1 Message Date
Ryan Seys
a588b60150 Fix matrix docs 2014-11-21 23:41:14 -05:00
jos
fa4a23c34b math.number can convert units to numbers (requires a second argument) 2014-09-03 21:29:16 +02:00
jos
da306e26ed Implemented support for null in all functions (see #205) 2014-08-09 16:27:11 +02:00
jos
21b34cfa1a Implemented transforms, moved all one-based to zero-based logic for expressions to transforms. 2014-07-19 21:47:15 +02:00
jos
40986a1325 Using strict mode now in all files (added 'use strict'; on top of every file) 2014-07-18 23:19:14 +02:00
jos
4719d213de Created docs page with alphabetical function reference 2014-06-23 22:22:42 +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
38066a9335 More docs added 2014-05-17 12:21:31 +02:00
jos
e536410b77 More docs added 2014-05-16 22:24:07 +02: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
josdejong
492d7f4c4f Moved ArgumentsError from lib/type/ to lib/util/ 2014-04-06 21:25:46 +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
f568ae75c1 More unit tests added 2014-04-03 20:58:43 +02:00
josdejong
eca2326802 More unit tests 2014-03-01 21:35:55 +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
0210ec0d41 UnsupportedTypeError can now determine the type of values 2013-11-28 17:15:28 +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
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
52337e4b94 Integrating the bignumber.js library in math.js. This is awesome! 2013-11-16 14:34:35 +01: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
a4bda611df Implemented function print (splitted from function format) 2013-10-19 18:10:50 +02:00
josdejong
9e233e31db Extended docs on complex values and cli 2013-10-08 15:07:21 +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
67423dbcec Released version 0.13.0 2013-09-03 20:19:14 +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
2dc6ac6cdf Implemented support for booleans in all relevant functions 2013-09-02 21:36:52 +02:00
josdejong
eadb884af9 Moved around code and namespaces in order to separate expression parser related code. 2013-08-31 09:37:14 +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
a595266347 added all files in lib/ 2013-08-14 15:39:21 +04:00