AutoMovie API
    Preparing search index...
    • The root in [a, b].

      Parameters

      • f: (x: number) => number

        The function.

      • a: number

        One end of the bracket.

      • b: number

        The other end.

      • tolerance: number

        Largest accepted |f| at the root, in f's units.

      • iterations: number

        Most steps; the last estimate is returned past them.

      Returns number | null

      The root, or null when the ends do not bracket a sign change.