es6-fuzz - v6.1.0
    Preparing search index...

    Class representing a Sigmoid.

    // long slope
    sigmoid = new Sigmoid(0, 100000);
    sigmoid2.fuzzify(10);
    Index

    Constructors

    Methods

    Constructors

    • Create a Sigmoid Function.

      Parameters

      • center: number = 0

        The center point of the sigmoid curve (where it outputs 0.5)

      • slope: number = 1

        The slope of the sigmoid curve (higher = steeper transition)

      Returns Sigmoid

    Methods

    • Fuzzify

      Parameters

      • x: number

        Point on X axis

      Returns number

      fuzzy output 0..1