273 Commits

Author SHA1 Message Date
Favian Contreras
ea83be53c4 The tests now work, but still have use Math.PI. 2014-12-11 10:51:34 -08:00
Favian Contreras
5bc3e0d8c2 Faster factorial, and gamma implemented with tests. 2014-12-11 07:20:13 -08:00
jos
b0740ad66a Released version 1.1.1 2014-11-22 14:21:38 +01:00
jos
e06002f235 Merge branch 'master' into develop 2014-11-22 14:14:59 +01:00
Andy Pan
1ccc20802b Merge branch 'develop' of https://github.com/josdejong/mathjs into upstream-dev 2014-11-22 21:09:59 +08:00
jos
da03cd5be9 Fixed #238: Unit divided by Number returning zero 2014-11-22 13:54:38 +01:00
Andy Pan
21d7740f93 check whether the search is a property in help function 2014-11-22 17:33:19 +08:00
Ryan Seys
a588b60150 Fix matrix docs 2014-11-21 23:41:14 -05:00
jos
a61397cfc6 Fixed #236: BigNumber downgrading to Number for a negative base in pow 2014-11-21 11:16:09 +01:00
Andy Pan
fd70cb90e5 fix missing separator in multiply error message 2014-11-16 19:05:57 +08:00
jos
601212c0e9 Fixed a typo in the docs of round 2014-11-11 10:45:24 +01:00
jos
bc15efbc68 Fixed #219: implemented function nthRoot 2014-11-09 14:18:30 +01:00
jos
8f37893c61 Implemented function cross (cross product for vectors). 2014-11-08 17:57:51 +01:00
jos
50fb91346b Implemented function dot (dot product for vectors). 2014-11-08 16:13:32 +01:00
jos
8513ccca49 More clear explanation of included/excluded boundaries in random and randomInt docs (See #222) 2014-10-14 09:21:21 +02:00
jos
378e99e9e4 Fixed #222: typo in the docs of random and randomInt 2014-10-14 09:09:25 +02:00
jos
7132a6f3c2 Fixed #221 for one-based implementations of map and forEach 2014-10-14 09:03:04 +02:00
jos
02d4d1d819 Fixed #221: Parameter index in the callbacks of map and forEach are now cloned for every callback 2014-10-13 21:53:55 +02:00
jos
41db497289 Removed references in documentation to the "distribution" function 2014-09-08 11:30:48 +02:00
jos
1a360b6995 Merge branch 'develop' 2014-09-04 21:28:01 +02:00
jos
f1313d8be7 Implemented a function filter(x, test) 2014-09-04 20:52:51 +02:00
jos
d1b96cde4d Improved comment 2014-09-03 22:13:55 +02:00
jos
fa4a23c34b math.number can convert units to numbers (requires a second argument) 2014-09-03 21:29:16 +02:00
jos
29cc34f1a8 Removed math.distribution for now, needs some rethinking 2014-08-28 21:46:56 +02:00
jos
454efa15dc Merge branch 'develop'
Conflicts:
	HISTORY.md
2014-08-21 20:41:32 +02:00
jos
8f9995cd37 Changed default value of the option wrap of function math.import to false, and fixed a but in math.import 2014-08-16 17:56:13 +02:00
jos
41663147e6 Implemented function sort 2014-08-14 22:24:15 +02:00
jos
831a82cd22 Merge remote-tracking branch 'origin/develop' into develop 2014-08-12 22:36:16 +02:00
jos
7f6b13a797 Changed the default value of new entries in resized matrices to zero. 2014-08-12 22:35:56 +02:00
jos
0860c70a6e Implemented function flatten 2014-08-12 21:17:27 +02:00
Pavel Panchekha
2ef53ce069 Changed calculation of math.sqrt to avoid numerical problems when re < 0 2014-08-11 17:34:06 -07:00
jos
da306e26ed Implemented support for null in all functions (see #205) 2014-08-09 16:27:11 +02:00
jos
dfd0a51200 Some updates in function docs 2014-08-08 20:31:35 +02:00
jos
f3f5819718 Fixed function subset not being able to return a scalar value null or undefined (see #205) 2014-08-06 09:46:08 +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
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
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
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
62a446ab34 Improved index out of range errors. 2014-07-17 21:00:24 +02:00
jos
7836bcb06a Fixed a typo in the comments of format 2014-07-01 14:53:20 +02:00
jos
4645529f40 Removed function ifElse 2014-06-30 14:52:54 +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
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
b2a103a505 Functions equal and unequal support null and undefined now (see #190) 2014-06-17 22:01:15 +02:00