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
|
c558cf496e
|
Fixed all broken unit tests
|
2016-02-14 21:51:37 +01:00 |
|
jos
|
f45564afcf
|
Fixed: #493: function combinations did not throw an exception for non-integer values of k.
|
2015-10-28 10:11:27 +01:00 |
|
Favian Contreras
|
7bccecb2cf
|
This resolves #444. Updated test cases as well.
|
2015-09-19 03:15:23 -07:00 |
|
Sergey Romanov
|
5360549b1f
|
Add additional test
|
2015-08-01 17:26:05 +05:00 |
|
Sergey Romanov
|
a05cb67f8f
|
check concrete results
|
2015-08-01 17:22:31 +05:00 |
|
Sergey Romanov
|
e99d7c1a7f
|
Add test for bignumber
|
2015-08-01 17:18:35 +05:00 |
|
Sergey Romanov
|
87afd45d7f
|
kldivergence.test.js instead entropy.js
|
2015-07-31 02:35:04 +05:00 |
|
Sergey Romanov
|
27fc2f5b5f
|
remove entropy files
|
2015-07-31 02:33:14 +05:00 |
|
Sergey Romanov
|
ec3b2e10fe
|
Add Kullback-Leibler divergence
|
2015-07-29 03:04:01 +05:00 |
|
jos
|
396d951c95
|
Halfway implementing lazy loading
|
2015-07-21 20:49:52 +02:00 |
|
jos
|
2353c4a61e
|
Renamed folders util to utils
|
2015-07-18 13:22:38 +02:00 |
|
jos
|
a92b978036
|
Merged develop into v2
|
2015-06-07 15:57:41 +02:00 |
|
Devan Patel
|
2fba039dd6
|
Adding support for Multinomial + test.
|
2015-05-08 13:20:17 -04:00 |
|
jos
|
18d9b8942e
|
Dropped support for module names from function import
|
2015-05-01 23:00:58 +02:00 |
|
Max Bruckner
|
e62ab0dae4
|
Proper toTex for units and symbols.
Symbols now don't use `\mathrm` anymore by default, but units do.
|
2015-04-27 11:08:31 +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
|
1d5a972a58
|
Refactored combinations, factorial, gamma, permutations, pickRandom, random, randomInt to typed-functions
|
2015-04-15 21:30:32 +02:00 |
|
Max Bruckner
|
6b1d09f2cb
|
util/latex: new toSymbol
|
2015-04-05 14:29:12 +02:00 |
|
Max Bruckner
|
7adf0ebc53
|
LaTeX tests for functions
|
2015-04-05 14:29:10 +02:00 |
|
Rogelio J. Baucells
|
2077c39885
|
Matrix inheritance implementation
|
2015-03-10 15:28:19 -04:00 |
|
Rogelio J. Baucells
|
b4463d9ef3
|
Initial require() changes
|
2015-03-04 13:53:32 -05:00 |
|
Favian Contreras
|
05c6dcaae5
|
Guard digits now a function of n. Updated Infinity! to be accurate (Infinity! == sqrt(tau)). Updated and cleaned up test cases.
|
2015-01-14 18:15:03 -08:00 |
|
Favian Contreras
|
a85df3fcea
|
Fixed precision variable problem (config.precision instead of math.precision), and round-off errors. Updated test cases.
|
2015-01-13 04:41:53 -08:00 |
|
Favian Contreras
|
188c3afdfd
|
Fixed carry-over precision bug in factorial. Updated test cases to account for this potential error.
|
2015-01-12 13:06:22 -08:00 |
|
Favian Contreras
|
6deccdf837
|
Enabled factorial for non-integer numbers. Updated test cases to reflect this.
|
2014-12-24 02:53:00 -05:00 |
|
Favian Contreras
|
05d8f5b5f6
|
Failed at adding gamma to the parser (attempted to add 1 to all the values while using gamma, then tried to wierdly overload ! token). I added BigNumber integer support for gamma to allow more flexibility when integrating it into the parser (if that is something that is done).
|
2014-12-17 16:07:26 -08:00 |
|
Favian Contreras
|
19e6ce057a
|
Removed BigNumber bad implementation. Also, cleaned up the code, switched the coefficients for Lanczos, and added extended Stirling approx.
|
2014-12-17 06:34:23 -08:00 |
|
Favian Contreras
|
33d76576d5
|
Updated use of bigPi, and adjusted the test cases as well.
|
2014-12-13 10:38:09 -08:00 |
|
Favian Contreras
|
3ca7d8e57b
|
No longer change the config state; now using new created state in test cases.
|
2014-12-11 11:20:47 -08:00 |
|
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
|
29cc34f1a8
|
Removed math.distribution for now, needs some rethinking
|
2014-08-28 21:46:56 +02:00 |
|
jos
|
da306e26ed
|
Implemented support for null in all functions (see #205)
|
2014-08-09 16:27:11 +02: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
|
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
|
1691c701dd
|
A few more unit tests added
|
2014-06-09 11:19:33 +02:00 |
|
jos
|
490494d8ef
|
Fixed #65: Fixed random functions not accepting Matrix as input, and always returning a Matrix as output
|
2014-06-08 23:05:38 +02:00 |
|
jos
|
fc6a1c52c3
|
Fixed random functions returning a Matrix on Array input
|
2014-06-08 22:55:40 +02:00 |
|
jos
|
64aa6375f5
|
Moved functions random, randomInt and pickRandom to a separate file
|
2014-06-08 22:36:23 +02:00 |
|
josdejong
|
97cbb0093f
|
Moved errors to their own namespace and folder
|
2014-04-11 18:02:29 +02:00 |
|
josdejong
|
492d7f4c4f
|
Moved ArgumentsError from lib/type/ to lib/util/
|
2014-04-06 21:25:46 +02:00 |
|
josdejong
|
f51f4454f5
|
More unit tests
|
2014-03-17 21:29:52 +01:00 |
|
josdejong
|
f1ea498927
|
Added some more unit tests
|
2014-03-15 15:27:05 +01:00 |
|
josdejong
|
b520a198ac
|
Fixed #134: error in function combinations for large numbers
|
2014-01-31 23:23:57 +01:00 |
|
josdejong
|
8ce1a122bb
|
Some minor code rearrangement
|
2014-01-07 14:25:32 +01:00 |
|
Daniel Levin
|
933542cd68
|
Tests for non-integer bignumbers in combinations
|
2014-01-07 13:34:44 +02:00 |
|
Daniel Levin
|
a6878572b9
|
added n <= k condition to permutations, combinations
|
2014-01-07 13:32:26 +02:00 |
|
Daniel Levin
|
f6fa5bf575
|
Added BigNumber support to combinations (and tests)
|
2014-01-07 13:27:56 +02:00 |
|