jos
|
e575c9e09c
|
Fixed #824: fixed calling seedrandom correctly...
|
2017-04-17 20:26:56 +02:00 |
|
jos
|
bc9f01ba96
|
Fixed #824: Calling math.random() freezes IE and node.js
|
2017-04-17 20:20:25 +02:00 |
|
morsecodist
|
9466b214aa
|
Supported seeds of any type
|
2017-02-26 22:54:01 -05:00 |
|
morsecodist
|
ffc5c376c1
|
Refactored options to changes and made seededRNG private
|
2017-02-26 22:34:55 -05:00 |
|
morsecodist
|
0502921d7e
|
Implemented seeded random number generation as config option
|
2017-02-24 15:20:57 -05:00 |
|
morsecodist
|
3d46e21ee5
|
Removed old seeded random number generator
|
2017-02-24 15:18:16 -05:00 |
|
morsecodist
|
9090ae0911
|
Implemented typed function
|
2017-02-22 16:26:24 -05:00 |
|
morsecodist
|
6928a4fd3e
|
Removed es6 function notation
|
2017-02-22 16:25:39 -05:00 |
|
morsecodist
|
a1d567ff84
|
Used rng in _pickRandom
|
2017-02-21 16:34:45 -05:00 |
|
morsecodist
|
71c9447871
|
Added seed random to index and use rng in distribution
|
2017-02-21 16:30:13 -05:00 |
|
morsecodist
|
b3c22b9b29
|
Added rng and seedrandom
|
2017-02-21 16:28:19 -05:00 |
|
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 |
|