28 Commits

Author SHA1 Message Date
jos
7b08047061 Changed min, max, and mean to one-based dim 2014-07-24 21:35:11 +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
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
830367a494 More docs added 2014-05-18 22:21:00 +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
ad554ef1f7 Updates and fixes to work with a different BigNumber instance per math.js instance 2014-04-05 22:42:03 +02:00
josdejong
d19e7ea570 Switched to module decimal.js for BigNumber support, instead of bignumber.js. 2014-04-04 21:08:33 +02:00
josdejong
b333ad073a Implemented function median 2014-03-29 22:26:12 +01:00
josdejong
a073a95859 Implemented functions sum, prod, var, std. Reducing a matrix over a specified dimension still missing 2014-03-29 14:45:09 +01:00
josdejong
f51f4454f5 More unit tests 2014-03-17 21:29:52 +01:00
josdejong
af286e482a Updated docs on min, max, mean 2013-10-24 15:18:21 +02:00
Jos de Jong
9f68a1292a Merge pull request #105 from guillermobox/develop
Fixed mean to use "size" instead of calculating it
2013-10-24 05:43:11 -07:00
Guillermo Indalecio Fernandez
cd03fa1e62 Fixed mean to use "size" instead of calculating it 2013-10-24 14:07:47 +02:00
Jos de Jong
13b7e6acee Merge pull request #103 from guillermobox/develop
Reduce functionality
2013-10-24 04:31:44 -07:00
Guillermo Indalecio Fernandez
a998e4bb86 Added more powerful tests and fixed code for mean 2013-10-24 13:22:41 +02:00
Guillermo Indalecio Fernandez
540bb7af9b Changed reduce calls from one-based to zero-based 2013-10-24 12:49:36 +02:00
Guillermo Indalecio Fernandez
da1d23bc0a Fixed tests and reduce function 2013-10-22 20:16:04 +02:00
Guillermo Indalecio
c72da9f8e2 Fixed small typo 2013-10-22 19:32:05 +02:00
Guillermo Indalecio
f43523b301 Added reduce calls from "mean" function 2013-10-22 19:27:05 +02:00
Guillermo Indalecio
d4f41af2c4 Added reduce call in function "min" 2013-10-22 19:15:16 +02:00
Guillermo Indalecio Fernandez
020dfa0e46 Added test for max, it seems to work in 2D 2013-10-22 11:06:00 +02:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +02:00
josdejong
71c36a94cf Statistics functions max and min now return the max and min of the flattened array in case of multidimensional arrays. 2013-10-18 10:47:43 +02:00
josdejong
35cafbfa67 Fixed function mean to support complex values, added more tests to min and max. 2013-10-14 11:40:20 +02:00
Guillermo Indalecio Fernandez
0bd2db9f2b Fixed bugs and deployed tests 2013-10-13 15:49:45 +02:00
Guillermo Indalecio
97563106c2 Added function/statistics/mean.js 2013-10-10 13:33:47 +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
Sebastien Piquemal
a595266347 added all files in lib/ 2013-08-14 15:39:21 +04:00