Skip to content

Commit 1134062

Browse files
committed
add special functions
1 parent 450b42c commit 1134062

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

src/ApproxFunFourier.jl

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module ApproxFunFourier
22
using Base, LinearAlgebra, Reexport, AbstractFFTs, FFTW, InfiniteArrays, FillArrays, FastTransforms, IntervalSets,
3-
DomainSets
3+
DomainSets, SpecialFunctions
44

55
@reexport using ApproxFunBase
66

@@ -65,7 +65,23 @@ import InfiniteArrays: Infinity, InfRanges, AbstractInfUnitRange, OneToInf
6565

6666
import FastTransforms: ChebyshevTransformPlan, IChebyshevTransformPlan, plan_chebyshevtransform,
6767
plan_chebyshevtransform!, plan_ichebyshevtransform, plan_ichebyshevtransform!
68-
68+
69+
70+
# we need to import all special functions to use Calculus.symbolic_derivatives_1arg
71+
# we can't do importall Base as we replace some Base definitions
72+
import SpecialFunctions: sinpi, cospi, airy, besselh,
73+
asinh, acosh,atanh, erfcx, dawson, erf, erfi,
74+
sin, cos, sinh, cosh, airyai, airybi, airyaiprime, airybiprime,
75+
hankelh1, hankelh2, besselj, besselj0, bessely, besseli, besselk,
76+
besselkx, hankelh1x, hankelh2x, exp2, exp10, log2, log10,
77+
tan, tanh, csc, asin, acsc, sec, acos, asec,
78+
cot, atan, acot, sinh, csch, asinh, acsch,
79+
sech, acosh, asech, tanh, coth, atanh, acoth,
80+
expm1, log1p, lfact, sinc, cosc, erfinv, erfcinv, beta, lbeta,
81+
eta, zeta, gamma, lgamma, polygamma, invdigamma, digamma, trigamma,
82+
abs, sign, log, expm1, tan, abs2, sqrt, angle, max, min, cbrt, log,
83+
atan, acos, asin, erfc, inv
84+
6985
export Fourier, Taylor, Hardy, CosSpace, SinSpace, Laurent, PeriodicDomain
7086

7187
include("utils.jl")

0 commit comments

Comments
 (0)