Skip to content

Commit 1b1de29

Browse files
authored
Clean up SpecialFunctions imports (#496)
1 parent 441f15c commit 1b1de29

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/ApproxFunBase.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ import Base: values, convert, getindex, setindex!, *, +, -, ==, <, <=, >, |, !,
2929
eachindex, firstindex, lastindex, isreal,
3030
OneTo, Array, Vector, Matrix, view, ones, @propagate_inbounds,
3131
print_array, split, iszero, permutedims, rad2deg, deg2rad, checkbounds,
32-
real, float, view, oneto
32+
real, float, view, oneto,
33+
sinpi, cospi, sin, cos, cosh, exp2, exp10, log2, log10, csc, acsc, sec,
34+
asec, cot, acot, sinh, csch, asinh, acsch,
35+
sech, acosh, asech, tanh, coth, atanh, acoth,
36+
sinc, cosc, log1p, log, expm1, tan,
37+
max, min, cbrt, atan, acos, asin
3338

3439
import Base.Broadcast: BroadcastStyle, Broadcasted, AbstractArrayStyle,
3540
broadcastable, DefaultArrayStyle, broadcasted
@@ -50,14 +55,9 @@ import SparseArrays: blockdiag
5055

5156
# we need to import all special functions to use Calculus.symbolic_derivatives_1arg
5257
# we can't do importall Base as we replace some Base definitions
53-
import SpecialFunctions: sinpi, cospi, airy, besselh,
54-
sin, cos, cosh, exp2, exp10, log2, log10, csc, acsc, sec,
55-
asec, cot, acot, sinh, csch, asinh, acsch,
56-
sech, acosh, asech, tanh, coth, atanh, acoth,
57-
log1p, lfact, sinc, cosc, beta, lbeta,
58+
import SpecialFunctions: airy, besselh,
59+
lfact, beta, lbeta,
5860
eta, zeta, polygamma, logabsgamma, loggamma,
59-
abs, sign, log, expm1, tan, abs2, sqrt, angle,
60-
max, min, cbrt, atan, acos, asin, inv,
6161
besselj, bessely, besseli, besselk, besselkx,
6262
hankelh1, hankelh2, hankelh1x, hankelh2x,
6363
# functions from Calculus.symbolic_derivatives_1arg

0 commit comments

Comments
 (0)