@@ -10,16 +10,6 @@ function show(io::IO, f::Fun)
10
10
print (io," )" )
11
11
end
12
12
13
- evalconst (f, :: AnyDomain ) = f (0.0 )
14
- evalconst (f, d) = f (leftendpoint (d))
15
- evalconst (f, d:: Union {Point, UnionDomain{<: Any , <: Tuple{Point, Vararg{Point}} }}) = f (d)
16
-
17
- function show (io:: IO ,f:: Fun{<:Union{ConstantSpace, ArraySpace{<:ConstantSpace}}} )
18
- d = domain (f)
19
- print (io, evalconst (f, domain (f)))
20
- print (io, d isa AnyDomain ? " anywhere" : " on " * string (d))
21
- end
22
-
23
13
# # MultivariateFun
24
14
25
15
show (io:: IO , :: MIME"text/plain" , f:: MultivariateFun ) = show (io, f)
159
149
160
150
summarystr (ss:: ArraySpace ) = string (Base. dims2string (length .(axes (ss))), " ArraySpace" )
161
151
summary (io:: IO , ss:: ArraySpace ) = print (io, summarystr (ss))
162
- function show (io:: IO ,ss:: ArraySpace ;header:: Bool = true )
163
- header && print (io,summarystr (ss)* " :\n " )
164
- show (io, ss. spaces)
152
+ function show (io:: IO , ss:: ArraySpace ; header:: Bool = true )
153
+ print (io, ArraySpace, " (" , ss. spaces, " )" )
165
154
end
166
155
167
156
function show (io:: IO ,s:: TensorSpace )
0 commit comments