SymbolAttributes: {
    constant: boolean;
    holdUntil:
        | "never"
        | "simplify"
        | "evaluate"
        | "N";
}

Type declaration

  • 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

  • holdUntil:
        | "never"
        | "simplify"
        | "evaluate"
        | "N"

    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