You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -164,7 +165,8 @@ let k2s = Dict(LEG2CHEB => "Legendre--Chebyshev",
164
165
TETRAHEDRONSYNTHESIS =>"FFTW Chebyshev synthesis on the tetrahedron",
165
166
TETRAHEDRONANALYSIS =>"FFTW Chebyshev analysis on the tetrahedron",
166
167
SPINSPHERESYNTHESIS =>"FFTW Fourier synthesis on the sphere (spin-weighted)",
167
-
SPINSPHEREANALYSIS =>"FFTW Fourier analysis on the sphere (spin-weighted)")
168
+
SPINSPHEREANALYSIS =>"FFTW Fourier analysis on the sphere (spin-weighted)",
169
+
SPHERICALISOMETRY =>"Spherical isometry")
168
170
global kind2string
169
171
kind2string(k::Integer) = k2s[Int(k)]
170
172
end
@@ -204,6 +206,7 @@ show(io::IO, p::FTPlan{T, 3, TETRAHEDRON}) where T = print(io, "FastTransforms "
204
206
show(io::IO, p::FTPlan{T, 2, SPINSPHERE}) where T =print(io, "FastTransforms ", kind2string(SPINSPHERE), " plan for $(p.n)×$(2p.n-1)-element array of ", T)
205
207
show(io::IO, p::FTPlan{T, 2, K}) where {T, K} =print(io, "FastTransforms plan for ", kind2string(K), " for $(p.n)×$(p.m)-element array of ", T)
206
208
show(io::IO, p::FTPlan{T, 3, K}) where {T, K} =print(io, "FastTransforms plan for ", kind2string(K), " for $(p.n)×$(p.l)×$(p.m)-element array of ", T)
209
+
show(io::IO, p::FTPlan{T, 2, SPHERICALISOMETRY}) where T =print(io, "FastTransforms ", kind2string(SPHERICALISOMETRY), " plan for $(p.n)×$(2p.n-1)-element array of ", T)
207
210
208
211
functionchecksize(p::FTPlan{T}, x::Array{T}) where T
209
212
if p.n !=size(x, 1)
@@ -222,6 +225,12 @@ for K in (SPHERE, SPHEREV, DISK, SPINSPHERE)
222
225
end
223
226
end
224
227
228
+
functionchecksize(p::FTPlan{T, 2, SPHERICALISOMETRY}, x::Matrix{T}) where T
229
+
if p.n !=size(x, 1) ||2p.n-1!=size(x, 2)
230
+
throw(DimensionMismatch("This FTPlan must operate on arrays of size $(p.n) × $(2p.n-1)."))
0 commit comments