@@ -10,16 +10,6 @@ function show(io::IO, f::Fun)
1010 print (io," )" )
1111end
1212
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-
2313# # MultivariateFun
2414
2515show (io:: IO , :: MIME"text/plain" , f:: MultivariateFun ) = show (io, f)
159149
160150summarystr (ss:: ArraySpace ) = string (Base. dims2string (length .(axes (ss))), " ArraySpace" )
161151summary (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, " )" )
165154end
166155
167156function show (io:: IO ,s:: TensorSpace )
0 commit comments