Skip to content

Commit 9dd635f

Browse files
fix-up documenter make.jl
remove dead code
1 parent 125a34b commit 9dd635f

File tree

2 files changed

+3
-53
lines changed

2 files changed

+3
-53
lines changed

docs/make.jl

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
using Documenter, FastTransforms
22

3-
makedocs(modules=[FastTransforms],
4-
doctest = true,
5-
clean = true,
6-
format = :html,
3+
makedocs(
4+
doctest = false,
5+
format = Documenter.HTML(),
76
sitename = "FastTransforms.jl",
87
authors = "Richard Mikael Slevinsky",
98
pages = Any[
@@ -14,10 +13,4 @@ makedocs(modules=[FastTransforms],
1413

1514
deploydocs(
1615
repo = "github.com/JuliaApproximation/FastTransforms.jl.git",
17-
latest = "master",
18-
julia = "0.6",
19-
osname = "linux",
20-
target = "build",
21-
deps = Deps.pip("pygments", "mkdocs", "python-markdown-math"),
22-
make = nothing
2316
)

src/clenshawcurtis.jl

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -17,46 +17,3 @@ function clenshawcurtisweights!(μ::Vector{T}, plan) where T
1717
μ[1] *= half(T); μ[N] *= half(T)
1818
return μ
1919
end
20-
21-
22-
23-
# Chebyshev-T coefficients to values at Clenshaw-Curtis nodes
24-
25-
applyTN_plan(x) = length(x) > 1 ? FFTW.plan_r2r!(x, FFTW.REDFT00) : fill!(similar(x),1)'
26-
27-
applyTN!(x::Vector{T}) where {T<:AbstractFloat} = applyTN!(x,applyTN_plan(x))
28-
29-
function applyTN!(x::Vector{T},plan) where T<:AbstractFloat
30-
x[1] *= 2; x[end] *=2
31-
plan*x
32-
rmul!(x,half(T))
33-
end
34-
applyTN(x::Vector{T},plan) where {T<:AbstractFloat} = applyTN!(copy(x),plan)
35-
applyTN(x::Vector{T}) where {T<:AbstractFloat} = applyTN!(copy(x))
36-
37-
# Values at Clenshaw-Curtis nodes to Chebyshev-T coefficients
38-
39-
applyTNinv_plan(x) = length(x) > 1 ? FFTW.plan_r2r!(x, FFTW.REDFT00) : fill!(similar(x),1)'
40-
41-
applyTNinv!(x::Vector{T}) where {T<:AbstractFloat} = applyTNinv!(x,applyTNinv_plan(x))
42-
43-
function applyTNinv!(x::Vector{T},plan) where T<:AbstractFloat
44-
plan*x
45-
x[1] /= 2;x[end] /= 2
46-
rmul!(x,inv(length(x)-one(T)))
47-
end
48-
applyTNinv(x::Vector{T},plan) where {T<:AbstractFloat} = applyTNinv!(copy(x),plan)
49-
applyTNinv(x::Vector{T}) where {T<:AbstractFloat} = applyTNinv!(copy(x))
50-
51-
# sin(nθ) coefficients to values at Clenshaw-Curtis nodes except ±1
52-
53-
applyUN_plan(x) = length(x) > 0 ? FFTW.plan_r2r!(x, FFTW.RODFT00) : fill!(similar(x),1)'
54-
55-
applyUN!(x::AbstractVector{T}) where {T<:AbstractFloat} = applyUN!(x,applyUN_plan(x))
56-
57-
function applyUN!(x::AbstractVector{T},plan) where T<:AbstractFloat
58-
plan*x
59-
rmul!(x,half(T))
60-
end
61-
applyUN(x::AbstractVector{T},plan) where {T<:AbstractFloat} = applyUN!(copy(x),plan)
62-
applyUN(x::AbstractVector{T}) where {T<:AbstractFloat} = applyUN!(copy(x))

0 commit comments

Comments
 (0)