Skip to content

Commit 0e78219

Browse files
authored
Clean up imports (#895)
* Clean up imports * Version bump to v0.13.21
1 parent 0ef4992 commit 0e78219

File tree

3 files changed

+16
-22
lines changed

3 files changed

+16
-22
lines changed

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
name = "ApproxFun"
22
uuid = "28f2ccd6-bb30-5033-b560-165f7b14dc2f"
3-
version = "0.13.20"
3+
version = "0.13.21"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
77
ApproxFunBase = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
88
ApproxFunFourier = "59844689-9c9d-51bf-9583-5b794ec66d30"
99
ApproxFunOrthogonalPolynomials = "b70543e2-c0d9-56b8-a290-0d4d6d4de211"
1010
ApproxFunSingularities = "f8fcb915-6b99-5be2-b79a-d6dbef8e6e7e"
11-
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
1211
Calculus = "49dc2e85-a5d0-5ad3-a950-438e2897f1b9"
1312
DomainSets = "5b8099bc-c8ec-5219-889f-1d9e522a28bf"
1413
DualNumbers = "fa6b7ba4-c1ee-5f82-b5fc-ecf0adba8f74"
15-
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
1614
FastTransforms = "057dd010-8810-581a-b7be-e3fc3b93f78c"
1715
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1816
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
@@ -51,11 +49,13 @@ julia = "1.6"
5149
[extras]
5250
ApproxFunBaseTest = "a931bfaf-0cfd-4a5c-b69c-bf2eed002b43"
5351
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
52+
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
5453
BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0"
5554
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
5655
DualNumbers = "fa6b7ba4-c1ee-5f82-b5fc-ecf0adba8f74"
56+
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
5757
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
5858
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5959

6060
[targets]
61-
test = ["ApproxFunBaseTest", "Aqua", "BlockBandedMatrices", "Documenter", "DualNumbers", "Random", "Test"]
61+
test = ["ApproxFunBaseTest", "Aqua", "BandedMatrices", "BlockBandedMatrices", "Documenter", "DualNumbers", "FFTW", "Random", "Test"]

src/ApproxFun.jl

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
module ApproxFun
2-
using Base, Reexport,
3-
AbstractFFTs, FFTW, FastTransforms,
4-
LinearAlgebra, RecipesBase, DomainSets, SpecialFunctions #, Arpack
2+
3+
using AbstractFFTs
4+
using DomainSets
5+
using FastTransforms
6+
using LinearAlgebra
7+
using RecipesBase
8+
using Reexport
9+
using SpecialFunctions
510

611
import Calculus
712

@@ -29,10 +34,7 @@ import ApproxFunOrthogonalPolynomials: order
2934

3035
using ApproxFunSingularities: LeftIntegral, LeftDerivative, RightDerivative, RightIntegral
3136

32-
import BandedMatrices: bandwidths
33-
34-
import AbstractFFTs: Plan, fft, ifft
35-
import FFTW: plan_fft, plan_ifft, plan_ifft!
37+
import AbstractFFTs: Plan, fft, ifft, plan_fft, plan_ifft, plan_ifft!
3638

3739
import Base: convert, getindex, *, +, -, /, ^, \, sum, cumsum,
3840
first, last, isempty, zeros, promote_rule,
@@ -44,19 +46,12 @@ import Base: convert, getindex, *, +, -, /, ^, \, sum, cumsum,
4446
asind, acosd, atand, asecd, acscd, acotd, sinh, cosh, tanh, sech, csch,
4547
coth, asinh, acosh, atanh, asech, acsch, acoth, deg2rad, rad2deg
4648

47-
import LinearAlgebra: eigvals, dot, adjoint
49+
import LinearAlgebra: adjoint
4850

4951
import SpecialFunctions: erf, erfinv, erfc, erfcinv, erfi, gamma, lgamma, digamma, invdigamma,
5052
trigamma, airyai, airybi, airyaiprime, airybiprime, besselj0, besselj1,
5153
bessely0, bessely1, erfcx, dawson
5254

53-
# import Arpack: eigs
54-
55-
56-
import FastTransforms: ChebyshevTransformPlan, plan_chebyshevtransform,
57-
plan_chebyshevtransform!, plan_ichebyshevtransform,
58-
plan_ichebyshevtransform!
59-
6055
using StaticArrays: SVector
6156

6257
"""

src/Extras/Extras.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ include("fftGeneric.jl")
1111
digits(n::Int) = set_bigfloat_precision(round(Int,ceil(n*log2(10))))
1212
digits() = round(Int,floor(get_bigfloat_precision()*log10(2)))
1313

14-
import FastTransforms: pochhammer
15-
1614
include("poetry.jl")
1715

1816
include("simplify.jl")
@@ -24,6 +22,7 @@ function dualFun end
2422
function dualcfsFun end
2523

2624
if !isdefined(Base, :get_extension)
27-
include(joinpath(dirname(dirname(pathof(@__MODULE__))), "ext", "ApproxFunDualNumbersExt.jl"))
25+
parentdir = dirname(dirname(pathof(@__MODULE__)))
26+
include(joinpath(parentdir, "ext", "ApproxFunDualNumbersExt.jl"))
2827
end
2928
include("lanczos.jl")

0 commit comments

Comments
 (0)