Mathias Polligkeit
|
cf857a3a09
|
some more minor code format changes
|
2016-10-18 02:02:09 +02:00 |
|
Mathias Polligkeit
|
b5a9695746
|
code formatting
|
2016-10-18 01:45:06 +02:00 |
|
Mathias Polligkeit
|
78f0c942bd
|
clean up distribution.js
|
2016-10-18 01:43:49 +02:00 |
|
Mathias Polligkeit
|
f81abbab25
|
add type validation
|
2016-10-18 01:43:19 +02:00 |
|
Mathias Polligkeit
|
239cabec37
|
Revert "add an intermediary typed function that will fail a test"
This reverts commit fc2b730e044d3ec5a93c010d789eac47768fccc2.
|
2016-10-18 01:27:18 +02:00 |
|
Mathias Polligkeit
|
94d102e758
|
Revert "add randomHelper function for duplicate logic of random/randomInt; fails"
This reverts commit c464010234c73144df142cdb6fb7d32d0533bdf3.
|
2016-10-18 01:27:13 +02:00 |
|
Mathias Polligkeit
|
bfcfeafd2e
|
Revert "refactor distribution.js"
This reverts commit ed0df31293f92171c44d06d5bdc04d408b967402.
|
2016-10-18 01:25:08 +02:00 |
|
Mathias Polligkeit
|
ed0df31293
|
refactor distribution.js
|
2016-08-02 02:43:51 +02:00 |
|
Mathias Polligkeit
|
c464010234
|
add randomHelper function for duplicate logic of random/randomInt; fails
|
2016-08-02 01:16:04 +02:00 |
|
Mathias Polligkeit
|
fc2b730e04
|
add an intermediary typed function that will fail a test
|
2016-08-01 23:54:53 +02:00 |
|
Mathias Polligkeit
|
2a98231966
|
add default max value if undefined in randomInt
|
2016-07-30 20:13:06 +02:00 |
|
Mathias Polligkeit
|
21570cda0b
|
turn randomInt into a typed function
|
2016-07-30 18:53:06 +02:00 |
|
Mathias Polligkeit
|
832f280196
|
rewrite pickRandom as typed function
|
2016-07-18 02:17:27 +02:00 |
|
Mathias Polligkeit
|
fe972bacf6
|
extend pickRandom function to allow multiple picks and weighted distribution, remove pickMultipleRandom
|
2016-07-16 17:55:38 +02:00 |
|
Mathias Polligkeit
|
c5e40b40ef
|
add pickMultipleRandom function
|
2016-06-30 02:19:09 +02:00 |
|
jos
|
b2066e53f6
|
Replaced toTex definitions using the default toTex template with "undefined" and a comment (see #636)
|
2016-04-15 11:00:03 +02:00 |
|
jos
|
8068f4afa8
|
Fixed #636: More strict toTex templates, reckon with number of arguments
|
2016-04-11 21:31:15 +02:00 |
|
jos
|
034b74c3f2
|
Removed redundant trigonometric util functions
|
2016-02-21 13:23:28 +01:00 |
|
jos
|
60cf4781e8
|
Upgraded to decimal.js v5. Replaced .constructor with .clone. Still lots of issues to fix
|
2016-02-13 15:48:54 +01:00 |
|
jos
|
5fd0a5e70b
|
Fixed: removed memoization from gamma and factorial functions, this could blow up memory.
|
2015-10-29 19:22:28 +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 |
|
jos
|
b7206b1c7f
|
Added some more missing docs
|
2015-08-11 21:07:38 +02:00 |
|
Sergey Romanov
|
8a78b9c847
|
isNumeric instead number.isNumber
|
2015-07-31 03:53:12 +05:00 |
|
Sergey Romanov
|
e4311c000a
|
kldivergence.js instead entropy.js
|
2015-07-31 02:34:38 +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
|
8158dafd3d
|
Moved the trigonometric functions in util/bignumber.js into separate files
|
2015-07-18 20:37:32 +02:00 |
|
jos
|
14b41b202e
|
Reworked the BigNumber constants (pi, tau, e, phi) to be created by passing a BigNumber constuctor instead of a precision
|
2015-07-18 17:20:22 +02:00 |
|
jos
|
2353c4a61e
|
Renamed folders util to utils
|
2015-07-18 13:22:38 +02:00 |
|
jos
|
57a47b3b5a
|
Moved pure collection functions to lib/util/collection
|
2015-07-18 12:53:07 +02:00 |
|
jos
|
493f34ec7b
|
Split collection.js into separate (pure) functions
|
2015-07-18 11:47:38 +02:00 |
|
jos
|
2d42218c7f
|
Removed isPositiveInteger from util/bignumber.js. Added some unit tests
|
2015-07-18 11:07:41 +02:00 |
|
Max Bruckner
|
21bd67980a
|
Remove LaTeX of probability functions from util/latex.js
|
2015-06-14 02:23:41 +02: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
|
2d84debd6c
|
Added/updated missing docs
|
2015-05-31 14:29:42 +02:00 |
|
jos
|
82ed4ca497
|
Fixed #381: issue in docs of randomInt (see also #382)
|
2015-05-31 14:01:59 +02:00 |
|
jos
|
5762132822
|
Removed premature stuff on Permutation (see#362), and removed dependency on underscore.
|
2015-05-27 13:52:14 +02:00 |
|
Devan Patel
|
57619c51ef
|
Fixing mutlinomial for isPositiveInteger
|
2015-05-25 14:24:21 -04:00 |
|
jos
|
6c7bf4acf0
|
Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally). Consistently renamed primitive types lower case (boolean, string, number, null) and non-primitive types uppercase (Complex, BigNumber, Function, Array, ...).
|
2015-05-20 21:08:26 +02:00 |
|
jos
|
166d3aa0be
|
Removed boolean, string, and null from the list with argument types, only leaving the directly supported types (which types can be converted to supported types is determined externally).
|
2015-05-20 20:49:19 +02:00 |
|
Devan Patel
|
2fba039dd6
|
Adding support for Multinomial + test.
|
2015-05-08 13:20:17 -04:00 |
|
jos
|
8c032f2593
|
Replaced all instanceof checks with x && xisMyType === true checks
|
2015-05-05 15:09:21 +02:00 |
|
jos
|
758107428c
|
Moved collection.js and Matrix.js under ./lib/type/matrix, moved construction functions matrix.js and sparse.js to ./lib/type/matrix/function, and created an index file.
|
2015-05-05 12:00:07 +02:00 |
|
jos
|
7a37c777e4
|
Created index.js files for most groups of functions so you can import a all functions with a single action
|
2015-04-26 20:28:47 +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 |
|
jos
|
1d5a972a58
|
Refactored combinations, factorial, gamma, permutations, pickRandom, random, randomInt to typed-functions
|
2015-04-15 21:30:32 +02:00 |
|
Nick Foti
|
020a47c938
|
Corrected gamma documentation to allow argument to be real or complex.
|
2015-04-14 14:40:43 -07:00 |
|
Rogelio J. Baucells
|
2077c39885
|
Matrix inheritance implementation
|
2015-03-10 15:28:19 -04:00 |
|