sesaparcours
    Preparing search index...

    Interface BoxedSymbolDefinition

    Make all properties in T optional

    interface BoxedSymbolDefinition {
        algebraic?: boolean;
        complex?: boolean;
        composite?: boolean;
        constant: boolean;
        description?: string | string[];
        domain: undefined | BoxedDomain;
        even?: boolean;
        extendedComplex?: boolean;
        extendedReal?: boolean;
        finite?: boolean;
        holdUntil: "evaluate" | "N" | "simplify" | "never";
        imaginary?: boolean;
        inferredDomain: boolean;
        infinity?: boolean;
        integer?: boolean;
        name: string;
        NaN?: boolean;
        negative?: boolean;
        negativeOne?: boolean;
        nonNegative?: boolean;
        nonPositive?: boolean;
        notZero?: boolean;
        number?: boolean;
        odd?: boolean;
        one?: boolean;
        positive?: boolean;
        prime?: boolean;
        rational?: boolean;
        real?: boolean;
        scope: undefined | RuntimeScope;
        url?: string;
        wikidata?: string;
        zero?: boolean;
        get value(): undefined | BoxedExpression;
        set value(val: undefined | SemiBoxedExpression): void;
        reset(): any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    algebraic?: boolean
    complex?: boolean
    composite?: boolean
    constant: boolean

    If true the value of the symbol is constant. The value or domain of symbols with this attribute set to true cannot be changed.

    If false, the symbol is a variable.

    Default: false

    description?: string | string[]
    domain: undefined | BoxedDomain
    even?: boolean
    extendedComplex?: boolean
    extendedReal?: boolean
    finite?: boolean
    holdUntil: "evaluate" | "N" | "simplify" | "never"

    If the symbol has a value, it is held as indicated in the table below. A green checkmark indicate that the symbol is substituted.

    | Operation | "never" | "simplify" | "evaluate" | "N" | | :--- | :----- | | canonical()| (X) | | | | | simplify() | (X) | (X) | | | | evaluate() | (X) | (X) | (X) | | | "N()" | (X) | (X) | (X) | (X) |

    Some examples:

    • i has holdUntil: 'never'
    • GoldenRatio has holdUntil: 'simplify' (symbolic constant)
    • x has holdUntil: 'evaluate' (variables)
    • Pi has holdUntil: 'N' (special numeric constant)

    Default: evaluate

    imaginary?: boolean
    inferredDomain: boolean
    infinity?: boolean
    integer?: boolean
    name: string
    NaN?: boolean
    negative?: boolean
    negativeOne?: boolean
    nonNegative?: boolean
    nonPositive?: boolean
    notZero?: boolean
    number?: boolean
    odd?: boolean
    one?: boolean
    positive?: boolean
    prime?: boolean
    rational?: boolean
    real?: boolean
    scope: undefined | RuntimeScope

    The scope this definition belongs to.

    This field is usually undefined, but its value is set by getDefinition()

    url?: string
    wikidata?: string
    zero?: boolean

    Accessors

    • get value(): undefined | BoxedExpression

      Returns undefined | BoxedExpression

    • set value(val: undefined | SemiBoxedExpression): void

      Parameters

      Returns void

    Methods

    • When the environment changes, for example the numerical precision, call reset() so that any cached values can be recalculated.

      Returns any