|
1 | 1 | module ApproxFunFourier
|
2 |
| -using Base, LinearAlgebra, Reexport, AbstractFFTs, FFTW, InfiniteArrays, FastTransforms, IntervalSets, |
3 |
| - DomainSets |
| 2 | +using Base, LinearAlgebra, Reexport, AbstractFFTs, FFTW, InfiniteArrays, |
| 3 | + FastTransforms, IntervalSets, DomainSets |
4 | 4 |
|
5 | 5 | @reexport using ApproxFunBase
|
6 | 6 |
|
7 | 7 | import AbstractFFTs: Plan, fft, ifft
|
8 |
| -import FFTW: plan_r2r!, fftwNumber, REDFT10, REDFT01, REDFT00, RODFT00, R2HC, HC2R, |
9 |
| - r2r!, r2r, plan_fft, plan_ifft, plan_ifft!, plan_fft! |
10 |
| - |
11 |
| -import ApproxFunBase: normalize!, flipsign, FiniteRange, Fun, MatrixFun, UnsetSpace, VFun, RowVector, |
12 |
| - UnivariateSpace, AmbiguousSpace, SumSpace, SubSpace, WeightSpace, NoSpace, Space, |
13 |
| - HeavisideSpace, PointSpace, |
14 |
| - IntervalOrSegment, RaggedMatrix, AlmostBandedMatrix, |
15 |
| - AnyDomain, ZeroSpace, ArraySpace, TrivialInterlacer, BlockInterlacer, |
16 |
| - AbstractTransformPlan, TransformPlan, ITransformPlan, |
17 |
| - ConcreteConversion, ConcreteMultiplication, ConcreteDerivative, ConcreteIntegral, CalculusOperator, |
18 |
| - ConcreteVolterra, Volterra, VolterraWrapper, |
19 |
| - MultiplicationWrapper, ConversionWrapper, DerivativeWrapper, Evaluation, EvaluationWrapper, |
20 |
| - Conversion, defaultConversion, defaultcoefficients, default_Fun, Multiplication, Derivative, Integral, bandwidths, |
21 |
| - ConcreteEvaluation, ConcreteDefiniteLineIntegral, ConcreteDefiniteIntegral, ConcreteIntegral, |
22 |
| - DefiniteLineIntegral, DefiniteIntegral, ConcreteDefiniteIntegral, ConcreteDefiniteLineIntegral, IntegralWrapper, |
23 |
| - ReverseOrientation, ReverseOrientationWrapper, ReverseWrapper, Reverse, NegateEven, |
24 |
| - Dirichlet, ConcreteDirichlet, DirichletWrapper, |
25 |
| - TridiagonalOperator, SubOperator, Space, @containsconstants, spacescompatible, |
26 |
| - hasfasttransform, canonicalspace, domain, setdomain, prectype, domainscompatible, |
27 |
| - plan_transform, plan_itransform, plan_transform!, plan_itransform!, transform, itransform, hasfasttransform, |
28 |
| - CanonicalTransformPlan, ICanonicalTransformPlan, |
29 |
| - Integral, |
30 |
| - domainspace, rangespace, |
31 |
| - union_rule, conversion_rule, maxspace_rule, conversion_type, maxspace, hasconversion, points, |
32 |
| - rdirichlet, ldirichlet, lneumann, rneumann, ivp, bvp, |
33 |
| - linesum, differentiate, integrate, linebilinearform, bilinearform, |
34 |
| - UnsetNumber, coefficienttimes, subspace_coefficients, sumspacecoefficients, specialfunctionnormalizationpoint, |
35 |
| - Segment, IntervalOrSegmentDomain, PiecewiseSegment, isambiguous, Vec, eps, isperiodic, |
36 |
| - arclength, complexlength, |
37 |
| - invfromcanonicalD, fromcanonical, tocanonical, fromcanonicalD, tocanonicalD, canonicaldomain, setcanonicaldomain, mappoint, |
38 |
| - reverseorientation, checkpoints, evaluate, mul_coefficients, coefficients, coefficientmatrix, isconvertible, |
39 |
| - clenshaw, ClenshawPlan, sineshaw, |
40 |
| - toeplitz_getindex, toeplitz_axpy!, sym_toeplitz_axpy!, hankel_axpy!, ToeplitzOperator, SymToeplitzOperator, hankel_getindex, |
41 |
| - SpaceOperator, ZeroOperator, InterlaceOperator, |
42 |
| - interlace!, reverseeven!, negateeven!, cfstype, pad!, alternatesign!, mobius, |
43 |
| - extremal_args, hesseneigvals, chebyshev_clenshaw, recA, recB, recC, roots,splitatroots, |
44 |
| - chebmult_getindex, intpow, alternatingsum, |
45 |
| - domaintype, diagindshift, rangetype, weight, isapproxinteger, default_Dirichlet, scal!, dotu, |
46 |
| - components, promoterangespace, promotedomainspace, choosedomainspace, |
47 |
| - block, blockstart, blockstop, blocklengths, isblockbanded, pointscompatible, |
48 |
| - AbstractProductSpace, MultivariateFun, BivariateSpace, |
49 |
| - @wrapperstructure, @wrapperspaces, @wrapper, @calculus_operator, resizedata!, slnorm, affine_setdiff, |
50 |
| - complexroots, EmptyDomain, RectDomain |
51 |
| - |
52 |
| - |
53 |
| -import DomainSets: Domain, indomain, UnionDomain, ProductDomain, FullSpace, Point, elements, DifferenceDomain, |
54 |
| - Interval, ChebyshevInterval, boundary, ∂, rightendpoint, leftendpoint, |
55 |
| - dimension |
56 |
| - |
57 |
| -import Base: values, convert, getindex, setindex!, *, +, -, ==, <, <=, >, |, !, !=, eltype, iterate, |
58 |
| - >=, /, ^, \, ∪, transpose, size, tail, broadcast, broadcast!, copyto!, copy, to_index, (:), |
59 |
| - similar, map, vcat, hcat, hvcat, show, summary, stride, sum, cumsum, sign, imag, conj, inv, |
60 |
| - complex, reverse, exp, sqrt, abs, abs2, sign, issubset, values, in, first, last, rand, intersect, setdiff, |
61 |
| - isless, union, angle, join, isnan, isapprox, isempty, sort, merge, promote_rule, |
62 |
| - minimum, maximum, extrema, argmax, argmin, findmax, findmin, isfinite, |
63 |
| - zeros, zero, one, promote_rule, repeat, length, resize!, isinf, |
64 |
| - getproperty, findfirst, unsafe_getindex, fld, cld, div, real, imag, |
65 |
| - @_inline_meta, eachindex, firstindex, lastindex, keys, isreal, OneTo, |
66 |
| - Array, Vector, Matrix, view, ones, @propagate_inbounds, print_array, |
67 |
| - split |
68 |
| - |
69 |
| -import LinearAlgebra: BlasInt, BlasFloat, norm, ldiv!, mul!, det, eigvals, dot, cross, |
70 |
| - qr, qr!, rank, isdiag, istril, istriu, issymmetric, ishermitian, |
71 |
| - Tridiagonal, diagm, diagm_container, factorize, nullspace, |
72 |
| - Hermitian, Symmetric, adjoint, transpose, char_uplo |
73 |
| - |
74 |
| -import InfiniteArrays: InfRanges, AbstractInfUnitRange, OneToInf |
75 |
| - |
76 |
| -import FastTransforms: ChebyshevTransformPlan, IChebyshevTransformPlan, plan_chebyshevtransform, |
77 |
| - plan_chebyshevtransform!, plan_ichebyshevtransform, plan_ichebyshevtransform! |
78 |
| - |
| 8 | +import FFTW: plan_r2r!, fftwNumber, RODFT00, R2HC, HC2R, plan_fft, plan_ifft, |
| 9 | + plan_ifft!, plan_fft! |
| 10 | + |
| 11 | +import ApproxFunBase: Fun, SumSpace, SubSpace, NoSpace, IntervalOrSegment, |
| 12 | + AnyDomain, AbstractTransformPlan, TransformPlan, ITransformPlan, |
| 13 | + ConcreteConversion, ConcreteMultiplication, ConcreteDerivative, |
| 14 | + MultiplicationWrapper, ConversionWrapper, DerivativeWrapper, |
| 15 | + Evaluation, Conversion, Multiplication, |
| 16 | + Derivative, ConcreteEvaluation, ConcreteIntegral, |
| 17 | + DefiniteLineIntegral, DefiniteIntegral, ConcreteDefiniteIntegral, |
| 18 | + ConcreteDefiniteLineIntegral, IntegralWrapper, Reverse, NegateEven, |
| 19 | + ReverseOrientation, ReverseOrientationWrapper, ReverseWrapper, |
| 20 | + Dirichlet, DirichletWrapper, Space, @containsconstants, |
| 21 | + spacescompatible, canonicalspace, domain, setdomain, prectype, |
| 22 | + domainscompatible, plan_transform, plan_itransform, plan_transform!, |
| 23 | + plan_itransform!, transform, itransform, hasfasttransform, Integral, |
| 24 | + domainspace, rangespace, union_rule, conversion_rule, maxspace_rule, |
| 25 | + conversion_type, maxspace, hasconversion, points, rdirichlet, |
| 26 | + ldirichlet, lneumann, rneumann, ivp, bvp, eps, |
| 27 | + linesum, differentiate, integrate, linebilinearform, bilinearform, |
| 28 | + UnsetNumber, coefficienttimes, Segment, isambiguous, isperiodic, |
| 29 | + arclength, complexlength, invfromcanonicalD, fromcanonical, |
| 30 | + tocanonical, fromcanonicalD, tocanonicalD, canonicaldomain, |
| 31 | + setcanonicaldomain, mappoint, reverseorientation, checkpoints, |
| 32 | + evaluate, mul_coefficients, coefficients, clenshaw, ClenshawPlan, |
| 33 | + sineshaw, toeplitz_getindex, ToeplitzOperator, hankel_getindex, |
| 34 | + SpaceOperator, ZeroOperator, InterlaceOperator, interlace!, |
| 35 | + reverseeven!, negateeven!, cfstype, alternatesign!, extremal_args, |
| 36 | + hesseneigvals, chebyshev_clenshaw, roots, EmptyDomain, |
| 37 | + chebmult_getindex, components, affine_setdiff, complexroots |
| 38 | + |
| 39 | +import BandedMatrices: bandwidths |
| 40 | + |
| 41 | +import DomainSets: Domain, indomain, UnionDomain, Point, Interval, |
| 42 | + boundary, rightendpoint, leftendpoint |
| 43 | + |
| 44 | +import Base: convert, getindex, *, +, -, ==, /, eltype, |
| 45 | + show, sum, cumsum, conj, issubset, first, last, rand, setdiff, |
| 46 | + angle, isempty, zeros, one, promote_rule, real, imag |
| 47 | + |
| 48 | +import LinearAlgebra: norm, mul! |
| 49 | + |
| 50 | +using InfiniteArrays: AbstractInfUnitRange |
| 51 | + |
| 52 | +using FastTransforms: plan_chebyshevtransform, plan_ichebyshevtransform |
| 53 | + |
| 54 | +using StaticArrays: SVector |
79 | 55 |
|
80 | 56 | export Fourier, Taylor, Hardy, CosSpace, SinSpace, Laurent, PeriodicDomain
|
81 | 57 |
|
|
0 commit comments