Start refactoring

This commit is contained in:
schmelczerandras 2020-07-29 22:33:46 +02:00
commit 9b47d56d8f

View file

@ -0,0 +1,5 @@
export const exponentialDecay = (
accumulator: number,
nextValue: number,
biasOfNextValue: number
) => accumulator * (1 - biasOfNextValue) + nextValue * biasOfNextValue;