sesaparcours
    Preparing search index...
    interface SimilarOptions {
        consoleDebug?: boolean;
        consoleDebugDump?: boolean;
        context?: Partial<
            Record<
                keyof OperatorNodeMap,
                {
                    associative: boolean;
                    commutative: boolean;
                    total: boolean;
                    trivial: boolean;
                },
            >,
        >;
        exactFractions?: boolean;
        expandScalarProduct?: boolean;
        expandUnaryMinus?: boolean;
        fractionsLimit?: number;
        max?: number;
        min?: number;
        nbValues?: number;
        precision?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    consoleDebug?: boolean

    A boolean which is false by default.

    consoleDebugDump?: boolean

    si true on fera aussi des dumps des nodes au fil du traitement

    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.

    expandScalarProduct?: boolean

    développe tous les produits par un scalaire

    expandUnaryMinus?: boolean

    développe tous les produits par -1

    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.

    max?: number

    valeur max de l'intervalle dans lequel on piochera nos valeurs à tester (100 par défaut)

    min?: number

    valeur min de l'intervalle dans lequel on piochera nos valeurs à tester (-100 par défaut)

    nbValues?: number

    Le nb de valeurs différentes à tester (5 par défaut)

    precision?: number

    Le nb de chiffres significatifs à prendre en compte pour la comparaison numérique (12 par défaut)