Documentation
    Preparing search index...

    Variable sigmoidConst

    sigmoid: (x: number) => number

    Sigmoid function

    Type declaration

      • (x: number): number
      • Parameters

        • x: number

          input value to the function

        Returns number

        the output of the sigmoid function

    import { sigmoid } from '@kitsuyui/mymath'
    sigmoid(0) // => 0.5