mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 03:50:45 +08:00
added kogasa function
This commit is contained in:
parent
351cc2bcb2
commit
6684155cef
1 changed files with 5 additions and 0 deletions
|
@ -19,4 +19,9 @@ module.exports = {
|
|||
return 0;
|
||||
}
|
||||
},
|
||||
kogasa(cov) {
|
||||
return (
|
||||
100 * (1 - Math.tanh(cov + Math.pow(cov, 3) / 3 + Math.pow(cov, 5) / 5))
|
||||
);
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue