Link path fixed

This commit is contained in:
barsdeveloper
2022-02-13 00:54:02 +01:00
parent 785f9d1846
commit 7cf556d89d
8 changed files with 62 additions and 41 deletions

View File

@@ -2,6 +2,11 @@ import Configuration from "./Configuration"
import TypeInitialization from "./entity/TypeInitialization"
export default class Utility {
static sigmoid(x, curvature = 1.7) {
return 1 / (1 + (x / Math.pow(1 - x, -curvature)))
}
static clamp(val, min, max) {
return Math.min(Math.max(val, min), max)
}