(lambda)
| 14548 | |
| 14549 | var exponential = (function sourceRandomExponential(source) { |
| 14550 | function randomExponential(lambda) { |
| 14551 | return function() { |
| 14552 | return -Math.log1p(-source()) / lambda; |
| 14553 | }; |
| 14554 | } |
| 14555 | |
| 14556 | randomExponential.source = sourceRandomExponential; |
| 14557 |
nothing calls this directly
no outgoing calls
no test coverage detected