Chalkboard - v3.0.1
    Preparing search index...

    Function slope

    • Calculates the slope of a vector.

      Parameters

      Returns number

      // Returns 1.5
      const m = Chalkboard.vect.slope(Chalkboard.vect.init(2, 3));