• Calculates the discriminant of a quadratic polynomial given its coefficients and form.

    Parameters

    • a: number

      The leading coefficient

    • b: number

      The middle coefficient

    • c: number

      The last coefficient (the constant)

    • Optional form: "stan" | "vert" = "stan"

      The form of the polynomial, which can be "stan" for standard form or "vert" for vertex form

    Returns number

Generated using TypeDoc