non-gon
    Preparing search index...

    Function quarticRoots

    • Solves a quartic equation ax⁴ + bx³ + cx² + dx + e = 0 and returns real roots.

      Parameters

      • a: number

        Coefficient of x⁴.

      • b: number

        Coefficient of x³.

      • c: number

        Coefficient of x².

      • d: number

        Coefficient of x.

      • e: number

        Constant term.

      Returns number[]

      An array of real roots.