We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
symtype
1 parent 28ff6da commit 993a3bdCopy full SHA for 993a3bd
src/types.jl
@@ -100,9 +100,10 @@ end
100
###
101
102
"""
103
- symtype(x)
+$(SIGNATURES)
104
105
-Returns the numeric type of `x`. By default this is just `typeof(x)`.
+Returns the [numeric type](https://docs.julialang.org/en/v1/base/numbers/#Standard-Numeric-Types)
106
+of `x`. By default this is just `typeof(x)`.
107
Define this for your symbolic types if you want [`SymbolicUtils.simplify`](@ref) to apply rules
108
specific to numbers (such as commutativity of multiplication). Or such
109
rules that may be implemented in the future.
0 commit comments