PiMath API
    Preparing search index...

    Class TableOfSigns

    The table of signs of a polynom, a factor or a factored expression: its roots, the sign of the value between them, and the tkz-tab LaTeX code to draw it. It also gives the intervals where the expression is positive or negative, its zeros and its poles. The signs are +, -, z (zero), d (pole), h (hatched interval, where the expression is not defined), and t (no root of the factor at that place).

    new TableOfSigns(new Polynom("x^2-1")).negative().display // "]-1;1["
    

    Implements

    Index
    • get withFactors(): this

      Show individual factor sign rows in the tkz-tab output (only for PolyFactor).

      Returns this

    • Copy the mathematical state of another instance into this (display state is NOT transferred — the receiver keeps its own formatting). Entry point used when constructing/parsing from a same-type input. Distinct from clone. Classes without a real implementation throw NotImplementedError.

      Parameters

      Returns this

    • Definition domain: excludes poles ('d'), holes ('h'), and unresolved slots (''). Includes zeros ('z') and sign-changing roots at both interval and root positions — so the zero polynomial, whose sole interval slot carries 'z', correctly yields ℝ.

      Returns Domain

    • Override the label of the product row (default: f(x)).

      Parameters

      • label: string

      Returns this

    • Override tkz-tab layout options.

      Parameters

      • lgt: number

        Width of the label column (default: 2).

      • espcl: number

        Column spacing (default: 1.2).

      Returns this