EvaluatorConstantFunction
Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.
EvaluatorConstantFunction
class EvaluatorConstantFunctionA registered constant or fixed-argument function in an evaluator constant slot.
Returned by EvaluatorInstructions.constant_functions. Its properties are read-only; function names, tags, and arguments are Expression objects.
Attributes
| Name | Description |
|---|---|
arguments |
The exact numerical arguments, empty for a registered constant such as pi. |
function |
The registered function or constant symbol. |
index |
The index of the corresponding slot in EvaluatorInstructions.constants. |
tags |
The expression tags used to distinguish this function implementation. |
arguments
EvaluatorConstantFunction.arguments: list[Expression]The exact numerical arguments, empty for a registered constant such as pi.
function
EvaluatorConstantFunction.function: ExpressionThe registered function or constant symbol.
index
EvaluatorConstantFunction.index: intThe index of the corresponding slot in EvaluatorInstructions.constants.
tags
EvaluatorConstantFunction.tags: list[Expression]The expression tags used to distinguish this function implementation.
Methods
| Name | Description |
|---|---|
__repr__ |
__repr__
EvaluatorConstantFunction.__repr__() -> str