485 Commits

Author SHA1 Message Date
josdejong
cef51e2819 Changed precision of cli to 5 digits 2013-10-26 15:54:39 +02:00
josdejong
7393cb04f6 Updated version to 0.15.1-SNAPSHOT 2013-10-26 15:54:23 +02:00
josdejong
25844683db Released version 0.15.0 v0.15.0 2013-10-26 15:20:13 +02:00
josdejong
d2e55a0132 Math.js must be instantiated now, static calls are no longer supported 2013-10-26 15:00:06 +02:00
josdejong
e521d4699d Removed function format from Selector again (conflict) 2013-10-26 14:17:58 +02:00
josdejong
e1ead2f7a6 Added function format to Selector 2013-10-26 14:07:47 +02:00
josdejong
ced03dd1fb Fixed missing math namespace in ArrayNode 2013-10-26 13:50:54 +02:00
josdejong
af286e482a Updated docs on min, max, mean 2013-10-24 15:18:21 +02:00
josdejong
04c41fb42e Implemented advanced options in format to customize precision, scientific/fixed/auto notation (see #100). 2013-10-24 15:12:04 +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
b0ce2686c3 Added min test for n-dimensional matrices 2013-10-22 19:16:50 +02:00
Guillermo Indalecio
d4f41af2c4 Added reduce call in function "min" 2013-10-22 19:15:16 +02:00
Guillermo Indalecio
49429a5e49 Fixed small typo 2013-10-22 19:04:13 +02:00
Guillermo Indalecio
42560704b8 Fixing reduce function to the pull request 2013-10-22 19:02:35 +02:00
Guillermo Indalecio
297e1869af Added another multidimensional test for max 2013-10-22 16:24:14 +02:00
Guillermo Indalecio Fernandez
020dfa0e46 Added test for max, it seems to work in 2D 2013-10-22 11:06:00 +02:00
Guillermo Indalecio Fernandez
8db830c31d Added full reduce capabilities not tested 2013-10-22 10:49:29 +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
432d3e0574 Fixed a bug in formatting numbers with a limited precision. Added more unit tests. 2013-10-21 11:18:59 +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
250836a4af Simplified loading options 2013-10-19 22:21:24 +02:00
josdejong
c40a327b10 Implemented a factory function for the library 2013-10-19 22:17:58 +02:00
josdejong
fb59d5c7e6 Removed global file options 2013-10-19 22:06:44 +02:00
josdejong
abff8efdbc Mixed matrix input now always returns a Matrix (needed to mace collection static) 2013-10-19 22:01:10 +02:00
josdejong
e61d2f965b Fixes in the new function math.format(precision). Updated docs and tests. 2013-10-19 21:44:54 +02:00
josdejong
524a915beb Updated comments 2013-10-19 18:12:20 +02:00
josdejong
a4bda611df Implemented function print (splitted from function format) 2013-10-19 18:10:50 +02:00
josdejong
608462c843 Updated docs on options 2013-10-19 15:05:07 +02:00
josdejong
3c7174c764 Renamed options to math.options.format.precision and math.options.matrix.defaultType 2013-10-19 15:00:32 +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
eb9ffdeadf Removed support for comparing complex numbers 2013-10-17 14:49:30 +02:00
josdejong
c3d5edf4bb Implemented support for multiplying vectors with matrices 2013-10-14 13:14:16 +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
Jos de Jong
5aff4f4247 Merge pull request #102 from guillermobox/develop
Added mean for statistical functions
2013-10-14 02:16:47 -07:00
Guillermo Indalecio Fernandez
a5d3fcc4e7 Merge remote-tracking branch 'upstream/develop' into develop 2013-10-13 15:53:41 +02:00
Guillermo Indalecio Fernandez
0bd2db9f2b Fixed bugs and deployed tests 2013-10-13 15:49:45 +02:00
josdejong
5a829ea3f8 Fixed #100: Formatting numbers as scientific notation in some cases returned a zero digit left from the decimal point 2013-10-11 14:01:42 +02:00
Guillermo Indalecio
97563106c2 Added function/statistics/mean.js 2013-10-10 13:33:47 +02:00
Jos de Jong
55af524f14 Merge pull request #98 from guillermobox/develop
Doc typo: Fixed the argument in pickRandom from [min,max] to array
2013-10-09 02:44:48 -07:00
guillermobox
5537e9896f Doc typo: Fixed the argument in pickRandom from [min,max] to array 2013-10-09 10:30:08 +02:00
josdejong
307e40cc9c Few updates in the docs 2013-10-08 19:06:01 +02:00