sesaparcours
    Preparing search index...
    interface SimplifyOptions {
        consoleDebug?: boolean;
        context?: Partial<
            Record<
                keyof OperatorNodeMap,
                {
                    associative: boolean;
                    commutative: boolean;
                    total: boolean;
                    trivial: boolean;
                },
            >,
        >;
        exactFractions?: boolean;
        fractionsLimit?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    consoleDebug?: boolean

    A boolean which is false by default.

    context?: Partial<
        Record<
            keyof OperatorNodeMap,
            {
                associative: boolean;
                commutative: boolean;
                total: boolean;
                trivial: boolean;
            },
        >,
    >

    gives properties of each operator, which determine what simplifications are allowed. Properties are commutative, associative, total (whether the operation is defined for all arguments), and trivial (whether the operation applied to a single argument leaves that argument unchanged).

    exactFractions?: boolean

    A boolean which is true by default.

    fractionsLimit?: number

    When exactFractions is true, a fraction will be returned only when both numerator and denominator are smaller than fractionsLimit. Default value is 10000.