jos
|
b3c1d63133
|
Throw an error when functions min, max, mean, or median are invoked with multiple matrices as arguments (see #598)
|
2016-03-24 21:22:33 +01:00 |
|
jos
|
15aca5e4d0
|
Changed casing of the values of config options number and matrix to match the actual name of the classes.
|
2016-03-04 19:41:54 +01:00 |
|
jos
|
f4b794100e
|
Replaced tabs with spaces
|
2016-03-03 20:29:08 +01:00 |
|
Kunal Vyas
|
ea2f1343c7
|
Added Mode Function
- Added the function in mode.js
- wrote the test cases.
|
2015-08-04 02:32:21 -04:00 |
|
jos
|
b7b4669935
|
Conversions after merging develop into v2
|
2015-06-07 15:57:58 +02:00 |
|
jos
|
a92b978036
|
Merged develop into v2
|
2015-06-07 15:57:41 +02:00 |
|
jos
|
d81fe279cc
|
String input is now converted to numbers by default for all functions. Adding two strings will no longer concatenate them, but will convert the
strings to numbers and add them.
|
2015-05-19 22:18:40 +02:00 |
|
Max Bruckner
|
b50ed45c06
|
Use number configuration for return type of sum with empty array
|
2015-05-18 14:08:15 +02:00 |
|
Max Bruckner
|
1ef8f2986e
|
sum: Fix #369 return 0 for empty array
|
2015-05-17 21:18:14 +02:00 |
|
Favian Contreras
|
fbfbd030d1
|
Removed the ability to insert data as a series of scalar values. Consolidated sorted and normal cases into 1 file. Added ability to use a list of probabilities, or an integer as a number of would be evenly spaced probabilities.
|
2015-05-14 08:06:38 -07:00 |
|
Favian Contreras
|
ae3267d5b8
|
Basic quantile implementation and tests (see issues #305 and #354). There is also an implementation that assumes the input is sorted in ascending order, to maintain an O(1) runtime.
|
2015-05-12 03:04:51 -07:00 |
|
Max Bruckner
|
8d1d20ba2e
|
Merge branch 'develop' into v2
|
2015-04-27 09:14:50 +02:00 |
|
Max Bruckner
|
32d507d123
|
functions/statistics/median: test for issue (#309)
This is a test to check that median doesn't mutate it's input
|
2015-04-26 00:07:29 +02:00 |
|
jos
|
6e96d5a808
|
Merge branch 'develop' into v2
Conflicts:
HISTORY.md
bower.json
component.json
dist/math.js
dist/math.map
dist/math.min.js
lib/function/arithmetic/abs.js
lib/function/probability/gamma.js
lib/version.js
package.json
|
2015-04-22 21:43:56 +02:00 |
|
Max Bruckner
|
8ad525b66e
|
util/latex: get rid of many unnecessary curly braces
|
2015-04-19 11:08:00 +02:00 |
|
jos
|
349e9845e8
|
Merge branch 'develop' into v2_merge
Conflicts:
HISTORY.md
bower.json
component.json
dist/math.js
dist/math.map
dist/math.min.js
docs/reference/units.md
lib/version.js
package.json
test/function/construction/chain.test.js
test/function/matrix/det.test.js
test/function/matrix/transpose.test.js
test/function/utils/import.test.js
|
2015-04-13 21:42:43 +02:00 |
|
Max Bruckner
|
7adf0ebc53
|
LaTeX tests for functions
|
2015-04-05 14:29:10 +02:00 |
|
jos
|
8cfabebdfb
|
Oops. committed missing files
|
2015-03-31 22:23:32 +02:00 |
|
Jos de Jong
|
98fd982068
|
Refactored max, mean, median, prod, std, var to typed functions
|
2015-03-09 21:47:23 +00:00 |
|
jos
|
8edf472478
|
Upgraded to typed-function v0.6.1, more functions refactored.
|
2015-02-07 20:29:32 +01:00 |
|
jos
|
19c2024524
|
Halfway reworking more functions (lot of stuff is broken at this point)
|
2015-01-17 21:09:39 +01:00 |
|
jos
|
fe5faad794
|
Upgraded to typed-function v0.6.0
|
2015-01-16 09:23:03 +01:00 |
|
jos
|
6cefd52557
|
Refactored the first few functions into typed-functions
|
2015-01-11 15:29:40 +01:00 |
|
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
|
7b08047061
|
Changed min, max, and mean to one-based dim
|
2014-07-24 21:35:11 +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
|
ac41566de8
|
Wrapped all bignumber functions available in the bignumber.js library
|
2013-11-16 17:49:16 +01:00 |
|
josdejong
|
d2e55a0132
|
Math.js must be instantiated now, static calls are no longer supported
|
2013-10-26 15:00:06 +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
|
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
|
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 |
|
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
|
eb9ffdeadf
|
Removed support for comparing complex numbers
|
2013-10-17 14:49:30 +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 |
|
Sebastien Piquemal
|
6174eb00d7
|
refactored test/function/statistics and test/function/trigonometry to mocha
|
2013-08-17 13:42:40 +04:00 |
|
Sebastien Piquemal
|
a6b4ad7526
|
fixed tests
|
2013-08-14 15:43:32 +04:00 |
|
Sebastien Piquemal
|
aa0249d458
|
fixed npm install, changed src to lib
|
2013-08-14 15:00:12 +04:00 |
|
josdejong
|
d76602a2ee
|
Changed syntax of range to range(start, end [, step])
|
2013-08-09 22:33:58 +02:00 |
|
josdejong
|
aa471db411
|
Upperbound of range is now excluded
|
2013-08-09 22:09:46 +02:00 |
|
josdejong
|
8cc9ceb980
|
Changed all source files into node.js modules
|
2013-08-05 23:05:23 +02:00 |
|
josdejong
|
d9f34677b4
|
Renamed all test files to *.test.js
|
2013-08-04 14:46:22 +02:00 |
|