We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f49f83 commit 53ec4b0Copy full SHA for 53ec4b0
src/fejer.jl
@@ -1,6 +1,5 @@
1
plan_fejer1(μ) = FFTW.plan_r2r!(μ, FFTW.REDFT01)
2
3
-
4
"""
5
Compute nodes of Fejer's first quadrature rule.
6
@@ -23,7 +22,7 @@ plan_fejer2(μ) = FFTW.plan_r2r!(μ, FFTW.RODFT00)
23
22
24
Compute nodes of Fejer's second quadrature rule.
25
26
-fejernodes2(::Type{T}, N::Int) where T = T[cospi((k+one(T))/(N+one(T))) for k=0:N-1]
+fejernodes2(::Type{T}, N::Int) where T = T[sinpi((N-2k-one(T))/(2N+two(T))) for k=0:N-1]
27
28
29
Compute weights of Fejer's second quadrature rule with modified Chebyshev moments of the second kind ``\\mu``.
0 commit comments