Skip to content

Clean up SpecialFunctions imports #496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/ApproxFunBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ import Base: values, convert, getindex, setindex!, *, +, -, ==, <, <=, >, |, !,
eachindex, firstindex, lastindex, isreal,
OneTo, Array, Vector, Matrix, view, ones, @propagate_inbounds,
print_array, split, iszero, permutedims, rad2deg, deg2rad, checkbounds,
real, float, view, oneto
real, float, view, oneto,
sinpi, cospi, sin, cos, cosh, exp2, exp10, log2, log10, csc, acsc, sec,
asec, cot, acot, sinh, csch, asinh, acsch,
sech, acosh, asech, tanh, coth, atanh, acoth,
sinc, cosc, log1p, log, expm1, tan,
max, min, cbrt, atan, acos, asin

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

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