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
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ julia> using FastTransforms, LinearAlgebra
19
19
20
20
## Fast orthogonal polynomial transforms
21
21
22
-
The 26 orthogonal polynomial transforms are listed in `FastTransforms.kind2string.(0:25)`. Univariate transforms may be planned with the standard normalization or with orthonormalization. For multivariate transforms, the standard normalization may be too severe for floating-point computations, so it is omitted. Here are two examples:
22
+
The 29 orthogonal polynomial transforms are listed in `FastTransforms.kind2string.(0:28)`. Univariate transforms may be planned with the standard normalization or with orthonormalization. For multivariate transforms, the standard normalization may be too severe for floating-point computations, so it is omitted. Here are two examples:
SPHERESYNTHESIS =>"FFTW Fourier synthesis on the sphere",
90
127
SPHEREANALYSIS =>"FFTW Fourier analysis on the sphere",
91
128
SPHEREVSYNTHESIS =>"FFTW Fourier synthesis on the sphere (vector field)",
@@ -95,7 +132,9 @@ let k2s = Dict(LEG2CHEB => "Legendre--Chebyshev",
95
132
TRIANGLESYNTHESIS =>"FFTW Chebyshev synthesis on the triangle",
96
133
TRIANGLEANALYSIS =>"FFTW Chebyshev analysis on the triangle",
97
134
TETRAHEDRONSYNTHESIS =>"FFTW Chebyshev synthesis on the tetrahedron",
98
-
TETRAHEDRONANALYSIS =>"FFTW Chebyshev analysis on the tetrahedron")
135
+
TETRAHEDRONANALYSIS =>"FFTW Chebyshev analysis on the tetrahedron",
136
+
SPINSPHERESYNTHESIS =>"FFTW Fourier synthesis on the sphere (spin-weighted)",
137
+
SPINSPHEREANALYSIS =>"FFTW Fourier analysis on the sphere (spin-weighted)")
99
138
global kind2string
100
139
kind2string(k::Integer) = k2s[Int(k)]
101
140
end
@@ -132,6 +171,7 @@ show(io::IO, p::FTPlan{T, 2, SPHEREV}) where T = print(io, "FastTransforms ", ki
132
171
show(io::IO, p::FTPlan{T, 2, DISK}) where T =print(io, "FastTransforms ", kind2string(DISK), " plan for $(p.n)×$(4p.n-3)-element array of ", T)
133
172
show(io::IO, p::FTPlan{T, 2, TRIANGLE}) where T =print(io, "FastTransforms ", kind2string(TRIANGLE), " plan for $(p.n)×$(p.n)-element array of ", T)
134
173
show(io::IO, p::FTPlan{T, 3, TETRAHEDRON}) where T =print(io, "FastTransforms ", kind2string(TETRAHEDRON), " plan for $(p.n)×$(p.n)×$(p.n)-element array of ", T)
174
+
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)
135
175
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)
136
176
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)
137
177
@@ -141,7 +181,7 @@ function checksize(p::FTPlan{T}, x::Array{T}) where T
141
181
end
142
182
end
143
183
144
-
for K in (SPHERE, SPHEREV, DISK)
184
+
for K in (SPHERE, SPHEREV, DISK, SPINSPHERE)
145
185
@evalfunctionchecksize(p::FTPlan{T, 2, $K}, x::Matrix{T}) where T
146
186
if p.n !=size(x, 1)
147
187
throw(DimensionMismatch("FTPlan has dimensions $(p.n) × $(p.n), x has leading dimension $(size(x, 1))"))
0 commit comments