(base)
| 128846 | }; |
| 128847 | } |
| 128848 | function logp(base) { |
| 128849 | return base === Math.E ? Math.log : base === 10 && Math.log10 || base === 2 && Math.log2 || (base = Math.log(base), function(x) { |
| 128850 | return Math.log(x) / base; |
| 128851 | }); |
| 128852 | } |
| 128853 | function reflect(f) { |
| 128854 | return function(x) { |
| 128855 | return -f(-x); |