@@ -58,7 +58,7 @@ getindex(f::ArraySpace,k...) = Space(component(f,k...))
5858iterate (f:: Fun{<:ArraySpace} ) = iterate (components (f))
5959
6060
61- Base . reshape (AS:: ArraySpace ,k... ) = ArraySpace (reshape (AS. spaces,k... ))
61+ reshape (AS:: ArraySpace ,k... ) = ArraySpace (reshape (AS. spaces,k... ))
6262dimension (AS:: ArraySpace ) = mapreduce (dimension,+ ,AS. spaces,init= 0 )
6363
6464# TODO : union domain
@@ -112,14 +112,14 @@ repeat(A::ArraySpace,n,m) = ArraySpace(repeat(A.spaces,n,m))
112112
113113component (A:: MatrixSpace ,k:: Integer ,j:: Integer ) = A. spaces[k,j]
114114
115- Base . getindex (f:: Fun{DSS} ,k:: Integer ) where {DSS<: ArraySpace } = component (f,k)
115+ getindex (f:: Fun{DSS} ,k:: Integer ) where {DSS<: ArraySpace } = component (f,k)
116116
117117
118- Base . getindex (f:: Fun{<:MatrixSpace} ,k:: Integer ,j:: Integer ) =
118+ getindex (f:: Fun{<:MatrixSpace} ,k:: Integer ,j:: Integer ) =
119119 f[k+ stride (f,2 )* (j- 1 )]
120120
121- Base . getindex (f:: Fun{DSS} ,kj:: CartesianIndex{1} ) where {DSS<: ArraySpace } = f[kj[1 ]]
122- Base . getindex (f:: Fun{DSS} ,kj:: CartesianIndex{2} ) where {DSS<: ArraySpace } = f[kj[1 ],kj[2 ]]
121+ getindex (f:: Fun{DSS} ,kj:: CartesianIndex{1} ) where {DSS<: ArraySpace } = f[kj[1 ]]
122+ getindex (f:: Fun{DSS} ,kj:: CartesianIndex{2} ) where {DSS<: ArraySpace } = f[kj[1 ],kj[2 ]]
123123
124124
125125function Fun (A:: AbstractMatrix{<:Fun{<:VectorSpace{S},V,VV}} ) where {S,V,VV}
@@ -189,7 +189,7 @@ function choosedomainspace(A::VectorInterlaceOperator, sp::ArraySpace)
189189end
190190
191191
192- Base . reshape (f:: Fun{AS} ,k... ) where {AS<: ArraySpace } = Fun (reshape (space (f),k... ),f. coefficients)
192+ reshape (f:: Fun{AS} ,k... ) where {AS<: ArraySpace } = Fun (reshape (space (f),k... ),f. coefficients)
193193
194194Base. diff (f:: Fun{AS,T} ,n... ) where {AS<: ArraySpace ,T} = Fun (diff (Array (f),n... ))
195195
0 commit comments