You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/index.md
+2-9Lines changed: 2 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,15 +108,8 @@ g(2//5, g(1, β))
108
108
109
109
Symbolic expressions are of type `Term{T}`, `Add{T}`, `Mul{T}`, `Pow{T}` or `Div{T}` and denote some function call where one or more arguments are themselves such expressions or `Sym`s. See more about the representation [here](/representation/).
110
110
111
-
All the expression types support the following:
112
-
113
-
-`istree(x)` -- always returns `true` denoting, `x` is not a leaf node like Sym or a literal.
114
-
-`operation(x)` -- the function being called
115
-
-`arguments(x)` -- a vector of arguments
116
-
-`symtype(x)` -- the "inferred" type (`T`)
117
-
118
-
See more on the interface [here](/interface)
119
-
111
+
All the expression types support the [TermInterface.jl](https://github.com/0x0f0f0f/TermInterface.jl) interface.
112
+
Please refer to the package for the complete reference of the interface.
Copy file name to clipboardExpand all lines: src/polyform.jl
+14-10Lines changed: 14 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ using Bijections
6
6
7
7
Abstracts a [MultivariatePolynomials.jl](https://juliaalgebra.github.io/MultivariatePolynomials.jl/stable/) as a SymbolicUtils expression and vice-versa.
8
8
9
-
The SymbolicUtils term interface (`istree`, `operation, and `arguments`) works on PolyForm lazily:
9
+
The SymbolicUtils term interface (`isexpr`/`iscall`, `operation, and `arguments`) works on PolyForm lazily:
10
10
the `operation` and `arguments` are created by converting one level of arguments into SymbolicUtils expressions. They may further contain PolyForm within them.
11
11
We use this to hold polynomials in memory while doing `simplify_fractions`.
0 commit comments