Skip to content

Commit 9e03586

Browse files
committed
Adjustments, add Documenter
1 parent 7dfee6a commit 9e03586

File tree

3 files changed

+71
-47
lines changed

3 files changed

+71
-47
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ The MIT License (MIT)
22

33
Copyright (c) 2017 Jeff Bezanson, Stefan Karpinski, Viral B. Shah, and others:
44

5-
https://github.com/....../contributors
5+
https://github.com/JuliaMath/SpecialFunctions.jl/graphs/contributors
66

77
Permission is hereby granted, free of charge, to any person obtaining a copy
88
of this software and associated documentation files (the "Software"), to deal

docs/make.jl

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
using SpecialFunctions, Documenter
2+
3+
makedocs(
4+
modules = [SpecialFunctions],
5+
clean = false,
6+
format = :html,
7+
sitename = "SpecialFunctions.jl",
8+
authors = "Jeff Bezanson, Stefan Karpinski, Viral B. Shah, et al.",
9+
pages = [
10+
"Home" => "index.md",
11+
"Functions" => "special.md",
12+
],
13+
)
14+
15+
deploydocs(
16+
repo = "https://github.com/JuliaMath/SpecialFunctions.jl.git",
17+
target = "build",
18+
deps = nothing,
19+
make = nothing,
20+
)

src/SpecialFunctions.jl

+50-46
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,56 @@ module SpecialFunctions
44

55
# On older versions these are exported from Base
66
# TODO: Uncomment me once these have been removed!
7-
# if VERSION >= v"0.6.0-dev.XXXX"
8-
# const openspecfun = "libopenspecfun"
9-
#
10-
# export
11-
# airyai,
12-
# airyaiprime,
13-
# airybi,
14-
# airybiprime,
15-
# airyaix,
16-
# airyaiprimex,
17-
# airybix,
18-
# airybiprimex,
19-
# besselh,
20-
# besselhx,
21-
# besseli,
22-
# besselix,
23-
# besselj,
24-
# besselj0,
25-
# besselj1,
26-
# besseljx,
27-
# besselk,
28-
# besselkx,
29-
# bessely,
30-
# bessely0,
31-
# bessely1,
32-
# besselyx,
33-
# dawson,
34-
# erf,
35-
# erfc,
36-
# erfcinv,
37-
# erfcx,
38-
# erfi,
39-
# erfinv,
40-
# eta,
41-
# digamma,
42-
# invdigamma,
43-
# polygamma,
44-
# trigamma,
45-
# hankelh1,
46-
# hankelh1x,
47-
# hankelh2,
48-
# hankelh2x,
49-
# zeta
50-
# else
51-
# const openspecfun = Base.Math.openspecfun
52-
# end
7+
#if VERSION >= v"0.6.0-dev.XXXX"
8+
# export
9+
# airyai,
10+
# airyaiprime,
11+
# airybi,
12+
# airybiprime,
13+
# airyaix,
14+
# airyaiprimex,
15+
# airybix,
16+
# airybiprimex,
17+
# besselh,
18+
# besselhx,
19+
# besseli,
20+
# besselix,
21+
# besselj,
22+
# besselj0,
23+
# besselj1,
24+
# besseljx,
25+
# besselk,
26+
# besselkx,
27+
# bessely,
28+
# bessely0,
29+
# bessely1,
30+
# besselyx,
31+
# dawson,
32+
# erf,
33+
# erfc,
34+
# erfcinv,
35+
# erfcx,
36+
# erfi,
37+
# erfinv,
38+
# eta,
39+
# digamma,
40+
# invdigamma,
41+
# polygamma,
42+
# trigamma,
43+
# hankelh1,
44+
# hankelh1x,
45+
# hankelh2,
46+
# hankelh2x,
47+
# zeta
48+
#end
49+
50+
# On older versions libopenspecfun is included in Base
51+
# TODO: Uncomment me once Base no longer ships with it!
52+
#if VERSION >= v"0.6.0-dev.XXXX"
53+
# const openspecfun = "libopenspecfun"
54+
#else
55+
const openspecfun = Base.Math.openspecfun
56+
#end
5357

5458
include("bessel.jl")
5559
include("erf.jl")

0 commit comments

Comments
 (0)