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.
1 parent 4e93fb6 commit abdecb7Copy full SHA for abdecb7
src/Domain.jl
@@ -103,18 +103,18 @@ issubcomponent(a::Domain,b::Domain) = a in components(b)
103
104
##### canoncial
105
"""
106
- canonicaldomain(d)
107
-
108
-returns a domain which we map to for operations. For example,
109
-the canonical domain for an interval [a,b] is [-1,1]
110
-"""
111
-function canonicaldomain end
+ tocanonical(d, x)
112
+Map the point `x` in `d` to a point in `DomainSets.canonicaldomain(d)`.
113
114
115
- tocanonical(d, x)
+# Examples
+```jldoctest
+julia> tocanonical(0..0.5, 0)
+-1.0
116
117
-maps the point `x` in `d` to a point in `canonical(d,x)`
+julia> tocanonical(0..0.5, 0.5)
+1.0
+```
118
119
function tocanonical end
120
0 commit comments