Skip to content

Commit

Permalink
Merge 93fd457 into 8b0696d
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulXiCao committed Aug 24, 2019
2 parents 8b0696d + 93fd457 commit ab887d1
Show file tree
Hide file tree
Showing 7 changed files with 710 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ BinaryProvider = "≥ 0.5.0"
julia = "≥ 0.7.0"

[extras]
Polynomials = "f27b6e38-b328-58d1-80ce-0feddd5e7a45"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Test", "Polynomials"]
6 changes: 6 additions & 0 deletions docs/src/functions_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,10 @@ SpecialFunctions.beta
SpecialFunctions.logbeta
SpecialFunctions.logabsbeta
SpecialFunctions.logabsbinomial
SpecialFunctions.chebyshevT
SpecialFunctions.chebyshevU
SpecialFunctions.hermiteH
SpecialFunctions.laguerreL
SpecialFunctions.legendreP
SpecialFunctions.legendreQ
```
12 changes: 12 additions & 0 deletions docs/src/functions_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@ Here the *Special Functions* are listed according to the structure of [NIST Digi
| [`besselk(nu,z)`](@ref SpecialFunctions.besselk) | modified [Bessel function](https://en.wikipedia.org/wiki/Bessel_function) of the second kind of order `nu` at `z` |
| [`besselkx(nu,z)`](@ref SpecialFunctions.besselkx) | scaled modified Bessel function of the second kind of order `nu` at `z` |

## [Legendre and Related Functions](https://dlmf.nist.gov/14)
| Function | Description |
|:-------- |:----------- |
| [`chebyshevT(n,x)`](@ref SpecialFunctions.chebyshevT) | [Chebyshev polynomial of the first kind](https://en.wikipedia.org/wiki/Chebyshev_polynomials) ``T_n(x)`` |
| [`chebyshevU(n,x)`](@ref SpecialFunctions.chebyshevU) | [Chebyshev polynomial of the second kind](https://en.wikipedia.org/wiki/Chebyshev_polynomials) ``U_n(x)`` |
| [`hermiteH(n,x)`](@ref SpecialFunctions.hermiteH) | [Hermite polynomial](https://en.wikipedia.org/wiki/Hermite_polynomials) ``H_n(x)`` |
| [`laguerreL(n,x)`](@ref SpecialFunctions.laguerreL) | [Laguerre polynomial](https://en.wikipedia.org/wiki/Laguerre_polynomials) ``L_n(x)`` |
| [`legendreP(n,x)`](@ref SpecialFunctions.legendreP) | [Legendre polynomial](https://en.wikipedia.org/wiki/Legendre_polynomials) ``P_n(x)`` |
| [`legendreP(n,m,x)`](@ref SpecialFunctions.legendreP) | [Associated Legendre function of the first kind](https://en.wikipedia.org/wiki/Associated_Legendre_polynomials) ``P_n^{(m)}(x)`` |
| [`legendreQ(n,x)`](@ref SpecialFunctions.legendreQ) | [Legendre function of the second kind](https://en.wikipedia.org/wiki/Legendre_function#Legendre_functions_of_the_second_kind_(Qn)) ``Q_n(x)`` |
| [`legendreQ(n,m,x)`](@ref SpecialFunctions.legendreQ) | [Associated Legendre function of the second kind](https://en.wikipedia.org/wiki/Legendre_function#Associated_Legendre_functions_of_the_second_kind) ``Q_n^{(m)}(x)`` |


## [Elliptic Integrals](https://dlmf.nist.gov/19)
| Function | Description |
Expand Down
8 changes: 8 additions & 0 deletions src/SpecialFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ export
zeta,
sinint,
cosint,
chebyshevT,
chebyshevU,
hermiteH,
laguerreL,
legendreP,
legendreQ,
lbinomial

include("bessel.jl")
Expand All @@ -71,6 +77,8 @@ include("gamma_inc.jl")
include("betanc.jl")
include("beta_inc.jl")
include("deprecated.jl")
include("legendre.jl")


for f in (:digamma, :erf, :erfc, :erfcinv, :erfcx, :erfi, :erfinv,
:eta, :gamma, :invdigamma, :logfactorial, :lgamma, :trigamma, :ellipk, :ellipe)
Expand Down
Loading

0 comments on commit ab887d1

Please sign in to comment.