352 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
6b833a581c Renamed FunctionNode to FunctionAssignmentNode, and renamed ParamsNode to FunctionNode for more clarity (see #203) 2014-08-03 21:13:24 +02:00
jos
94262f6f89 Functions map and forEach invoke the callback with one-based indices when used from within the expression parser 2014-08-03 21:05:36 +02:00
jos
16d2e41f59 Improved function unsqueeze 2014-08-03 18:04:57 +02:00
jos
e5ce909524 Reworked the way matrices are resized when dimensions are added/removed 2014-08-03 15:56:39 +02:00
jos
2edb462615 Fixed function gxcd returning an Array when math.js was configured as {matrix: 'matrix'}. 2014-07-24 22:15:22 +02:00
jos
1eb4b33d93 Implemented BigNumber support for functions gcd, xgcd, and lcm 2014-07-24 22:08:46 +02:00
jos
7b08047061 Changed min, max, and mean to one-based dim 2014-07-24 21:35:11 +02:00
jos
8200955d71 Removed unnecessary names of functions 2014-07-21 22:14:27 +02:00
jos
302aa17788 Index now accepts a Matrix as well as input, downgrades to Array 2014-07-21 21:43:20 +02:00
jos
2a0ccce90c A faster algorithm for BigNumber pi 2014-07-21 21:32:18 +02:00
jos
8c224d3e71 Moved transformation of error messages (zero-based to one-based) to the expression/transform section 2014-07-20 20:45:10 +02:00
jos
59de16801e Renamed function category "Comparison" with "Relational" 2014-07-20 12:40:34 +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
c89183f1c6 Implemented BigNumber support for all constants 2014-07-19 14:37:55 +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
1a9ceac955 Multi-line expressions now return a ResultSet instead of an Array. 2014-07-18 21:34:37 +02:00
jos
62a446ab34 Improved index out of range errors. 2014-07-17 21:00:24 +02:00
jos
fa10724b95 Bumped version number to v0.25.1-SNAPSHOT 2014-07-01 20:47:57 +02:00
jos
7836bcb06a Fixed a typo in the comments of format 2014-07-01 14:53:20 +02:00
jos
4099b86cd6 Released version 0.25.0 2014-07-01 14:24:45 +02:00
jos
037e022905 Some fixes in operator precedence 2014-07-01 14:06:44 +02:00
jos
4645529f40 Removed function ifElse 2014-06-30 14:52:54 +02:00
jos
8ad1b274e7 Removed unreachable error message 2014-06-30 13:51:09 +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
4719d213de Created docs page with alphabetical function reference 2014-06-23 22:22:42 +02:00
jos
a2a9651d14 Added some comments 2014-06-23 11:55:36 +02:00
jos
7c761e390a Refactored ConstantNode to make it more flexible to various types of input 2014-06-23 11:51:01 +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
84d36b3477 Bumped version number to 0.25.0-SNAPSHOT 2014-06-20 21:58:42 +02:00
jos
25b461d6a4 Released version 0.24.1 2014-06-20 21:47:41 +02:00
jos
30b953c728 Released version 0.24.0 2014-06-20 21:32:29 +02:00
jos
a9226ef70d Fixed #187: changed the behavior of the conditional operator (a ? b : c) to lazy evaluation. 2014-06-20 21:14:58 +02:00
jos
64c8693f82 Objects Complex, Unit, and Help now return their string representation when calling .valueOf() (see #190) 2014-06-17 22:14:12 +02:00
jos
b2a103a505 Functions equal and unequal support null and undefined now (see #190) 2014-06-17 22:01:15 +02:00
jos
a7151aab1a Whoops removed accidentally pasted code 2014-06-17 21:20:47 +02:00
jos
2a5483dda6 Extended the documentation of function typeof 2014-06-17 21:10:50 +02:00
jos
0bc0dc8b5d Function typeof now recognizes regular expressions as well. 2014-06-17 20:52:37 +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
jos
4b35ae1556 Added constant null 2014-06-11 20:26:25 +02:00
jos
aa80ae8fc8 Fixed #190: imported, wrapped functions not accepting null and undefined as function arguments. 2014-06-11 20:21:41 +02:00
jos
0fea9f0a1b Updated version number to 0.23.1-SNAPSHOT 2014-06-11 20:17:09 +02:00
jos
b9ec058af0 Released version 0.23.0 2014-06-10 21:43:08 +02:00
jos
9f346f19bc Changed signature of math.parse(expr, nodes) to math.parse(expr, options) 2014-06-10 21:35:06 +02:00
jos
2fe9f0d736 Fixed #151: end is now a reserved keyword 2014-06-10 21:13:27 +02:00
jos
875fa8e60c Changed behavior of equal and unequal back to element wise, added function deepEqual. 2014-06-09 18:03:54 +02:00
jos
40d66224e8 Moved the comparison functions from section "arithmetic" to a new section "comparison" 2014-06-09 14:21:54 +02:00
jos
ced18ecfca Implemented functions dotEqual and dotUnequal, renamed functions smallereq to smallerEq and largereq to largerEq (all functions are now camelcase) 2014-06-09 14:07:21 +02:00
jos
1691c701dd A few more unit tests added 2014-06-09 11:19:33 +02:00
jos
0ae566db8d Renamed functions edivide, emultiply, and epow to dotdivide, dotmultiply, and dotpow respectively. 2014-06-09 11:09:06 +02:00