Skip to content

Commit

Permalink
Update JacobiElliptic.jl documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-chang committed Feb 20, 2024
1 parent 511529d commit 3441e97
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ JacobiElliptic is an implementation of Toshio Fukushima's algorithms for calcula

```@contents
Pages = [
"index.md",
"api.md"
]
```
14 changes: 7 additions & 7 deletions src/JacobiElliptic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function serf(y::T, m::T) where T
end

"""
``\\text{asn}(u\\|\\,m)=\\text{sn}^{-1}(u,m)``.
``\\text{asn}(u|\\,m)=\\text{sn}^{-1}(u,m)``.
Returns the inverse Jacobi Elliptic sn.
Expand All @@ -241,7 +241,7 @@ function asn(s::T, m::T) where T
end

"""
``\\text{acn}(u\\|\\,m)=\\text{cn}^{-1}(u,m)``.
``\\text{acn}(u|\\,m)=\\text{cn}^{-1}(u,m)``.
Returns the inverse Jacobi Elliptic cn.
Expand Down Expand Up @@ -305,7 +305,7 @@ function _F(φ::T, m::T) where T
end

"""
``F(\\varphi \\|\\, m) = \\int_0^{\\varphi}\\frac{d\\theta}{\\sqrt{1-m\\sin(\\theta)^2}}.``
``F(\\varphi |\\, m) = \\int_0^{\\varphi}\\frac{d\\theta}{\\sqrt{1-m\\sin(\\theta)^2}}.``
Returns the incomplete elliptic integral of the first kind.
Expand Down Expand Up @@ -479,7 +479,7 @@ end
#----------------------------------------------------------------------------------------

"""
``E(\\varphi\\|\\, m) = \\int_0^{\\varphi}d\\theta \\sqrt{1-m\\sin(\\theta)^2}.``
``E(\\varphi|\\, m) = \\int_0^{\\varphi}d\\theta \\sqrt{1-m\\sin(\\theta)^2}.``
Returns the incomplete elliptic integral of the second kind.
Expand Down Expand Up @@ -1022,7 +1022,7 @@ function _SD(u::T, m::T) where T
end

"""
``\\text{sn}(u\\|\\,m)=\\sin\\,\\text{am}(u,m)``, where ``\\text{am}(u|\\,m)=F^{-1}(u|\\,m)``
``\\text{sn}(u|\\,m)=\\sin\\,\\text{am}(u,m)``, where ``\\text{am}(u|\\,m)=F^{-1}(u|\\,m)``
is the Jacobi amplitude.
Returns the Jacobi Elliptic sn.
Expand All @@ -1041,7 +1041,7 @@ function sn(u::T, m::T) where T
end

"""
``\\text{cn}(u\\|\\,m)=\\cos\\,\\text{am}(u,m)``, where ``\\text{am}(u|\\,m)=F^{-1}(u|\\,m)``
``\\text{cn}(u|\\,m)=\\cos\\,\\text{am}(u,m)``, where ``\\text{am}(u|\\,m)=F^{-1}(u|\\,m)``
is the Jacobi amplitude.
Returns the Jacobi Elliptic cn.
Expand All @@ -1059,7 +1059,7 @@ function cn(u::T, m::T) where T
end

"""
``\\text{dn}(u\\|\\,m)=\\frac{d}{d u}\\,\\text{am}(u,m)``, where ``\\text{am}(u|\\,m)=F^{-1}(u|\\,m)``
``\\text{dn}(u|\\,m)=\\frac{d}{d u}\\,\\text{am}(u,m)``, where ``\\text{am}(u|\\,m)=F^{-1}(u|\\,m)``
is the Jacobi amplitude.
Returns the Jacobi Elliptic dn.
Expand Down

0 comments on commit 3441e97

Please sign in to comment.